Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: configuring x2go on gentoo
Date: Tue, 02 Feb 2010 18:30:08
Message-Id: 128ccc221002021029g6fbfadcbo76ea7353d843f1a0@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: configuring x2go on gentoo by Valmor de Almeida
1 On Tue, Feb 2, 2010 at 9:37 AM, Valmor de Almeida <val.gentoo@×××××.com> wrote:
2 [snip]
3 >    users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper
4
5 There is a "%" missing at the beginning of the line above.
6
7 My x2go client/server is not working. It starts a session but
8 immediately kicks me out. This is what I see on the client side after
9 firing x2goclient (at this point I am only trying to open an xterm on
10 the server):
11
12 Can't load translator (:/x2goclient_en_us) !
13 Can't load translator (:/qt_en_US) !
14 Selected from list
15 normal
16 "export HOSTNAME && x2golistsessions"
17 host: "192.168.0.4"
18 ""
19 ""
20 exitCode: 0 status: 0
21 normal
22 "x2gostartagent 1280x1024 lan 16m-jpeg-9 unix-kde-depth_24 us
23 pc105/us 0 R xterm"
24 host: "192.168.0.4"
25 "50
26 f3bb191128995c903396a065e1b1d1da
27 5941
28 dealmeida-50-1265133894_stRxterm_dp24
29 30001
30 30002
31 30003
32 "
33 ""
34 exitCode: 0 status: 0
35 tunnel
36 normal
37 "mkdir ~/.pulse;echo "default-server=localhost:30002" >
38 ~/.pulse/client.conf"
39 host: "192.168.0.4"
40 tunnel
41 ""
42 ""
43 exitCode: 0 status: 0
44 normal
45 "setsid x2goruncommand 50 5941
46 dealmeida-50-1265133894_stRxterm_dp24 30002 /usr/bin/xterm nosnd R>&
47 /dev/null & exit"
48 host: "192.168.0.4"
49 ""
50 ""
51 exitCode: 0 status: 0
52 QProcess: Destroyed while process is still running.
53 QProcess: Destroyed while process is still running.
54 check command message
55 normal
56 "x2gocmdexitmessage dealmeida-50-1265133894_stRxterm_dp24"
57 host: "192.168.0.4"
58 "exec /usr/bin/xterm
59 "
60 ""
61 exitCode: 0 status: 0
62
63
64 On the server side, in the messages file I can't see what is wrong
65 (here is the beginning):
66
67 Feb 2 13:17:23 xeon0 sshd[7559]: Accepted keyboard-interactive/pam
68 for dealmeida from 192.168.0.200 port 37244 ssh2
69 Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session
70 opened for user dealmeida by (uid=0)
71 Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ;
72 PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper
73 listsessions xeon0
74 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for
75 user root by (uid=0)
76 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root
77 Feb 2 13:17:23 xeon0 su[7567]: Successful su for postgres by root
78 Feb 2 13:17:23 xeon0 su[7567]: + ??? root:postgres
79 Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session opened
80 for user postgres by (uid=0)
81 Feb 2 13:17:23 xeon0 su[7567]: pam_unix(su:session): session closed
82 for user postgres
83 Feb 2 13:17:23 xeon0 sshd[7559]: pam_unix(sshd:session): session
84 closed for user dealmeida
85 Feb 2 13:17:23 xeon0 sshd[7572]: Accepted keyboard-interactive/pam
86 for dealmeida from 192.168.0.200 port 37245 ssh2
87 Feb 2 13:17:23 xeon0 sshd[7572]: pam_unix(sshd:session): session
88 opened for user dealmeida by (uid=0)
89 Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ;
90 PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper
91 getdisplays xeon0
92 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for
93 user root by (uid=0)
94 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root
95 Feb 2 13:17:23 xeon0 su[7585]: Successful su for postgres by root
96 Feb 2 13:17:23 xeon0 su[7585]: + ??? root:postgres
97 Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session opened
98 for user postgres by (uid=0)
99 Feb 2 13:17:23 xeon0 su[7585]: pam_unix(su:session): session closed
100 for user postgres
101 Feb 2 13:17:23 xeon0 sudo: dealmeida : TTY=unknown ;
102 PWD=/home/dealmeida ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper
103 insertsession 50 xeon0 dealmeida-50-1265134643_stRxterm_dp24
104 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session opened for
105 user root by (uid=0)
106 Feb 2 13:17:23 xeon0 sudo: pam_unix(sudo:session): session closed for user root
107 Feb 2 13:17:23 xeon0 su[7599]: Successful su for postgres by root
108 Feb 2 13:17:23 xeon0 su[7599]: + ??? root:postgres
109 Feb 2 13:17:23 xeon0 su[7599]: pam_unix(su:session): session opened
110 for user postgres by (uid=0)
111 ........
112 ........
113
114
115 Any help appreciated. Thanks.
116
117 --
118 Valmor