X does not start for the main user, works for user2
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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??
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.
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.
[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 :-(
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 !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.