Page 1 of 1

Raspian Desktop

Posted: Sun May 15, 2016 8:57 am
by OldRolly
Hi to all,
when playing with my Raspberry 2 I entered the terminal command "startx" without knowing what happens. As a result, I am now facing a new desktop after booting, which asks me for a user name and a password - and suprisingly - only accepts the user "root" and nomore my user name "pi" as earlier.

As I found out I am now probably facing a new X Windows desktop which I didn't want to use.

How can I come back to my old desktop, which was most likely a GNOME desktop as I remember from the installation procedure?

Thanks a lot for any help!

Re: Raspian Desktop

Posted: Sun May 15, 2016 12:47 pm
by Rive
if you logged in 'startx' as root, then, see:

viewtopic.php?f=28&t=144894&p=955350&hi ... ty#p955350


FYI for future reference, If you want both pi and root login, then you need to enable the root password (otherwise, never startx as root).

enable:

Code: Select all

sudo passwd root
disable:

Code: Select all

sudo passwd -l root