rlsj
Posts: 36
Joined: Sun May 31, 2015 12:54 am

No startx for 2nd User

Sun May 31, 2015 1:19 am

Installed new RPi 2B today, using HDMI-DVI to 1920x1080 monitor, running Raspbian. Everything worked as specified, including the full monitor resolution, until after I added a second username. When I log in as the second user and key "startx," the screen blanks, "Wastebasket" appears in the upper left and the -- I guess you call it the "Start Bar" as in Windows, except here it's at the top -- Start Bar tries to appear but immediately disappears. It flickers in and out, causing the Wastebasket to jump up and down with each iteration, frequency about twice per second. The only way out of this condition is to power off.

I tried Googling for the answer but lots of messages concern startx. Has anyone else seen this problem?

Thanks for your attention.

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: No startx for 2nd User

Sun May 31, 2015 4:39 am

I can't help with the cause of the problem - I don't use a desktop on any of my Pis - but if you get in that situation you might be able to get out of it by pressing Ctrl + Alt + F2 which should switch you to a text login prompt. Then you can log in and see what is happening (maybe kill the desktop session from there). Ctrl + Alt + F7 should take you back to the desktop.

Look to see if there is anything in the file .xsession-errors in the user's home directory. You won't see the file with a normal "ls" command as a dot in front of the name makes it hidden, but you can still use "cat" or "less" on the file.

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: No startx for 2nd User

Sun May 31, 2015 7:12 am

Perhaps look at this thread. You will need to add your new user to some (or all) of the groups that are associated with the pi user.

rlsj
Posts: 36
Joined: Sun May 31, 2015 12:54 am

Re: No startx for 2nd User

Sun May 31, 2015 1:40 pm

"... Add the new user to the video group ..."

That solved it! Actually, I used usermod to add my second user to all the groups that pi knew about. Overkill? Maybe I'll sail blithely through the next didn't-belong-to-group pitfall.

Thank you very much, AndyD!

(If possible and if I could figure out how to do it, I would mark this problem as solved.)

Return to “Troubleshooting”