Talk:X without Display Manager
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 00:03, 7 December 2024 (UTC) :: Your reply ~~~~
Boot Parameter NOX
To determine whether to run X or not, I use the Grub/Lilo kernel boot option "nox". (ie. /boot/vmlinuz root=/dev/sda2 ro nox)
From here, I can use entries within /boot/grub2/grub.cfg to select whether to boot into a command line console or run Xorg/XFCE session.
Most often, I'm booting using the nox option and into command line console only. I then allow my ${HOME}/.bash_profile auto start programs (such as GNU Screen) and finally start DWM using by a pretyped "startx" on the command line.
I have a customized shared ${HOME}/.bash_profile, which checks for which $HOSTNAME it's being executed from and starts each process I need for a desktop session for that particular host/hostname. Checks the runlevel and decides whether to run startxfce4, etc. Atypically though, I use the boot nox option, and when nox option is not selected, the desktop manager handless desktop sessions.
Anyways, been awhile since I wrote or edited the ${HOME}/.bash_profile, or a while since I've used XFCE. So I'm pretty sure with nox, xdm is started here which means the startxfce4 within .bash_profile might be redundant. --Roger (talk) 22:11, 1 June 2013 (UTC)
TODO please describe how it will looks like. Is it usable?
Vitaly-zdanevich (talk) 10:33, 10 January 2020 (UTC)