From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NcM7r-0001Wb-S0 for garchives@archives.gentoo.org; Tue, 02 Feb 2010 17:01:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93F58E07DB; Tue, 2 Feb 2010 17:00:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EA0BE07DB for ; Tue, 2 Feb 2010 17:00:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EE1031B403C for ; Tue, 2 Feb 2010 17:00:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.08 X-Spam-Level: X-Spam-Status: No, score=-3.08 required=5.5 tests=[AWL=-0.481, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SwP627fL3vEh for ; Tue, 2 Feb 2010 17:00:50 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id F172D1B4015 for ; Tue, 2 Feb 2010 17:00:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NcM7L-0002Hc-HP for gentoo-user@gentoo.org; Tue, 02 Feb 2010 18:00:47 +0100 Received: from athedsl-378077.home.otenet.gr ([79.131.28.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 18:00:47 +0100 Received: from realnc by athedsl-378077.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 18:00:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: configuring x2go on gentoo Date: Tue, 02 Feb 2010 19:00:19 +0200 Organization: Lucas Barks Message-ID: References: <4B58D0D4.3050608@gmail.com> <4B67183B.8080904@gmail.com> <128ccc221002020637g26faf6cfm50ee14b1b533ff8d@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-378077.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 In-Reply-To: <128ccc221002020637g26faf6cfm50ee14b1b533ff8d@mail.gmail.com> Sender: news X-Archives-Salt: 1ce837f3-90db-4067-94f1-a2800737fb04 X-Archives-Hash: a825868238eb88b2ece1c398049c3aba On 02/02/2010 04:37 PM, Valmor de Almeida wrote: > On Mon, Feb 1, 2010 at 1:57 PM, Nikos Chantziaras wrote: >> On 02/01/2010 08:06 PM, Valmor de Almeida wrote: > [snip] >> >> Don't know about the server configuration on Gentoo. I only run the client >> on my Gentoo box. The server runs on a Debian machine and IIRC the > > Here are the steps I followed to configure and test the server. > > 1) emerge x2goserver (needed to rebuild the kernel with FUSE) > 2) following message from emerge of postgresql-8.1.11 did: > emerge --config =postgresql-8.1.11 > 3) /etc/init.d/postgresql start > 4) visudo and added > users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper > 5) run script to create database > cd /usr/share/x2go/script > ./x2gocreatebase.sh > 6) /etc/init.d/postgresql restart > 7) /etc/init.d/x2goserver start > > The /var/log/messages file is filled with > > Feb 1 17:45:56 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root > ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 > Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session opened for > user root by (uid=0) > Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session closed for user root > Feb 1 17:45:56 xeon0 su[3869]: Successful su for postgres by root > Feb 1 17:45:56 xeon0 su[3869]: + ??? root:postgres > Feb 1 17:45:56 xeon0 su[3869]: pam_unix(su:session): session opened > for user postgres by (uid=0) > Feb 1 17:45:57 xeon0 su[3869]: pam_unix(su:session): session closed > for user postgres > Feb 1 17:46:02 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root > ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 > Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session opened for > user root by (uid=0) > Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session closed for user root > Feb 1 17:46:02 xeon0 su[3880]: Successful su for postgres by root > Feb 1 17:46:02 xeon0 su[3880]: + ??? root:postgres > Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session opened > for user postgres by (uid=0) > Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session closed > for user postgres > > Any ideas on how to stop this? I get that too. I just ignore it though. If the messages bother you, I guess you can have syslog-ng filter them out. It would probably be cleaner to suppress them at their origin - that would be sudo and su - but I don't know how.