Permalink
Browse files

Change the --once syntax to -once to see if that is messing up the xs…

…erver initialization
  • Loading branch information...
Ken Moore
Ken Moore committed Oct 31, 2013
1 parent 6fede12 commit 65d5ce23a126d078db11933bce4087faf4422f59
Showing with 2 additions and 2 deletions.
  1. +1 −1 src-qt4/PCDM/PCDMd
  2. +1 −1 src-qt4/PCDM/src/main.cpp
View
@@ -45,5 +45,5 @@ while [ ! -e /var/run/nologin ]; do
# Start VNC
(sleep 10 ; $vnccmd >/var/log/vncserver 2>/var/log/vncserver) &
fi
- xinit "/usr/local/bin/PCDM-session --once" -- :0 +extension SECURITY -auth ${PCDMAUTHFILE} $XOPTS
+ xinit /usr/local/bin/PCDM-session -once -- :0 +extension SECURITY -auth ${PCDMAUTHFILE} $XOPTS
done
@@ -167,7 +167,7 @@ int main(int argc, char *argv[])
{
bool neverquit = TRUE;
bool runonce = FALSE;
- if(argc==2){ if( QString(argv[1]) == "--once"){ runonce = TRUE; } }
+ if(argc==2){ if( QString(argv[1]) == "-once"){ runonce = TRUE; } }
while(neverquit){
if(runonce){ neverquit = FALSE; }

0 comments on commit 65d5ce2

Please sign in to comment.