Re: [dev] running dwm from/with gnome

From: Timothy Rice <t.rice_AT_ms.unimelb.edu.au>
Date: Tue, 17 May 2016 10:45:19 +1000

Dear all,

There seems to be some confusion around xsessions etc, resulting in some
factual errors in one or two recent emails. The following might be useful:

http://unix.stackexchange.com/questions/47359/what-is-xsession-for

To summarise, .xsession is used as a custom script when starting X from a
display manager such as GDM. If you start X in this way, .xinitrc will
probably be ignored.

An .xinitrc is relevant if you're starting X without a display manager. If
you disable all your GDMs and LXDMs and SLiMs and the like, you'll be
offered a TTY when you boot. Logging into the TTY and running `startx` will
then run any instructions in your .xinitrc. In this case, .xsession should
be ignored.

I can't speak one way or the other for the .xsession file, but it is not
necessary for .xinitrc to be set executable. I use the TTY/startx approach
and my .xinitrc has mode 0600.


Kind regards,


Tim
Received on Tue May 17 2016 - 02:45:19 CEST

This archive was generated by hypermail 2.3.0 : Tue May 17 2016 - 02:48:11 CEST