On Sun, Oct 24, 2010 at 10:28, Daniel Baumann <dan...@debian.org> wrote: > severity 601235 normal > retitle 601235 xinit clashes with displaymanagers when using persistency > thanks > > On 10/24/2010 04:03 PM, David A. Bandel wrote: >> suggest changing to: >> >> if [ -s /etc/X11/default-display-manager ] >> then >> if [ ! "$(pidof $(cat /etc/X11/default-display-manager)" ] >> then >> startx >> fi >> else >> startx >> fi > > that doesn't account for those display managers that are, unfortunately, > not using /etc/X11/default-display-manager, such as slim. >
OK. Not one I was familiar with. Any others? Clearly, testing for $DISPLAY on tty1 doesn't work when X is running on tty7. Guess the test could just be for pidof /usr/bin/X David- -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlkti=lig98bwf2ej_dmi41rehnmpledkz8wx=qa...@mail.gmail.com