LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-11-2021, 01:04 PM   #1
Herve5
Member
 
Registered: Oct 2016
Location: Europe
Distribution: Debian & Ubuntu Mate
Posts: 107

Rep: Reputation: Disabled
X does not start for the main user, works for user2


I am on Debian testing, on a Lenovo P53 with an NVidia graphic card, on xfce.

(I know I shoundn't be on testing given my level, but I did this last year because at the time it seemed the only way to run the Nvidia card)

During the last system update, among lots of packages, there was a new set of Nvidia ones (and many other things). This resulted in my main user wrecking the windows manager (I hope this is the right vocabulary : no more window edges, no screen background, no way to move a window...)
In contrast, a backup 'user2', that I'm using now, just works fine.
So I imagined this was some hidden pref somewhere in user1 home that was broken -I don't know how.
But I tried diverse moves and changes from user2 to user1, with in principle the right chown -R along with them. All in all nothing worked, save that I'm probably more wrecked now than at the beginning...


Any advice on how to solve this, maybe comparing what with what betwen user1 and 2??


Thank you!!
Hervé
 
Old 03-11-2021, 03:55 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Check permissions and ownership of two files: /home/user1/.ICEauthority and /home/user1/.Xauthority. They should be owned by user1 and the user should have read and write permissions for them.
Code:
-rw------- 1 user1 user1 ... .ICEauthority
-rw------- 1 user1 user1 ... .Xauthority

Last edited by shruggy; 03-11-2021 at 03:58 PM.
 
Old 03-12-2021, 12:21 AM   #3
Herve5
Member
 
Registered: Oct 2016
Location: Europe
Distribution: Debian & Ubuntu Mate
Posts: 107

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Check permissions and ownership of two files: /home/user1/.ICEauthority and /home/user1/.Xauthority. They should be owned by user1 and the user should have read and write permissions for them.
Thank you Shruggy!

Alas, if I dare say, that's indeed the case...
Code:
 herve2@LinuxHerve:~$ ls -l /home/herve/.*
(...)
-rw-------  1 herve herve      4350 26 sept. 19:00  /home/herve/.ICEauthority
(...)
-rw-------  1 herve herve        55 11 mars  20:38  /home/herve/.Xauthority
-rw-------  1 herve herve        55 11 mars  15:08  /home/herve/.Xauthority.backup.20210311
(...)
[edit] I found something : I removed a folder named '.themes' that contained some fossil windows themes that I didn't use for 1 year, because I remembered this had brought trouble at the time. Then after two reboots (!) and 3 full minutes between log and desktop appearing... it looks like it works! -I'm going to reboot again, because if they repeat these 3mn are still quite a worry...
And indeed, after rebooting again, desktop is wrecked again. So... back to square one :-(

Last edited by Herve5; 03-12-2021 at 03:38 AM.
 
Old 03-15-2021, 04:21 AM   #4
Herve5
Member
 
Registered: Oct 2016
Location: Europe
Distribution: Debian & Ubuntu Mate
Posts: 107

Original Poster
Rep: Reputation: Disabled
Thumbs up [solved]

OK, I dealt with it the most basic way : bu ligging in with a separate, sudoer user2, from which I deleted ALL invisible prefs files in the faulty user1 home folder that had been modified since 24h ago.
Of course this trashed many prefs that I had to longly rebuild. But at least everything works, and run fast !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] user somehow deleted /home/user and /home/user2 the_penguinator Slackware 3 06-17-2014 08:17 PM
Redirect ~user1 to ~user2 JRobertBuchanan Linux - Server 1 08-26-2012 02:56 PM
Access remotely as user1 and execute command as user2 archieval Programming 3 07-18-2012 06:41 AM
Kinit user1 to authenticate for ssh user2 MikeyCarter Linux - Software 0 03-01-2011 11:48 AM
Postfix-Squirrelmail: Mail sent to user1@mydomain.com delivered to user2@mydomain.com tsouvalasi Linux - Server 4 02-26-2010 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration