On Tue, Feb 2, 2010 at 9:37 AM, Valmor de Almeida <val.gen...@gmail.com> wrote: [snip] > users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper
There is a "%" missing at the beginning of the line above. My x2go client/server is not working. It starts a session but immediately kicks me out. This is what I see on the client side after firing x2goclient (at this point I am only trying to open an xterm on the server): Can't load translator (:/x2goclient_en_us) ! Can't load translator (:/qt_en_US) ! Selected from list normal "export HOSTNAME && x2golistsessions" host: "192.168.0.4" "" "" exitCode: 0 status: 0 normal "x2gostartagent 1280x1024 lan 16m-jpeg-9 unix-kde-depth_24 us pc105/us 0 R xterm" host: "192.168.0.4" "50 f3bb191128995c903396a065e1b1d1da 5941 dealmeida-50-1265133894_stRxterm_dp24 30001 30002 30003 " "" exitCode: 0 status: 0 tunnel normal "mkdir ~/.pulse;echo "default-server=localhost:30002" > ~/.pulse/client.conf" host: "192.168.0.4" tunnel "" "" exitCode: 0 status: 0 normal "setsid x2goruncommand 50 5941 dealmeida-50-1265133894_stRxterm_dp24 30002 /usr/bin/xterm nosnd R>& /dev/null & exit" host: "192.168.0.4" "" "" exitCode: 0 status: 0 QProcess: Destroyed while process is still running. QProcess: Destroyed while process is still running. check command message normal "x2gocmdexitmessage dealmeida-50-1265133894_stRxterm_dp24" host: "192.168.0.4" "exec /usr/bin/xterm " "" exitCode: 0 status: 0 On the server side, in the messages file I can't see what is wrong (here is the beginning): Feb 2 13:17:23 xeon0 sshd[7559]: Accepted keyboard-interactive/pam for dealmeida from 192.168.0.200 port 37244 ssh2 Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session opened for user dealmeida by (uid=0) Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessions xeon0 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7567]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7567]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session closed for user postgres Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session closed for user dealmeida Feb 2 13:17:23 xeon0 sshd[7572]: Accepted keyboard-interactive/pam for dealmeida from 192.168.0.200 port 37245 ssh2 Feb 2 13:17:23 xeon0 sshd[7572]: pam_unix(sshd:session): session opened for user dealmeida by (uid=0) Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper getdisplays xeon0 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7585]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7585]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session opened for user postgres by (uid=0) Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session closed for user postgres Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ; PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper insertsession 50 xeon0 dealmeida-50-1265134643_stRxterm_dp24 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root Feb 2 13:17:23 xeon0 su[7599]: Successful su for postgres by root Feb 2 13:17:23 xeon0 su[7599]: + ??? root:postgres Feb 2 13:17:23 xeon0 su[7599]: pam_unix(su:session): session opened for user postgres by (uid=0) ........ ........ Any help appreciated. Thanks. -- Valmor