Monday, May 6, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 16860  / 1 Year ago, sat, january 7, 2023, 12:15:05

Well, not sure how I did it, but for some reason I am unable to get past the login screen on Xfce. What's odd is that I had set the machine up (from install) to login automatically. Then when I finish rebooting after installing



sudo apt-get install openssh-server



and



sudo apt-get install vnc4server



all the sudden I am getting prompted for my password. I proceed to type my password (successfully might I add) to login, the screen goes black for a second, then brings me right back to the same password prompt. I am able ssh in(now), but I get no love from workstation login. Maybe vnc4server is the culprit?



What did I do? And can I fix it?



EDIT:



The guest account, however will let me login no problem. What gives? I have a sneaking feeling that this could be permission issue.



EDIT 2:



Also, I did find this form (the exact same setup as I have with same symptoms), makes mention of the .Xauthority file needing to be delete. I don't mind trying things, but deleting stuff scares me a bit.


More From » login-screen

 Answers
4

Yep, turns out if you sudo vncserver, it jacks with the .Xauthority file under the /home/user directory. You are only supposed to start vncserver as a user.



Sooooo...



I did sudo chmod 777 /home/user/.Xauthority and there I am able to log in. I did come across some rather lousy literature on creating a new .Xauthority file, but I will dig further until I find something better.


[#37449] Monday, January 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gavgenerati

Total Points: 120
Total Questions: 126
Total Answers: 119

Location: Marshall Islands
Member since Wed, Feb 9, 2022
2 Years ago
;