Rich Freeman on 18 Apr 2014 06:50:17 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] two window managers


On Fri, Apr 18, 2014 at 9:38 AM, Gavin W. Burris <bug@wharton.upenn.edu> wrote:
> Watch out.  On different distributions you will alternately use
> ~/.xinitrc OR ~/.xsession as a user X startup script.  I know Fedora /
> Red Hat / CentOS use ~/.xsession for this.

This is what I was talking about regarding the confusing set of config
files for X11/etc.

My understanding is that xinitrc should always be used with startx,
and xsession should always be used with a display manager.  I was
under the impression that there was no display manager involved in
this case.

Gavin - are you using a display manager?  That is, when you start up
your system, does X11 show up and give you a login screen in X11, or
do you just get a text console, log in using *getty, and then run
startx?

Most desktop-oriented distros use a display manager, and they will
completely ignore your xinitrc as a result (well, unless you switch to
a text console and launch X again via startx so that you have two
displays running).  However, if you're using a display manager it
might be easier to get it to just launch twm - there may just be a
setting to allow this, or even some cross-distro FreeDesktop way of
doing it.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug