Gentoo Archives: gentoo-user-de

From: Chris Cohen <kildau-ml@×××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Remotedesktop für Low-Bandwith link
Date: Sun, 10 Feb 2008 12:55:05
Message-Id: 200802101355.31745.kildau-ml@gmx.de
In Reply to: Re: [gentoo-user-de] Remotedesktop für Low-Bandwith link by Jens Krahe
1 On Sunday 10 February 2008 12:40:02 Jens Krahe wrote:
2 > Am Sonntag, 10. Februar 2008 schrieb Chris Cohen:
3 > > Ich wollte nun nach dem Howto der gentoo-wiki vorgehen
4 >
5 > Dem Howto für die freenx Version? Vergiss das lieber ;)
6 >
7 > Das ebuild sollte für dich bereits nxserver --install aufgerufen haben.
8 > Der Aufruf mit den weiteren Option im Howto bezieht sich auf die freenx
9 > Version (wird auch beim emergen jener Version als Info ausgegeben).
10 >
11 Habs gerade beim re-emergen gesehen.
12
13 > Wenn SSH noch nicht läuft, dann checke noch dessen Config und starte den
14 > sshd. Dann noch nxserver starten und du solltest dich schon connecten
15 > können. Standardmäßig wird SSH+PAM für das Login benutzt werden. Du mußt
16 > mit nxserver also keine User hinzufügen.
17 >
18 Hmmm... ich habe eben erstmal Openssh mit pam kompiliert und konfiguriert.
19 Kann es sein, dass ich für nx passwort authentication in der sshd_config
20 einschalten muss? Wenn ich versuche mich mit dem nxclient zu verbinden
21 erhalte ich nur:
22
23 NX> 203 NXSSH running with pid: 26879
24 NX> 285 Enabling check on switch command
25 NX> 285 Enabling skip of SSH config files
26 NX> 285 Setting the preferred NX options
27 NX> 200 Connected to address: 10.1.16.10 on port: 22
28 NX> 202 Authenticating user: nx
29 NX> 208 Using auth method: publickey
30 NX> 204 Authentication failed.
31
32 Woraufhin ich in der sshd_config authorized_keys in authorized_keys2 geändert
33 habe. Jetzt bekomme ich nur noch Authentication failed for user myuser.
34 Also habe ich ein wenig in der knocklegendbase gescuht und
35 nxserver --checkuser myuser ausgeführt. Und nun steh' ich auf dem Schlauch :)
36
37 NX> 900 Verifying public key authentication for NX user: myuser.
38 NXSERVER - Version 3.1.0-4 - LFE
39 Sun Feb 10 13:51:11 2008 running as user: 'root' (uid: 0, pid: 27120)
40 on 'daisy'
41 Info: selected user 'myuser' is not authenticated no password available
42 (NXNodeExec)
43 Info: preferred auth method is 'publickey' (NXNodeExec)
44 Info: selected NX Node with host name '127.0.0.1', port '22' (NXNodeExec)
45 Info: selected publickey method to login NX Node (NXNodeExec)
46 Info: nxssh command line is '/usr/NX/bin/nxssh -nxservermode -l myuser
47 127.0.0.1 -p
48 22 -x -2 -i /usr/NX/etc/keys/node.localhost.id_dsa -o 'PubkeyAuthentication
49 yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication
50 no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication
51 no' -o 'StrictHostKeyChecking no' /usr/NX/bin/nxnode' (NXNodeExec)
52 Info: nxssh child pid is: 27124 (NXNodeExec)
53 Info: NX Node out channel was closed (NXNodeExec)
54 Info: Removing not recognized buffer from stdout:[] (NXNodeExec)
55 Info: received data in err channel from NX Node: 'Bad owner or permissions
56 on /home/myuser/.ssh/config
57 ' (NXNodeExec)
58 Info: NX Node err channel was closed (NXNodeExec)
59 Info: closing nxssh's in, out, err FDs (flagfinished is: 0) (NXNodeExec)
60 Error: no 'CONNECTED' message from NX Node (NXNodeExec)
61 NX> 595 ERROR: A fatal error occurred in NX Server.
62 NX> 595 ERROR: The exception id is: A73BF749. To get detailed information
63 about
64 NX> 595 ERROR: the error search for the string A73BF749 in the system log
65 NX> 595 ERROR: file (usually '/var/log/messages').
66 NX> 500 ERROR: Last operation failed.
67
68 /v/l/m meint:
69 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
70 (exception id BFD19829) Error: no 'CONNECTED' message from NX Node
71 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
72 (exception id BFD19829) Bad owner or permissions on /home/myuser/.ssh/config
73 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
74 (exception id BFD19829) NXNodeExec::exec('ping', '', 127.0.0.1,
75 22, 'myuser', 'publickey') called at handlers/nxserver.pl line 6850
76 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
77 (exception id BFD19829) NXShell::handler_user_checklogin('myuser') called at
78 NXShell.pm line 373
79 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
80 (exception id BFD19829) NXShell::handle_command('checklogin', 'myuser')
81 called at handlers/nxserver.pl line 6937
82 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
83 (exception id BFD19829) NXShell::handler_user_check('username', 'myuser')
84 called at NXShell.pm line 373
85 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
86 (exception id BFD19829)
87 NXShell::handle_command('checkuser', 'username', 'myuser') called at
88 nxserver.pl line 5160
89 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
90 (exception id BFD19829) main::parse_args called at nxserver.pl line 4392
91 2008-02-10 13:53:38 +01:00; daisy; user.info; NXSERVER-3.1.0-4[27147]: ERROR:
92 (exception id BFD19829) eval {...} called at nxserver.pl line 4389
93
94 --
95 Greetings
96 Chris
97 --
98 gentoo-user-de@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user-de] Remotedesktop für Low-Bandwith link Jens Krahe <kei.mailinglists@×××××.de>