Friday, October 3, 2008

Startup tweak: Start desktop at login

The X desktop can be set to start as soon as you log in from a tty prompt. Edit your bash profile with

nano -w .profile

and add these lines to the end:

if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then

Save and exit. At next log in, X should start straightaway. This will also work for other programs that you want to start at the console, at login.

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.