Re: [gdm-list] FailsafeXServer - gdm keeps restarting X



Bryce:

Do you need to run the xserver in the background by adding "&" to the
end, or does xinit return immediately?

Brian


Thanks, this feels like a step in the right direction, but even when
issuing the kill -USR1 $PPID it is still trying to restart the server.
Below is the failsafeXServer script I'm using; are you able to see the
same issue I do when running this?

Bryce

## failsafeXServer=failsafeExample
#!/bin/bash

client="/usr/bin/zenity"
clientargs="--warning --text HelloWorld "
server=/usr/bin/X
serverargs="$*"
if [ -z $serverargs ]; then
    serverargs=":0"
fi
serverargs="${serverargs} -br -once -config /etc/X11/xorg.conf.failsafe"

xinit $client $clientargs -- $server $serverargs &

sleep 5

kill -USR1 $PPID






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