how do I make XFCE porteus stop auto loading X at boot?

Post here if you are a new Porteus member and you're looking for some help.
Nimtpy
White ninja
White ninja
Posts: 5
Joined: 16 Jul 2012, 03:34
Location: Internet

how do I make XFCE porteus stop auto loading X at boot?

Post#1 by Nimtpy » 20 Jul 2012, 04:39

I would like to boot into just the command prompt but I can't figure out how.

I tried removing all the xfce boot codes but that didn't seem to change anything at all.

thanks!

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: how do I make XFCE porteus stop auto loading X at boot?

Post#2 by Ahau » 20 Jul 2012, 06:59

use the cheatcode for 'text mode', which is 'autoexec=telinit~3' (see /boot/porteus.cfg or /boot/syslinux/liloinst.sh for examples of how this cheatcode is used to boot to text mode when it is selected from the bootloader menu).

By default, porteus boots into init 4, which kicks off '/etc/rc.d/rc.4'. In conjunction with rc.M (which does the configuration part of sorting out which desktop to load), this script does its best to always load the user to a gui. It's worth noting that this is a difference from the standard 'linux-live' scripts that slax and many other live distros use. Slax boots to init 3 by default, and you have to use cheatcodes ('autoexec=telinit~4') to get into a gui.

That's a lot of words for a simple solution :)
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply