X-server number changed to 8293
This commit is contained in:
parent
53c6096e12
commit
d0d596453f
|
@ -15,7 +15,7 @@ FIFO_FILE=/tmp/.snail.fifo
|
||||||
if [ 0 -eq $? ]; then
|
if [ 0 -eq $? ]; then
|
||||||
echo "Running $@ on nVidia"
|
echo "Running $@ on nVidia"
|
||||||
export LD_LIBRARY_PATH=/usr/lib/snail
|
export LD_LIBRARY_PATH=/usr/lib/snail
|
||||||
snail.vglrun -d :1 "$@"
|
snail.vglrun -d :8293 "$@"
|
||||||
echo "Application $@ was performed on nVidia"
|
echo "Application $@ was performed on nVidia"
|
||||||
|
|
||||||
elif [ 0 -ne $INTEL_IF_FAIL ]; then
|
elif [ 0 -ne $INTEL_IF_FAIL ]; then
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
||||||
DAEMON=/usr/bin/X
|
DAEMON=/usr/bin/X
|
||||||
DAEMON_ARGS="-ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :1 vt9"
|
DAEMON_ARGS="-ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :8293 vt9"
|
||||||
PIDFILE=/var/run/snail-xserver.pid
|
PIDFILE=/var/run/snail-xserver.pid
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
|
|
@ -3,6 +3,6 @@ Description=Daemon to auto start/stop power up/down nVidia graphics.
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/bash -c '(nohup /usr/bin/X -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :1 vt9 &>/dev/null)&'
|
ExecStart=/bin/bash -c '(nohup /usr/bin/X -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :8293 vt9 &>/dev/null)&'
|
||||||
ExecStop=/usr/sbin/snail.nv_pwr_off
|
ExecStop=/usr/sbin/snail.nv_pwr_off
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
||||||
DAEMON=/usr/bin/X
|
DAEMON=/usr/bin/X
|
||||||
DAEMON_ARGS="-ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :1 vt9"
|
DAEMON_ARGS="-ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :8293 vt9"
|
||||||
PIDFILE=/var/run/snail-xserver.pid
|
PIDFILE=/var/run/snail-xserver.pid
|
||||||
|
|
||||||
# Get lsb functions
|
# Get lsb functions
|
||||||
|
|
Loading…
Reference in New Issue