> Here's what I do so that I don't have to care if there's another X
> session running.
> 
> DISPLAY=:$(echo $DISPLAY|cut -c 2).0 exec /usr/local/bin/wmii &
> DISPLAY=:$(echo $DISPLAY|cut -c 2).1 exec /usr/local/bin/wmii

Thanks. In which case could be more than one X session running?

Sometimes I use VNC - but in this case I would only have one display. I
guess my script (and probably yours too) would fail, because it will try
to start wmii twice.


Bye,
Uwe

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to