Hi Paul,
on Tue May 26 11:40:43 CEST 2009 you had this request to the x2go-dev list:
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.
have you already found a solution to this??? I experience the same
issue tried to look for a sudo hack to silence log file output but was
not successful...
Any ideas on this? Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Paul,
on Tue May 26 11:40:43 CEST 2009 you had this request to the x2go-dev list:
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! The x2goserver daemon isn't actually the server; it starts the x2gocleansessions daemon which cleans up after sessions in various states every five seconds as you note below. The actual connections to
On Tue, 2010-08-17 at 22:55 +0200, Mike Gabriel wrote: the server are all driven from the client via ssh by calling various scripts on the 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...
I posted a description of what the various parts of X2Go do to the list a while ago. It included a discussion of the session cleanup process if you would find that helpful.
With regards. Paul van der Vlis.
have you already found a solution to this??? I experience the same
issue tried to look for a sudo hack to silence log file output but was
not successful...Any ideas on this? Greets, Mike
We did not find a way to silence the logs and, in our case, it was even worse because we were doing LDAP lookups every five seconds for the postgres user. However, we did consolidate to a single, centralized database for all X2Go Servers. We also created a single cleanup daemon to clean up all X2Go Servers so that we didn't have hundreds of daemons all running every five seconds. We had the advantage that our X2Go Servers were built on VServers to the cleanup up script has direct access to the file systems on all the X2Go Servers. The routine could probably be easily hacked to provide the same access via SSH and use a single cleanup daemon. I posted the patches and documentation a while ago.
I have some more changes to post which refine it but have not had the time to document and post them. If someone does have the time, the patches should really be rewritten to be configurable options. As I posted them, they are a rip and replace patch - almost more of a fork which is the last thing on Earth I want to do . . . well . . . almost the last thing ;-) - John
Hi John,
On Di 17 Aug 2010 23:08:41 CEST "John A. Sullivan III" wrote:
Hi Paul,
on Tue May 26 11:40:43 CEST 2009 you had this request to the x2go-dev list:
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! The x2goserver daemon isn't actually the server; it starts the x2gocleansessions daemon which cleans up after sessions in various states every five seconds as you note below. The actual connections to
On Tue, 2010-08-17 at 22:55 +0200, Mike Gabriel wrote: the server are all driven from the client via ssh by calling various scripts on the 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...
I posted a description of what the various parts of X2Go do to the list a while ago. It included a discussion of the session cleanup process if you would find that helpful.
With regards. Paul van der Vlis.
have you already found a solution to this??? I experience the same issue tried to look for a sudo hack to silence log file output but was not successful...
Any ideas on this? Greets, Mike
We did not find a way to silence the logs and, in our case, it was even worse because we were doing LDAP lookups every five seconds for the postgres user. However, we did consolidate to a single, centralized database for all X2Go Servers. We also created a single cleanup daemon to clean up all X2Go Servers so that we didn't have hundreds of daemons all running every five seconds. We had the advantage that our X2Go Servers were built on VServers to the cleanup up script has direct access to the file systems on all the X2Go Servers. The routine could probably be easily hacked to provide the same access via SSH and use a single cleanup daemon. I posted the patches and documentation a while ago.
I have some more changes to post which refine it but have not had the time to document and post them. If someone does have the time, the patches should really be rewritten to be configurable options. As I posted them, they are a rip and replace patch - almost more of a fork which is the last thing on Earth I want to do . . . well . . . almost the last thing ;-) - John
Thanks for keeping the x2go contribution topic alive.
I am thinking of providing VC space for uploading x2go patches. This
could help to make patches more browseable, maybe...
Repeating the contribution ping to the developers...
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Am 20.08.2010 09:27, schrieb Mike Gabriel:
Thanks for keeping the x2go contribution topic alive.
I am thinking of providing VC space for uploading x2go patches. This could help to make patches more browseable, maybe...
Repeating the contribution ping to the developers...
Greets, Mike
Hello again,
I've forgotten to mention that the time arround august in germany is often used for vacation. So we'll continue with our work "giving you access to our git" soon. Some of the discussions of some weeks ago are still forcing us to focus on "paperwork". Maybe it'll too needed to give the project a new name... - I'll keep you updated.
Best regards,
Heinz
Hi Heinz,
On So 22 Aug 2010 15:28:45 CEST "Heinz-M. Graesing" wrote:
Am 20.08.2010 09:27, schrieb Mike Gabriel:
Thanks for keeping the x2go contribution topic alive.
I am thinking of providing VC space for uploading x2go patches.
This could help to make patches more browseable, maybe...Repeating the contribution ping to the developers...
Greets, Mike
Hello again,
I've forgotten to mention that the time arround august in germany is
often used for vacation. So we'll continue with our work "giving you
access to our git" soon.
Welcome back!!!
Some of the discussions of some weeks ago are still forcing us to
focus on "paperwork".
???
Maybe it'll too needed to give the project a new name... - I'll keep
you updated.
I have probably not been on the list for long enough to understand
this hint. Can anyone point me to postings explaining what Heinz
refers to?
light+love, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Am 22.08.2010 20:00, schrieb Mike Gabriel:
Hi Heinz,
Maybe it'll too needed to give the project a new name... - I'll keep you updated.
I have probably not been on the list for long enough to understand this hint. Can anyone point me to postings explaining what Heinz refers to?
Hello Mike,
nothing to worry about and nothing that was postet to the list. The name "x2go" is claimed by 2 other people (one of both is not interested in the *org domain). Furthermore I had to answer a letter regarding the "gpl violation charge" found in our list (as it was "found" it is not "initiated" by anyone on this list!). This all took some time, though it will not compromise the development of this project.
Regards,
Heinz
Mike Gabriel schreef:
Hi Paul,
on Tue May 26 11:40:43 CEST 2009 you had this request to the x2go-dev list:
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.
have you already found a solution to this??? I experience the same issue tried to look for a sudo hack to silence log file output but was not successful...
No sorry, I have not found a solution.
I think it would be easy to run x2gocleansessions as root to avoid the auth.log mess-up, but maybe there is a better way.
Met vriendelijke groet, Paul van der Vlis.