
Dear all, I am rather new to "manually" setting up a desktop environment, so please bear with me. I would like to be able to boot my system straight into xmonad, without having to have any particular desktop environment installed. Currently, I run LXDE and am able to choose xmonad as my wm, but LXDE is of course still present, and I would like to be rid of it. My goal is a "clean system" based only around xmonad and any other packages I need to get it running. How could I accomplish this? What config files would I have to fiddle with to get it running, and what other packages would I need apart from xmonad? Thanks in advance to everyone! Best, Chris

Quoting Christopher Svanefalk
I would like to be able to boot my system straight into xmonad, without having to have any particular desktop environment installed. Currently, I run LXDE and am able to choose xmonad as my wm, but LXDE is of course still present, and I would like to be rid of it.
The right place to look is in the documentation for your display manager. Some popular ones include gdm, kdm, xdm, slim, or none at all (e.g. just using startx). Use pgrep or poke around in your list of services started at boot-time to figure out which one you're using. If you have trouble, post what you've discovered here and somebody who uses that same manager may be able to help. ~d

On Mon, Sep 19, 2011 at 10:50:17AM +0200, Christopher Svanefalk wrote:
Dear all,
I am rather new to "manually" setting up a desktop environment, so please bear with me.
I would like to be able to boot my system straight into xmonad, without having to have any particular desktop environment installed. Currently, I run LXDE and am able to choose xmonad as my wm, but LXDE is of course still present, and I would like to be rid of it. My goal is a "clean system" based only around xmonad and any other packages I need to get it running.
How could I accomplish this? What config files would I have to fiddle with to get it running, and what other packages would I need apart from xmonad?
This is what I do. I just run xmonad from my ~/.xinitrc which is run by X on startup. I do not have a display manager running; when my computer boots up it just drops me into a shell prompt, and from there I type 'startx' which starts X and xmonad. Using a display manager so you boot directly into xmonad is not too hard either. -Brent

(Brent, sorry for initially sending this to your private mail instead of the
list, my mistake!)
Thanks to both of you for the kind replies!
Alright, having learnt a bit more about the system, I was thinking this: I
could just run the standard GDM (long history, low dependencies), and then
run xmonad through it. However, I need to resolve how to get the system to
automatically run GDM after booting? Is there a config file I can hack to
accomplish this?
Thanks in advance!
On Mon, Sep 19, 2011 at 9:47 PM, Brent Yorgey
Dear all,
I am rather new to "manually" setting up a desktop environment, so please bear with me.
I would like to be able to boot my system straight into xmonad, without having to have any particular desktop environment installed. Currently, I run LXDE and am able to choose xmonad as my wm, but LXDE is of course still present, and I would like to be rid of it. My goal is a "clean system"
On Mon, Sep 19, 2011 at 10:50:17AM +0200, Christopher Svanefalk wrote: based
only around xmonad and any other packages I need to get it running.
How could I accomplish this? What config files would I have to fiddle with to get it running, and what other packages would I need apart from xmonad?
This is what I do. I just run xmonad from my ~/.xinitrc which is run by X on startup. I do not have a display manager running; when my computer boots up it just drops me into a shell prompt, and from there I type 'startx' which starts X and xmonad. Using a display manager so you boot directly into xmonad is not too hard either.
-Brent
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Christopher Svanefalk [2011.09.19 2244 +0200]:
(Brent, sorry for initially sending this to your private mail instead of the list, my mistake!)
Thanks to both of you for the kind replies!
Alright, having learnt a bit more about the system, I was thinking this: I could just run the standard GDM (long history, low dependencies), and then run xmonad through it. However, I need to resolve how to get the system to automatically run GDM after booting? Is there a config file I can hack to accomplish this?
Thanks in advance!
How to do this depends on your OS/distro. Some distros have an init script to start the display manager. Other distros prefer to add the display manager as an entry in /etc/telinit and distinguish between running the window manager or not by altering the runlevel of the system. The documentation available for your distro should provide the necessary information. Cheers, Norbert

Quoting Christopher Svanefalk
Alright, having learnt a bit more about the system, I was thinking this: I could just run the standard GDM (long history, low dependencies), and then run xmonad through it. However, I need to resolve how to get the system to automatically run GDM after booting? Is there a config file I can hack to accomplish this?
On my desktop, this is /etc/inittab. There's a line like this towards the end: x:5:respawn:/usr/sbin/gdm -nodaemon YMMV, of course, especially if you're using upstart instead of sysvinit. ~d

I have the following lines in my .profile, works perfectly: if [ "`tty`" = /dev/tty1 ] && [ -z "$DISPLAY" ]; then startx logout fi A bit better than running startx off the shell IMO :) -- Džen On 19/09/2011 21:47, Brent Yorgey wrote:
On Mon, Sep 19, 2011 at 10:50:17AM +0200, Christopher Svanefalk wrote:
Dear all,
I am rather new to "manually" setting up a desktop environment, so please bear with me.
I would like to be able to boot my system straight into xmonad, without having to have any particular desktop environment installed. Currently, I run LXDE and am able to choose xmonad as my wm, but LXDE is of course still present, and I would like to be rid of it. My goal is a "clean system" based only around xmonad and any other packages I need to get it running.
How could I accomplish this? What config files would I have to fiddle with to get it running, and what other packages would I need apart from xmonad?
This is what I do. I just run xmonad from my ~/.xinitrc which is run by X on startup. I do not have a display manager running; when my computer boots up it just drops me into a shell prompt, and from there I type 'startx' which starts X and xmonad. Using a display manager so you boot directly into xmonad is not too hard either.
-Brent

On 2011-09-20 16:01 UT, Džen
participants (6)
-
Brent Yorgey
-
Christopher Svanefalk
-
Džen
-
Norbert Zeh
-
Philipp Haselwarter
-
wagnerdm@seas.upenn.edu