Disable the GUI


Forum: X and Fluxbox
Topic: Disable the GUI
started by: PhrozenFear

Posted by PhrozenFear on Jan. 16 2005,06:36
But here's the deal.

I'm trying to make myself a server / linux Demo thingamajigger, and the target machine to run this only has 256 RAM.  So, to make things easier on the ramload, (and without having to make a swapfile on his HD, or repartition the thing to have more room), I was hoping that there was a way to disable the gui right from the remastering.  Then again, I need to remember how to remaster again... But that's another story.


Is there any nice, easy way I can do this, so that I can plug the CD in, hit power, and then go back to the demo, without having to manually load it and exit from the GUI ?

Please and thanks.

Posted by mikshaw on Jan. 16 2005,06:57
Yep...just remove 'startx' from /home/dsl/.bash_profile
Posted by goldenratiophi on Jan. 16 2005,23:20
Or, if you are booting from a CD, at the boot prompt, type  "dsl 2" along with any other options.  This boots into runlever 2 (text-only).

Disabling the GUI isn't 'weird.'  I'm in text-only mode right now because I don't have a need for graphics right now.  Also, servers often don't even have GUI installed.

Posted by mikshaw on Jan. 17 2005,01:47
That works too, but runlevel 2 is root access, unless you 'su dsl' after logging in.
Personally I dislike being root unless absolutely necessary.

Posted by PhrozenFear on Jan. 17 2005,13:13
Since this is going to be a server, I'd prefer to not have it installed in the first place, but I need to figure out how to do that anyway.

I'm still tryin' to learn this thing again, so pardon my n00bishness.

Posted by mikshaw on Jan. 17 2005,19:17
If you'd prefer not to have it installed, you'd have to either remaster the CD for liveCD/frugal use, or carefully remove the programs by hand (and make any necessary configuration edits) if you're running DSL as a full install from hard drive.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.