Hello,
After installing X2go I see my auth.log is growing.
I see this:
May 25 06:53:22 server sudo: root : TTY=unknown ; PWD=/ ; USER=root
; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot server
May 25 06:53:22 server su[17628]: Successful su for postgres by root
May 25 06:53:22 server su[17628]: + ??? root:postgres
May 25 06:53:22 server su[17628]: pam_unix(su:session): session opened
for user postgres by (uid=0)
May 25 06:53:22 server su[17628]: pam_unix(su:session): session closed
for user postgres
May 25 06:53:23 server CRON[16311]: pam_unix(cron:session): session
closed for user root
May 25 06:53:28 server sudo: root : TTY=unknown ; PWD=/ ; USER=root
; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot server
(...)
I did a "/etc/init.d/x2goserver stop" and that helps.
And I can still login on the X2go server!
I see it is checking the database, but I don't understand why exactly.
Is it really necessary to do this every 5 seconds?
echo "select agent_pid, session_id, display, server, status,
to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,
sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,
to_char(now()-init_time,'SSSS'),fs_port from sessions
where server='$2' order by status desc;"|psql -t x2go_sessions
;;
I saw you can change the sleep-time (5 seconds) in this script:
/usr/sbin/x2gocleansessions
but I am not sure this is a good idea...
With regards.
Paul van der Vlis.
--
http://www.vandervlis.nl/