mxchi
Posts: 6
Joined: Sun Oct 21, 2012 5:13 pm

Auto graphic login screen

Mon Nov 12, 2012 11:23 am

Hi I am new to Linux, I hope somebody can help me on this issue.

Yesterday after I reinstalled the lightdm, after reboot, my raspberrypi begin to display a graphic interface for login instead of the commandline console.

Can any body tell me how to set this back? I prefer to use it in a command line mode.

Thanks a lots

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: Auto graphic login screen

Mon Nov 12, 2012 9:50 pm

Try the command:

Code: Select all

sudo update-rc.d lightdm disable
This will tell Debian not to start LightDM automatically on boot. You can start in manually from the command line with:

Code: Select all

sudo service lightdm start

User avatar
Super-Nathan
Posts: 67
Joined: Sun Jun 17, 2012 6:56 am
Location: South Korea
Contact: Website

Re: Auto graphic login screen

Tue Nov 13, 2012 1:45 am

hunternet93 wrote:Try the command:

Code: Select all

sudo update-rc.d lightdm disable
This will tell Debian not to start LightDM automatically on boot. You can start in manually from the command line with:

Code: Select all

sudo service lightdm start
You can also start a graphical session from the console with:

Code: Select all

startx
echo "Something Useful" > /dev/null

hunternet93
Posts: 336
Joined: Mon Dec 12, 2011 4:34 pm

Re: Auto graphic login screen

Tue Nov 13, 2012 3:48 am

Super-Nathan wrote:
hunternet93 wrote:Try the command:

Code: Select all

sudo update-rc.d lightdm disable
This will tell Debian not to start LightDM automatically on boot. You can start in manually from the command line with:

Code: Select all

sudo service lightdm start
You can also start a graphical session from the console with:

Code: Select all

startx
Yup. The only difference is that "sudo service lightdm start" uses LightDM as the desktop manger, so you can log in as different users and you can logout without killing the GUI and dropping back to console, with "startx" you start the X desktop of whoever you're logged in as. There isn't a specific "right way" to do it, it just depends on what you want.

Return to “Beginners”