Bug#601235: live-config: 012-xinit script clash with display manager
On Sun, Oct 24, 2010 at 10:28, Daniel Baumann <email@example.com> wrote:
> severity 601235 normal
> retitle 601235 xinit clashes with displaymanagers when using persistency
> On 10/24/2010 04:03 PM, David A. Bandel wrote:
>> suggest changing to:
>> if [ -s /etc/X11/default-display-manager ]
>> if [ ! "$(pidof $(cat /etc/X11/default-display-manager)" ]
> 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
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
Visit my blog at: http://www.pananix.com/cgi-bin/blosxom