LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Booting debian without starting a desktop (https://www.linuxquestions.org/questions/linux-newbie-8/booting-debian-without-starting-a-desktop-902236/)

ahoeffner 09-10-2011 12:34 AM

Booting debian without starting a desktop
 
When booting my debian i always get a desktop. It seems runlevel 2-5 is exactly the same.

/Alex

knudfl 09-10-2011 02:12 AM

Quote:

It seems runlevel 2-5 is exactly the same
Well, Debian has run level 2 by default.


Disable gdm : Edit /etc/X11/default-display-manager :
from : /usr/bin/gdm , to : false

#27 http://www.linuxquestions.org/questi...635/page2.html

http://linux.derkeiler.com/Mailing-L.../msg02709.html
..

ahoeffner 09-10-2011 02:41 AM

Quote:

Originally Posted by knudfl (Post 4467927)
Well, Debian has run level 2 by default.


Disable gdm : Edit /etc/X11/default-display-manager :
from : /usr/bin/gdm , to : false

#27 http://www.linuxquestions.org/questi...635/page2.html

http://linux.derkeiler.com/Mailing-L.../msg02709.html
..

Thanks

frankbell 09-10-2011 09:26 PM

Debian by default sets all multi-user runlevels to invoke the GUI.

What I did was get sysv-rc-conf and configure runlevel 3 not to start the gdm. It's in the repos.

I then needed to create a .xinitrc file in your /home/[username] directory for startx to start properly.

My .xinitrc contains one line:

Code:

exec startfluxbox
It worked for me.


All times are GMT -5. The time now is 04:26 PM.