justinbaron
Posts: 5
Joined: Sat Jun 16, 2012 8:44 am

Problem with logging into Debian GUI for the first time

Sat Jun 16, 2012 9:03 am

I have sucessfully installed Debian changed the passwords and set it run the GUI and retarted.

Debian then runs (pretty blue screen with giant Login:). I click on the Login name and am presented with a dialogue to enter my password. However, when I type in my password it just takes me back to the initial screen.

I am REALLY sure I am getting my password right.

Any thoughts?

Thanks!

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 12:35 am

Other people have reported that sometimes their keyboard works fine in the text-mode console, but after they start up the GUI the keyboard becomes unreliable. Suggested fix is to try a simpler (lower power) keyboard, or a better (higher power) PSU.

justinbaron
Posts: 5
Joined: Sat Jun 16, 2012 8:44 am

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 8:24 am

Many thanks.

I can't imagine there is a simpler keyboard on the market.

When you say a higher power PSU do you mean one that can draw a higher wattage ? Presumable the voltage must remain the same ?

Justin


bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 1:44 pm

There is a fault in the settings for the Gnome display Manager. See the fix at
http://elinux.org/R-Pi_Troubleshooting# ... y_password

You will need to return to runlevel 2 to login and fix this problem, or you could login with ssh, or you could try this fix...

Connect the SD card to a PC (Windows/Linux/OSX) and create a file on the 70MB partition named boot.sh containing the following...
gconftool-2 --type bool --set /apps/gksu/sudo-mode true

If the file boot.sh already exists, just add the above line.

Insert the SD card in the RPi and boot up.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 4:09 pm

bredman: doesn't that fix only affect gksu though, not the initial login as reported by the OP? :|

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 5:13 pm

AndrewS wrote:bredman: doesn't that fix only affect gksu though, not the initial login as reported by the OP? :|
It is a bit of a long shot. I regularly login at runlevel 5 and I have already applied the fix to gksu, I haven't tested it myself witout the gksu fix.

I mentioned it becaue nobody else seemed to notice that the OP was logging in at runlevel 5. Obviously he has already succeeded to login at runlevel 2 to be able to change the system in the first place. The GUI login shows stars for the password, so this avoids most of the problems with keyboards which are dead or repeat keys.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 6:07 pm

Good point.
Justin, can you try switching to a different Virtual Console using Ctrl-Alt-F2 and see if you can still login that way? Press Ctrl-Alt-F7 if you want to get back to the GUI screen.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Problem with logging into Debian GUI for the first time

Mon Jun 18, 2012 6:44 pm

This doesn't exactly fix your problem, but it will get you past the password entry so that you can troubleshoot the problem.

Edit the file /etc/gdm/gdm.conf to add the following after [daemon], this will auto-login the user pi without a password.
AutomaticLoginEnable=true
AutomaticLogin=pi

Of if you prefer to do it from the command line, enter the commands...
sudo sed -i "/\[daemon\]/aAutomaticLogin=pi" /etc/gdm/gdm.conf
sudo sed -i "/\[daemon\]/aAutomaticLoginEnable=true" /etc/gdm/gdm.conf

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 37 guests