Safixk
Posts: 5
Joined: Fri Mar 08, 2013 2:56 am

[Solved] Starting in Desktop Mode... Massive problems

Fri Mar 08, 2013 3:12 am

Hello RPi'ers,
I have run into a quite puzzling problem. I was fiddling around with the raspi-config settings, and I decided that I'd try running my RPi once with boot_behaviour set on Desktop Mode. and upon re-booting, I've come across the problem that instead of going directly to my Desktop, as "startx" would usually do once you're logged in. It instead gave me the Login GUI itself, where I am prompted to input an username and password. I have tried every possible combination into that login box (nothing works - apart from what you're about to read), upon trying the default login "Pi", "Raspberry", it goes back to command line for a split second, and immediately returns and prompts me to the Login GUI again. I realize that the easiest way to get around this is to remove the SD card, and re-burn it. Here's the catch. I cannot remove the SD card out of my RPi. My Pi was one of the few were the corner of the SD card was broken, and instead of sending it back, I managed to get a DIY solution to it, but I rather not take my chances... So, is there any way to fix this annoying problem? Is there a way to get into the SD card data and edit it, or get to a command line someway somehow without removing the SD card? I have not tried SSH'ing into the RPi, mostly because I'm not sure how to. If the solution truly is SSH'ing into the Pi, could you point me toward a tutorial of sorts that can walk me through this process without any mistakes?
Thanks,
Safixk
Last edited by Safixk on Fri Mar 08, 2013 5:02 pm, edited 1 time in total.

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: Starting in Desktop Mode... Massive problems

Fri Mar 08, 2013 9:30 am

I have never tried this but if you hold down the Shift key you should be able to boot to a prompt. If so you could re run sudo raspi-config and disable the desktop. You also posted the username as Pi not sure if typo but it's pi lowercase same with raspberry.

If you can get the IP address of the Pi (Typically if you can login to your modem or router it should show a list of connected devices hopefully)

Once you get the IP address of the Pi on Windows you would use Putty put in the IP address (you would need ssh enabled on the Pi I think it's on by default so shouldn't be an issue unless you disabled it)

Put that into Putty and connect enter pi and raspberry and run sudo raspi-config that way rebooot and all should be ok)

Link to Putty Downloads:

http://www.chiark.greenend.org.uk/~sgta ... nload.html
Last edited by malakai on Fri Mar 08, 2013 9:31 am, edited 1 time in total.
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

DBryant
Posts: 281
Joined: Sat Feb 02, 2013 12:41 pm
Location: Berkshire, UK

Re: Starting in Desktop Mode... Massive problems

Fri Mar 08, 2013 9:30 am

Well the login credentials via ssh would be the same as the GUI screen so its no magic bullet.

Have you used ssh before? Do you have access to a Windoze or Linux machine that can connect to the Pi (at least in principal).

If Windoze you will have to install Putty, or some other ssh client - personally I used Cygwin, but hat might be overkill for your purposes, or not, depends on where you're going I guess. Maybe you have Putty already? If so, run it, select an ssh session and try connecting.

If Linux, login into it and run ssh, use the IP address of the Pi on the command line as in :

Code: Select all

ssh pi@192.168.1.101
replace the IP with yours, this will at least circumnavigate any name resolution issues. If you're confident of the name then use it. The same applies if you are using Putty. And it you get in then you can investigate the issue, maybe the keyboard is not initialised correctly for the GUI, but at least you'll be sure of the log-in credentials.

Safixk
Posts: 5
Joined: Fri Mar 08, 2013 2:56 am

Re: [Solved] Starting in Desktop Mode... Massive problems

Fri Mar 08, 2013 5:03 pm

Thanks for the help.
I initially had some problems with SSH'ing, but all it took was a few minutes, and my RPi was working like before.

Return to “Troubleshooting”