Bug#601235: live-config: 012-xinit script clash with display manager
On Sun, Oct 24, 2010 at 10:28, Daniel Baumann <daniel@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
Reply to: