• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] openSUSE 13.1: FreeNX kein Erfolg bei config!

a017886

Newbie
Hallo liebe Fans des remotedesktops,

ich versuche i.R. einer Neuinstallation (13.1) mal vom fehlerhaften (keyboard!!) please_try_again repo wegzukommen und FreeNX (Server) von der offiziellen Quelle X11:/RemoteDesktop/ zu nehmen. Die clients würde ich gerne von NoMachine belassen (aus Kompatibilitätsgründen win / LINUX)
  • FreeNX-0.7.3-1.1.i586 (= Server)
    nxclient-3.5.0-7.i386 (= client)
Leider klappt die Konfiguration der Desktopumgebung überhaupt nicht! - Ich kriege keine Verbindung!
Die Authentifizierungsprobleme in
Code:
/etc/ssh/sshd_config
mit
Code:
AuthorizedKeysFile	.ssh/authorized_keys2
sind gelöst - die Authentifizierung scheint zu klappen.
Vor dem Aufbau des Fensters ( ... Establishing the ...) kommt die Fehlermeldung "Session failed":
Code:
NXPROXY - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '3771'.
Session: Starting session at 'Tue Apr 22 19:59:30 2014'.
Warning: Connected to remote version 3.4.0 with local version 3.5.0.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-cde'. Assuming agent session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method 'adaptive-9' with session 'unix-cde'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Forwarding X11 connections to display ':0.0'.
Info: Forwarding multimedia connections to port '6000'.
Info: Listening to font server connections on port '11001'.
Session: Session started at 'Tue Apr 22 19:59:30 2014'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.
Session: Terminating session at 'Tue Apr 22 19:59:30 2014'.
Session: Session terminated at 'Tue Apr 22 19:59:30 2014'.
Hat schon mal jemand diese Version zum laufen gebracht?

Die ganze Sache wird jetzt sowieso interessant (2014) wegen der closed source Umstellung von NoMachine.
http://wiki.ubuntuusers.de/NX
 

spoensche

Moderator
Teammitglied
Code:
Connected to remote version 3.4.0 with local version 3.5.0.

Möglicherweise liegt das Problem hier. Was sagen den die Logs auf dem Server?
 
OP
A

a017886

Newbie
Danke für die schnelle Antwort! - Das ist meine frische /var/log/nxserver.log (log-Level 6):
Der Fehler
... Server capacity: not reached ...
hört sich zwar nach der alten timeout - Sache an, ich habe aber sleep 3 in die /usr/bin/nxnode eingefügt, wie hier
http://en.opensuse.org/SDB:FreeNX_server
baschrieben.
Der Desktop ist übrigens LXDE (deshalb unix-cde).

Code:
cat /var/log/nxserver.log

-- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
-- NX SERVER START:  - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: xt
NX> 102 Password: 
Info: Auth method: ssh Password:
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: lnxsrv173 user: xt
NX> 105 listsession --user="xt" --status="suspended,running" --geometry="1920x1080x24+render" --type="unix-cde"
NX> 127 Sessions list of user 'xt' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: xt
NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="1" --mediahelper="esd" --session="87.173" --type="unix-cde" --geometry="1440x900+240+77" --client="linux" --keyboard="pc102/de" --screeninfo="1440x900x24+render" 

&link=lan&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=1&mediahelper=esd&session=87.173&type=unix-cde&geometry=1440x900+240+77&client=linux&keyboard=pc102/de&screeninfo=1440x900x24+render&clientproto=3.2.0&user=xt&userip=192.168.87.106&uniqueid=5202328FD4CB981D6EF89B19A13FAA54&display=1001&host=127.0.0.1 
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
nxnode_reader: NX> 700 Session id: lnxsrv173-1001-5202328FD4CB981D6EF89B19A13FAA54
server_nxnode_echo: NX> 700 Session id: lnxsrv173-1001-5202328FD4CB981D6EF89B19A13FAA54
NX> 700 Session id: lnxsrv173-1001-5202328FD4CB981D6EF89B19A13FAA54
nxnode_reader: NX> 705 Session display: 1001
nxnode_reader: NX> 703 Session type: unix-cde
nxnode_reader: NX> 701 Proxy cookie: 891dbe0e895014375e84519f2c6ef654
nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
nxnode_reader: NX> 706 Agent cookie: 891dbe0e895014375e84519f2c6ef654
server_nxnode_echo: NX> 705 Session display: 1001
nxnode_reader: NX> 704 Session cache: unix-cde
nxnode_reader: NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 703 Session type: unix-cde
server_nxnode_echo: NX> 701 Proxy cookie: 891dbe0e895014375e84519f2c6ef654
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
NX> 705 Session display: 1001
NX> 703 Session type: unix-cde
NX> 701 Proxy cookie: 891dbe0e895014375e84519f2c6ef654
NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie: 891dbe0e895014375e84519f2c6ef654
server_nxnode_echo: NX> 704 Session cache: unix-cde
server_nxnode_echo: NX> 707 SSL tunneling: 1
NX> 706 Agent cookie: 891dbe0e895014375e84519f2c6ef654
NX> 704 Session cache: unix-cde
NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
server_nxnode_echo: NX> 710 Session status: running
nxnode_reader: NX> 1006 Session status: running
NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
NX> 105 session_status 5202328FD4CB981D6EF89B19A13FAA54 Running
NX> 1002 Commit
NX> 1006 Session status: running
server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
Info: Closing connection to slave with pid 2634.
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/xt/.nx/F-C-lnxsrv173-1001-5202328FD4CB981D6EF89B19A13FAA54/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/xt/.nx/F-C-lnxsrv173-1001-5202328FD4CB981D6EF89B19A13FAA54/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
nxnode_reader: 1001 Bye.
1001 Bye.
nxnode_reader: NX> 1006 Session status: closed
NX> 1006 Session status: closed
server_nxnode_echo: NX> 596 Session startup failed.
nxnode_reader: NX> 1001 Bye.
Info: Closing connection to slave with pid 2634.
 

spoensche

Moderator
Teammitglied
Code:
1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf

Setze den Wert mal in deiner Konfiguration, starte den NX-Agent neu, teste und poste das Logfile.
 
OP
A

a017886

Newbie
Hier der Auszug aus $HOME/.nx/S-<serverlogdirname>/ (= 4 Dateien)
Code:
errors:
Loop: WARNING! Connected to remote version 3.4.0 with local version 3.5.0.
Loop: WARNING! Disabling NX delta compression.
Loop: WARNING! Disabling use of NX persistent cache.
Loop: WARNING! Unrecognized session type 'unix-cde'. Assuming agent session.
Loop: PANIC! No shutdown of proxy link performed by remote proxy.

options:
nx/nx,cookie=182114e5c60c677634241e1550666ede,shmem=1,shpix=1,font=1,media=6000,encryption=1,session=session,id=lnxsrv173-1001-11D04D6960511B299A603CA66D3BEB47:1001

session:

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '2371'.
Session: Starting session at 'Thu Apr 24 14:18:20 2014'.
Warning: Connected to remote version 3.4.0 with local version 3.5.0.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-cde'. Assuming agent session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method 'adaptive-9' with session 'unix-cde'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Forwarding X11 connections to display ':0.0'.
Info: Forwarding multimedia connections to port '6000'.
Info: Listening to font server connections on port '11001'.
Session: Session started at 'Thu Apr 24 14:18:20 2014'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.
Session: Terminating session at 'Thu Apr 24 14:18:20 2014'.
Session: Session terminated at 'Thu Apr 24 14:18:20 2014'.

stats:
leer
Es gibt einen kleinen Teilerfolg zu vermelden:
Die Verbindung vom Windows-nxclient klappt! Ver. 3.5.0.9
Ich habe mir daraufhin mal die Datei /var/log/nxserver.log 2x erstellen lassen und verglichen. - Ein diff wird hier sehr unübersichtlich, da ja unterschiedliche PID's u.s.w. geloggt werden.
Es ist alles gleich bis zur Zeile
>NX> 999 Bye<
danach gehen dann die Fehlermeldungen (nur LINUX-logfile), wie oben beschrieben, los:
>Info: Closing connection to slave with pid ... u.s.w.<

Das Resultat war dann allerdings sehr enttäuschend. Es gibt das gleiche Tastatur-Layoutproblem, wie bei der Version von PTA
http://download.opensuse.org/repositories/home:/please_try_again/
z.B. hier:
https://wiki.kip.uni-heidelberg.de/KIPwiki/index.php/EDV:FreeNX/NX-tastatur
Der Lichtblick ist allerdings, daß der Workaround
Code:
setxkbmap de
im Gegensatz zur PTA-Version funktioniert (und damit deutsches Tastaturlayout doch möglich ist)! :p
 

spoensche

Moderator
Teammitglied
Code:
Loop: WARNING! Unrecognized session type 'unix-cde'. Assuming agent session.
Loop: PANIC! No shutdown of proxy link performed by remote proxy.

Da stimmt noch etwas in deiner Konfiguration nicht.


Code:
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.

Ist deine Netzwerkkarte evtl. defekt? Poste bitte mal die Ausgabe von
Code:
ip -s l ls
 
OP
A

a017886

Newbie
Wieso? Ich kann mich doch anmelden (ssh, sftp, apache2 u.s.w.).
client:
Code:
ip -s l ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    RX: bytes  packets  errors  dropped overrun mcast   
    25938      87       0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    25938      87       0       0       0       0      
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 18:a9:05:c3:f3:ac brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    269999     609      0       0       0       7      
    TX: bytes  packets  errors  dropped carrier collsns 
    82211      646      0       0       0       0
Server:
Code:
ip -s l ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    RX: bytes  packets  errors  dropped overrun mcast   
    2654       42       0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    2654       42       0       0       0       0      
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 00:1b:fc:8b:96:95 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    5549       39       0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    9658       64       0       0       4       0
 

spoensche

Moderator
Teammitglied
Code:
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 00:1b:fc:8b:96:95 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
          5549       39       0       0             0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
          9658       64       0       0           4       0

carrier=4 bedeutet, dass du 4 Link Fehler, wegen z.B. wegen verlorener Verbindung, hattest.

Es muss nicht unbedingt die Netzwerkkarte des Servers sein. Es kann auch einer der dazwischen liegenden Switches sein.
 
OP
A

a017886

Newbie
Ehrlich gesagt glaube ich nicht, das es an so einem kleinen Aussetzer liegt. Dann wäre es doch sicherlich von der Windows-Seite her auch nicht gegangen (s.o.)?
Ich habe mal folgenden Versuch gemacht:
Ich habe den Spieß herumgedreht
  • - auf dem Server unter OpenSUSE 13.1 den !M-nxclient 3.5.0.7 installiert
  • - !M-nxproxy noch dazu (zum Glück liegen die ja in unterschiedlichen Verzeichnissen als FreeNX)
  • - die vorhandene *.nxs Konfigurationsdatei ohne Änderungen in's $HOME/.nx Verzeichnis kopiert (wie immer)
  • - angemeldet auf 2 anderen openSUSE Maschinen mit 12.3 und FreeNX Serverkonfiguration von PTA
Es ging sofort (nach .ssh - known_hosts Bestätigung). :/ Die Verbindungen liefen über ein verkabeltes Haus-Ethernet und eine VPN-WAN Verbindung. Daher denke ich nicht, daß es ein Transport-Layer Problem ist.
 

spoensche

Moderator
Teammitglied
Gehen wir mal mögliche Ursachen durch:

1. Sind die Ports in der Firewall freigeschaltet?
2. Kannst du dich per SSH vom Client aus auf dem Server anmelden?
3. Wenn die SSH-Anmeldung funktioniert, teste mal das X11-Forwarding. Das kannst du wie folgt durchführen:
Code:
ssh -X user@server xterm

Poste mal bitte deine NX-Konfiguration des Servers und auch die des Clients.
 
OP
A

a017886

Newbie
1. Sind die Ports in der Firewall freigeschaltet?
Firewall-Ports sind geöffnet. Firewalls in der jetzigen Testphase jedoch ausgeschaltet!
2. Kannst du dich per SSH vom Client aus auf dem Server anmelden?
Ja. Siehe oben = Posting 7 vom 27.04.
3. Wenn die SSH-Anmeldung funktioniert, teste mal das X11-Forwarding. Das kannst du wie folgt durchführen:
ssh -X user@server xterm
Code:
X11 forwarding request failed on channel 0
xterm: Xt error: Can't open display: 
xterm: DISPLAY is not set
Anm.: Dieser Fehler kommt auf allen Maschinen, egal ob eine FreeNX - Version funktioniert, oder nicht. X11-Forwarding dürfte hier keine Relevanz haben!?

Poste mal bitte deine NX-Konfiguration des Servers und auch die des Clients.
*.nxs (Diese client - Konfigurationsdatei funktioniert von Windows 7 aus. - Siehe Post #5 vom 24.04.!)
Code:
<!DOCTYPE NXClientSettings>
<NXClientSettings application="nxclient" version="1.3" >
<group name="Advanced" >
<option key="Cache size" value="16" />
<option key="Cache size on disk" value="64" />
<option key="Current keyboard" value="true" />
<option key="Custom keyboard layout" value="" />
<option key="Disable DirectDraw" value="false" />
<option key="Disable ZLIB stream compression" value="false" />
<option key="Disable deferred updates" value="false" />
<option key="Enable HTTP proxy" value="false" />
<option key="Enable SSL encryption" value="true" />
<option key="Enable response time optimisations" value="false" />
<option key="Grab keyboard" value="false" />
<option key="HTTP proxy host" value="" />
<option key="HTTP proxy port" value="8080" />
<option key="HTTP proxy username" value="" />
<option key="Remember HTTP proxy password" value="false" />
<option key="Restore cache" value="true" />
<option key="StreamCompression" value="" />
</group>
<group name="Environment" >
<option key="CUPSD path" value="/usr/sbin/cupsd" />
<option key="Font server host" value="" />
<option key="Font server port" value="7100" />
<option key="Use font server" value="false" />
</group>
<group name="General" >
<option key="Automatic reconnect" value="true" />
<option key="Command line" value="" />
<option key="Custom Unix Desktop" value="application" />
<option key="Desktop" value="cde" />
<option key="Disable SHM" value="false" />
<option key="Disable emulate shared pixmaps" value="false" />
<option key="Link speed" value="lan" />
<option key="Remember password" value="false" />
<option key="Resolution" value="1440x900" />
<option key="Resolution height" value="900" />
<option key="Resolution width" value="1440" />
<option key="Server host" value="192.168.87.173" />
<option key="Server port" value="22" />
<option key="Session" value="unix" />
<option key="Spread over monitors" value="false" />
<option key="Use default image encoding" value="0" />
<option key="Use render" value="true" />
<option key="Use taint" value="true" />
<option key="Virtual desktop" value="true" />
<option key="XAgent encoding" value="true" />
<option key="displaySaveOnExit" value="true" />
<option key="xdm broadcast port" value="177" />
<option key="xdm list host" value="localhost" />
<option key="xdm list port" value="177" />
<option key="xdm mode" value="server decide" />
<option key="xdm query host" value="localhost" />
<option key="xdm query port" value="177" />
</group>
<group name="Images" >
<option key="Disable JPEG Compression" value="0" />
<option key="Disable all image optimisations" value="false" />
<option key="Disable backingstore" value="false" />
<option key="Disable composite" value="false" />
<option key="Image Compression Type" value="3" />
<option key="Image Encoding Type" value="0" />
<option key="Image JPEG Encoding" value="false" />
<option key="JPEG Quality" value="6" />
<option key="RDP Image Encoding" value="3" />
<option key="RDP JPEG Quality" value="6" />
<option key="RDP optimization for low-bandwidth link" value="false" />
<option key="Reduce colors to" value="" />
<option key="Use PNG Compression" value="true" />
<option key="VNC JPEG Quality" value="6" />
<option key="VNC images compression" value="3" />
</group>
<group name="Login" >
<option key="Auth" value="EMPTY_PASSWORD" />
<option key="Guest Mode" value="false" />
<option key="Guest password" value="" />
<option key="Guest username" value="" />
<option key="Login Method" value="nx" />
<option key="Public Key" value="-----BEGIN DSA PRIVATE KEY-----
... Key entfernt ...
-----END DSA PRIVATE KEY-----
" />
<option key="User" value="root" />
</group>
<group name="Services" >
<option key="Audio" value="true" />
<option key="IPPPort" value="631" />
<option key="IPPPrinting" value="false" />
<option key="Shares" value="false" />
</group>
<group name="VNC Session" >
<option key="Display" value="0" />
<option key="Remember" value="false" />
<option key="Server" value="" />
</group>
<group name="Windows Session" >
<option key="Application" value="" />
<option key="Authentication" value="2" />
<option key="Color Depth" value="8" />
<option key="Domain" value="" />
<option key="Image Cache" value="true" />
<option key="Password" value="EMPTY_PASSWORD" />
<option key="Remember" value="true" />
<option key="Run application" value="false" />
<option key="Server" value="" />
<option key="User" value="" />
</group>
<group name="share chosen" >
<option key="Share number" value="0" />
</group>
</NXClientSettings>
Welche Server-Konfigurationsdatei soll ich denn posten?
Die /usr/bin/nxnode hat fast 1700 Zeilen - dort wird viel Repospezifisches konfiguriert.
Die /etc/nxserver/node.conf hat ca. 650 Zeilen. - Auch sehr lang.
Ich würde das Problem ja nicht bei der Authentifizierung, sondern eher bei der Display - Initialisierung vermuten. Vielleicht hat die 13.1-er wieder irgendwelche anderen Pfade als die 12.3-er?

Anbei nochmal eine aktuelle /var/lib/nxserver.log:
Code:
-- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
-- NX SERVER START:  - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: root
NX> 102 Password: 
Info: Auth method: ssh Password:
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: lnxsrv173 user: root
NX> 105 listsession --user="root" --status="suspended,running" --geometry="1920x1080x24+render" --type="unix-cde"
NX> 127 Sessions list of user 'root' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: root
NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="1" --mediahelper="esd" --session="87.173" --type="unix-cde" --geometry="1440x900+240+77" --client="linux" --keyboard="pc102/de" --screeninfo="1440x900x24+render" 

&link=lan&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=1&mediahelper=esd&session=87.173&type=unix-cde&geometry=1440x900+240+77&client=linux&keyboard=pc102/de&screeninfo=1440x900x24+render&clientproto=3.2.0&user=root&userip=192.168.87.106&uniqueid=193610CE39909DAEA9C09C00A6E146B4&display=1101&host=127.0.0.1 
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
nxnode_reader: NX> 700 Session id: lnxsrv173-1101-193610CE39909DAEA9C09C00A6E146B4
nxnode_reader: NX> 705 Session display: 1101
nxnode_reader: NX> 703 Session type: unix-cde
nxnode_reader: NX> 701 Proxy cookie: afc940fe4ff95d57a8c110a7cd5932cd
nxnode_reader: NX> 702 Proxy IP: 192.168.87.173
nxnode_reader: NX> 706 Agent cookie: afc940fe4ff95d57a8c110a7cd5932cd
nxnode_reader: NX> 704 Session cache: unix-cde
nxnode_reader: NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 700 Session id: lnxsrv173-1101-193610CE39909DAEA9C09C00A6E146B4
server_nxnode_echo: NX> 705 Session display: 1101
server_nxnode_echo: NX> 703 Session type: unix-cde
server_nxnode_echo: NX> 701 Proxy cookie: afc940fe4ff95d57a8c110a7cd5932cd
server_nxnode_echo: NX> 702 Proxy IP: 192.168.87.173
server_nxnode_echo: NX> 706 Agent cookie: afc940fe4ff95d57a8c110a7cd5932cd
server_nxnode_echo: NX> 704 Session cache: unix-cde
server_nxnode_echo: NX> 707 SSL tunneling: 1
NX> 700 Session id: lnxsrv173-1101-193610CE39909DAEA9C09C00A6E146B4
NX> 705 Session display: 1101
NX> 703 Session type: unix-cde
NX> 701 Proxy cookie: afc940fe4ff95d57a8c110a7cd5932cd
NX> 702 Proxy IP: 192.168.87.173
NX> 706 Agent cookie: afc940fe4ff95d57a8c110a7cd5932cd
NX> 704 Session cache: unix-cde
NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
NX> 105 session_status 193610CE39909DAEA9C09C00A6E146B4 Running
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
Info: Closing connection to slave with pid 3795.
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/root/.nx/F-C-lnxsrv173-1101-193610CE39909DAEA9C09C00A6E146B4/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/root/.nx/F-C-lnxsrv173-1101-193610CE39909DAEA9C09C00A6E146B4/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
nxnode_reader: 
nxnode_reader: NXAGENT - Version 3.4.0
nxnode_reader: 
nxnode_reader: Copyright (C) 2001, 2010 NoMachine.
nxnode_reader: See http://www.nomachine.com/ for more information.
nxnode_reader: 
nxnode_reader: Info: Agent running with pid '4349'.
nxnode_reader: Session: Starting session at 'Thu May  1 19:22:19 2014'.
nxnode_reader: Info: Proxy running in server mode with pid '4349'.
nxnode_reader: Info: Waiting for connection from '127.0.0.1' on port '5101'.
nxnode_reader: Info: Accepted connection from '127.0.0.1'.

NXAGENT - Version 3.4.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '4349'.
Session: Starting session at 'Thu May  1 19:22:19 2014'.
Info: Proxy running in server mode with pid '4349'.
Info: Waiting for connection from '127.0.0.1' on port '5101'.
Info: Accepted connection from '127.0.0.1'.
nxnode_reader: Warning: Connected to remote version 3.5.0 with local version 3.4.0.
nxnode_reader: Warning: Consider checking http://www.nomachine.com/ for updates.
nxnode_reader: Info: Connection with remote proxy completed.
nxnode_reader: Info: Using LAN link parameters 1536/24/1/0.
nxnode_reader: Info: Using agent parameters 5000/0/50/0/0.
nxnode_reader: Info: Using pack method 'adaptive-9' with session 'unix-cde'.
nxnode_reader: Info: Using product 'LFE/None/LFEN/None'.
nxnode_reader: Info: Not using NX delta compression.
nxnode_reader: Info: Not using ZLIB data compression.
Warning: Connected to remote version 3.5.0 with local version 3.4.0.
Warning: Consider checking http://www.nomachine.com/ for updates.
Info: Connection with remote proxy completed.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using agent parameters 5000/0/50/0/0.
Info: Using pack method 'adaptive-9' with session 'unix-cde'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
nxnode_reader: Info: Not using ZLIB stream compression.
Info: Not using ZLIB stream compression.
nxnode_reader: Info: Not using a persistent cache.
Info: Not using a persistent cache.
nxnode_reader: Info: Listening to X11 connections on display ':1101'.
Info: Listening to X11 connections on display ':1101'.
nxnode_reader: Info: Listening to multimedia connections on port '8101'.
Info: Listening to multimedia connections on port '8101'.
nxnode_reader: Info: Established X client connection.
Info: Established X client connection.
nxnode_reader: Info: Using shared memory parameters 1/1/1/2048K.
Info: Using shared memory parameters 1/1/1/2048K.
nxnode_reader: Info: Using alpha channel in render extension.
Info: Using alpha channel in render extension.
nxnode_reader: Info: Not using local device configuration changes.
Info: Not using local device configuration changes.
nxnode_reader: /usr/lib/NX/nxagent: symbol lookup error: /usr/lib/libXcomposite.so.1: undefined symbol: _XGetRequest
/usr/lib/NX/nxagent: symbol lookup error: /usr/lib/libXcomposite.so.1: undefined symbol: _XGetRequest
nxnode_reader: NX> 1006 Session status: closed
NX> 1006 Session status: closed
nxnode_reader: 1001 Bye.
1001 Bye.
server_nxnode_echo: NX> 596 Session startup failed.
nxnode_reader: NX> 1001 Bye.
Info: Closing connection to slave with pid 3795.
Siehst Du den Fehler mit _XGetRequest? Wenn ich nach meinem Fehler "Connection with remote peer broken" google, erhalte ich ähnliche Hinweise. Ich habe allersdings kein KMS, oder 64bit!
Ich kenne mich in den Tiefen des libX11-Themas leider nicht aus.
 

spoensche

Moderator
Teammitglied
KMS = Kernel Mode Settings. Welche Grafikkarten werden bei dir verwendet?

Folgenden Befehl sollst du laut Logfile zum testen verwenden:
Code:
ssh -X myserver; /usr/bin/nxnode --agent

und dafür musst X11-Forwarding aktiviert sein (ist auch aktiv).
Wenn die Variable DISPLAY nicht gesetzt ist, dann hast du dich als root am Server angemeldet. Du musst das mit einem normalen Nutzer machen.
 
OP
A

a017886

Newbie
Welche Grafikkarten werden bei dir verwendet?
Server:
Code:
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4)
Client:
Code:
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)
Folgenden Befehl sollst du laut Logfile zum testen verwenden:
Code:
    ssh -X myserver; /usr/bin/nxnode --agent
Code:
ssh -X 192.168.87.173
Password: 
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
Last login: Sun May  4 18:53:31 2014 from 192.168.87.106
Have a lot of fun...

xt@lnxsrv173:~> /usr/bin/nxnode --agent
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 716 Starting NX Agent ...

NXAGENT - Version 3.4.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '2278'.
Session: Starting session at 'Sun May  4 18:53:37 2014'.
Error: Aborting session with 'Unable to open display '''.
Session: Aborting session at 'Sun May  4 18:53:37 2014'.
Session: Session aborted at 'Sun May  4 18:53:37 2014'.
NX> 716 NX Agent exited with status: 1
NX> 1001 Bye.
:???:

Edit:
Code:
ssh -X user@server lxterminal
und
Code:
ssh -X myserver;
funktionieren jetzt durch die Änderung der /etc/ssh/sshd.conf:
X11UseLocalhost no
siehe hier: http://www.linuxquestions.org/quest...warding-request-failed-on-channel-0-a-945709/

Code:
/usr/bin/nxnode --agent
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 716 Starting NX Agent ...
Error: Aborting session with 'Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again'.
Session: Aborting session at 'Mon May  5 11:01:14 2014'.
Session: Session aborted at 'Mon May  5 11:01:14 2014'.
NX> 716 NX Agent exited with status: 1
NX> 1001 Bye.
-> Natürlich läuft der X-Sever auf dem lokalen Display. Nach dem empfohlenen Löschen der /tmp/.X0-lock ändert sich dann die Fehlermeldung wie folgt:
Code:
/usr/bin/nxnode --agent
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: not detected)
NX> 716 Starting NX Agent ...
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Error: Aborting session with 'Cannot establish any listening sockets - Make sure an X server isn't already running'.
Session: Aborting session at 'Mon May  5 11:03:48 2014'.
Session: Session aborted at 'Mon May  5 11:03:48 2014'.
NX> 716 NX Agent exited with status: 1
NX> 1001 Bye.
 

spoensche

Moderator
Teammitglied
Auf display:0 läuft die Anzeige auf deinem Monitor. Daher auch die Meldung. Hast du in der FreeNX Server Konfiguration die Display Einstellungen geändert? Per default fängt der FreeNX bei :1000 an und zählt für jede neue User Session das Display hoch, :1001, :1002 etc.

Poste mal deine Konfig, man muss ja nicht unnötig rumraten
 
OP
A

a017886

Newbie
/etc/nxserver/node.conf
Code:
# node.conf
#
# This file is provided by FreeNX. It should be placed either into
# /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf
# (NoMachine NX style).
#
# It is mostly compatible with NoMachine node.conf. The most important 
# difference is that no spaces are allowed when assigning values (eg 
# "A=value" is allowed, "A = value" is NOT).
#
# This file is sourced by bash, so you can do some fancy stuff here if you
# want to, but be aware that it is sourced 3 times per connection. If you 
# want autostart stuff, set NODE_AUTOSTART instead!
# 
#
# You surely are aware that FreeNX is based on the fantastic results that
# the hard work by NoMachine.com has achieved. NoMachine.com released the
# core NX libraries under the GPL. The installation of these libs are the
# precondition for all FreeNX scripts to work. If you are installing this
# software with the help of one of the package management tools of your
# Linux distribution, you can assume that this dependency is taken care of
# by the tool.
#
# You have questions about the inner workings of the NX technology?
#
# Then you are recommended to first check out the rich and very detailed
# NoMachine documentation and their online Knowledge Base at 
#
#           http://www.nomachine.com/kb/
#
# Other sources of information are the NoMachine mailing lists 
# (nxusers@nomachine.com and nxdevelopers@nomachine.com):
#
#           http://www.nomachine.com/mailinglists.php
#
# The FreeNX (freenx-knx@kde.org) list is here:
#
#           https://mail.kde.org/mailman/listinfo/freenx-knx
#
# SVN: $Id: node.conf.sample 580 2008-08-22 00:44:43Z fabianx $

#########################################################################
# General FreeNX directives
#########################################################################

# The host name which is used by NX server. It's should be used if it's
# different than the default hostname (as returned by `hostname`)
#SERVER_NAME="$(hostname)"

# The port number where local 'sshd' is listening.
#SSHD_PORT=22


#########################################################################
# Authentication / Security directives
#########################################################################

# Authentication directives

# This adds the usermode to the possible authentication methods
# Usermode means that a user can start the nxserver as his shell
# and connect directly to the right server via a custom client.
#ENABLE_USERMODE_AUTHENTICATION="0"

# This adds the passdb to the possible authentication methods
#ENABLE_PASSDB_AUTHENTICATION="0"

# This adds SSH to the possible authentication methods. For it to work sshd
# must be set up at localhost accepting password authentication.
#ENABLE_SSH_AUTHENTICATION="1"

# This adds SU to the possible authentication methods. For it to work the 
# "nx" user must be in the wheel (RedHat, Fedora) or the users group (SUSE)
# and the user logging in must have a valid shell that accepts the -c
# parameter.
#ENABLE_SU_AUTHENTICATION="0"

# Require all users to be in the passdb, regardless of authentication method
#ENABLE_USER_DB="0"


# If enabled forces the user to use encryption. This will bail out
# if the user does not have encryption enabled.
#ENABLE_FORCE_ENCRYPTION="0"

# Refuse the NX client connection if SSHD does not export the
# SSH_CONNECTION and SSH_CLIENT variables in the environment
# passed to the NX server.
# 1: Will check the remote IP and will not accept the
#    connection if it can't be determined.
# 0: Will accept the connection even if the remote IP
#    is not provided.
#SSHD_CHECK_IP="0"

# If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the 
# communication is done via nxnode slave mode.
#
# This is useful for one time passwords or to have less traffic in utmp 
# and wtmp.
#
# Also session startup times are much faster in slave mode. This is true especially 
# if many printers or shares have to be added.
#
# For this to work the binary nxserver-helper has to be installed in 
# PATH_BIN.
#
#ENABLE_SLAVE_MODE="1"

# If ENABLE_LOG_FAILED_LOGINS="1" then failed login attempts are logged to the system
# auth.log.
#
# This is useful in combination with tools like fail2ban.
#
# The default is to log failed login attemps via syslog (3).
#
#ENABLE_LOG_FAILED_LOGINS="1"

#########################################################################
# Restriction directives
#########################################################################

# The base display number from which sessions are started.
DISPLAY_BASE=1000

# The maximum number of contemporary sessions that can be run on FreeNX
#SESSION_LIMIT=200

# The maximum number of contemporary sessions that a single user can run
# on FreeNX. Defaults to the value of SESSION_LIMIT.
#SESSION_USER_LIMIT=200

# The number of displays reserved for sessions, it has to be greater or equal
# to the maximum number of contemporary sessions that a server can run.
#DISPLAY_LIMIT=200


# User for which sessions should be persistent. Either the keyword "all" or a
# comma-separated list of usernames or groups in the @groupname syntax.
#ENABLE_PERSISTENT_SESSION="all"

# Users and groups for whom persistent sessions should be disabled.
# Especially useful if ENABLE_PERSISTENT_SESSION="all"
#DISABLE_PERSISTENT_SESSION=""

# This enables the mirroring of running sessions via VNC feature.
# 
# Session is marked as resumable and type is vnc-mirrored.
# 
#ENABLE_MIRROR_VIA_VNC=1

# This enables the sharing of :0 via VNC feature.
# 
# Session is marked as resumable and type is vnc-local.
# 
# Note: You need to have the rights to access the display
#       else it does not work.
#
#ENABLE_DESKTOP_SHARING=0

#
# General shadowing / mirroring notes:
#
# By default shadowing is only allowed for the same user.
#
# If nxserver finds nxshadowacl binary, it asks it, for which users 
# the permission is granted.
# 
# nxshadowacl <user>
# 
# Exit code:
#
# 0 -> Save cookie in session file for other users
# 1 -> Do not save cookie
#
# Check if user is allowed to be shadowed by admin user.
#
# nxshadowacl <user> <admin>
# 
# Exit code:
#
# 0 -> Yes, allow shadowing and add to list
# 1 -> No, don't allow shadowing
# 

#
# When using NX 3.0 shadowing, this enables asking the user whether
# he authorizes another user to shadow his session
#
# 0: No authorization request will be presented,
#    and the session will be shadowed as if the user had approved.
# 1: (default) Ask for authorization
#
#ENABLE_SESSION_SHADOWING_AUTHORIZATION=1

# Allow session shadowing in interactive mode:
#
# 1: The shadowing user can interact with the shadowed session.
#
# 0: The shadowed session is view-only. No interaction with the
#    shadowed session is possible.
#
#ENABLE_INTERACTIVE_SESSION_SHADOWING=1

#
# Enable or disable clipboard:
#
# client:  The content copied on the client can be pasted inside the
#            NX session.
#
# server: The content copied inside the NX session can be pasted
#             on the client.
#
# both:    The copy&paste operations are allowed both between the
#             client and the NX session and vice-versa.
#
# none:   The copy&paste operations between the client and the NX
#            session are never allowed.
#
#ENABLE_CLIPBOARD="both"


#
# Enable or disable the pulldown dialog, which provides a graphical
# way to suspend or terminate the rootless session:
#
# 1: Enabled. The pulldown menu is shown when the mouse pointer
#     moves near the middle of the top boundary of a window and
#     allows the user to suspend or terminate the session by means
#     of an icon-click.
#
# 0: Disabled. The ctrl+alt+T key combination has to be issued
#     to get the dialog for suspending or terminating the session.
#
#ENABLE_PULLDOWN_MENU="1"


# The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all
# nx related processes.
#
# Note: To have for example startkde run on even another core, just specify:
#
# COMMAND_STARTKDE="taskset -c 2 -- startkde"
#
# FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$
# 
# So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores
# 3 and 4.
#
# If this option is empty, no balance to cores is done.
#
#USE_PROCESSOR_TASKSET=""

# If you set ENABLE_ADVANCED_SESSION_CONTROL="1" you can start a new application in an already
# running rootless session by using "add <rest of name>" as session name.
#
# Note: The client will return a message on that.
#
#ENABLE_ADVANCED_SESSION_CONTROL="0"

# If you set ENABLE_SHOW_RUNNING_SESSIONS="0" then nxserver will only show
# suspended sessions and you will not be able to resume or terminate a running 
# session.
#
#ENABLE_SHOW_RUNNING_SESSIONS="1"

#########################################################################
# Logging directives
#########################################################################

# This directives controls the verbosity of the server-wide log.
# 0: No Logging
# 1: Errors
# 2: Warnings
# 3: Important information
# 4: Server - Client communication
# 5: Information
# 6: Debugging information
# 7: stderror of some applications
NX_LOG_LEVEL=6

# By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files.
#NX_LOG_SECURE=1

# Before turning logging on, please make sure that NX_LOGFILE is
# writeable for the "nx" user
#NX_LOGFILE=/var/log/nxserver.log

# This directive controls if the temporary session directory
# ($HOME/.nx/C-<hostname>-<display>-<session_id>) should be kept after a
# session has ended. A successfully terminated session will be saved as
# T-C-<hostname>-<display>-<session_id> while a failed session will be saved
# as F-C-<hostname>-<display>-<session_id>.
# The default is to cleanup the directories.
SESSION_LOG_CLEAN=0

# Amount of seconds nxserver is to keep session history. The default of 2592000
# is equivalent to 30 days. If this is 0 no session history will be kept
# and a negative value denotes infinity.
#SESSION_HISTORY=2592000


#########################################################################
# Forwarding directives
#########################################################################

# FreeNX with ENABLE_SERVER_FORWARD="1" will automatically forward all
# connections to the host specified in SERVER_FORWARD_HOST with the
# secret key SERVER_FORWARD_KEY.
#
# This allows to have a "chain" of NX Servers. Note that you will need to
# use "SSL encryption" for all connections.

#ENABLE_SERVER_FORWARD="0"
#SERVER_FORWARD_HOST=""
#SERVER_FORWARD_PORT=22
#SERVER_FORWARD_KEY="/usr/NX/share/client.id_dsa.key"


# FreeNX with ENABLE_NOMACHINE_FORWARD_PORT="1" will automatically forward all
# connections to the commercial NoMachine nxserver installed on the same
# machine, which go in by port NOMACHINE_FORWARD_PORT. This feature is introduced
# to enable the usage of FreeNX and NoMachine NX side by side on the same machine
# without conflicts.
#
# Note: You need to let SSHD listen to several ports to make use of this
#       directive.

#ENABLE_NOMACHINE_FORWARD_PORT="0"
#NOMACHINE_FORWARD_PORT="22"

#NOMACHINE_SERVER="/usr/NX/bin/nxserver"
#NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx"


# LOAD BALANCING
# ==============
#
# To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and
# make:
#
#   - either sure that all incoming connections are sent to the master
#     server by using forwarding directives on the "slave" servers.
#
#   - or share the session database space via NFS between the servers.
#     (not recommended at the moment as race conditions for DISPLAYs can 
#      occur)
#

#LOAD_BALANCE_SERVERS=""

# The following load_balance_algorithms are available at the moment:
#
# "load", "round-robin", "random"
#
# For "load" you need a script called nxcheckload in PATH_BIN.
# 
# A sample script, which you can change to your needs it shipped with
# FreeNX under the name nxcheckload.sample.

#LOAD_BALANCE_ALGORITHM="random"

# By setting ENABLE_LOADBALANCE="1" you can let users choose their
# preferred host, while being forwarded to another server. Of course
# this is just a preference. The loadbalancing algorithm can completely
# choose to ignore the users choice.

#ENABLE_LOAD_BALANCE_PREFERENCE="0"

#########################################################################
# Services directives
#########################################################################

# FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup
# the sound with the help of the esd media helper.
#
# Currently ESD will be used just by the Windows NX Client.
#
# Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work
# before enabling this directive.

#ENABLE_ESD_PRELOAD="0"
#ESD_BIN_PRELOAD="esddsp"

# FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup
# the sound with the help of the artsd media helper.
#
# Currently ARTSD will be used just by the Linux NX Client.
#
# Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work
# before enabling this directive.

#ENABLE_ARTSD_PRELOAD="0"
#ARTSD_BIN_PRELOAD="artsdsp"

# FreeNX with ENABLE_KDE_CUPS="1" will automatically write 
# $KDE_PRINTRC and put the current used socket into it.
#
# If you additionally enable ENABLE_KDE_CUPS_DYNAMIC it will set the 
# Host entry to the script nxcups-gethost, which dynamically tries all 
# possible entries to find the current printing host.
#
# The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC,
#               $CUPS_DEFAULT_SOCK, localhost
#
# So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1".
# 
# $KDE_PRINTRC is automatically calculated if its not set.

#ENABLE_KDE_CUPS="0"
#ENABLE_KDE_CUPS_DYNAMIC="0"
#KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"

# FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically
# export the environment variable CUPS_SERVER.

#ENABLE_CUPS_SERVER_EXPORT="1"

# FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the 
# necessary ppds from the client.
# 
# As the forwarding is just active as soon as nxagent is started,
# we need a small delay of $CUPS_SEAMLESS_DELAY.
#
# Note: You need to use a patched cupsd on client side.

#ENABLE_CUPS_SEAMLESS="0"
#CUPS_SEAMLESS_DELAY="10"

# FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list
# of available ppd drivers via the $COMMAND_FOOMATIC command.

#ENABLE_FOOMATIC="1"
#COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"

# CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS 
# installation.

#CUPS_BACKEND="/usr/lib/cups/backend"
#CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
#CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
#CUPS_ETC="/etc/cups"

# SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported 
# protocols for mounting shares.
#
# This key can be set to the following values:
#
# both, either SMB and CIFS protocol are supported, this is the default value.
# smbfs, only SMB protocol is supported.
# cifs, only CIFS protocol is supported.
# none, no network file-sharing protocol is supported.

#SAMBA_MOUNT_SHARE_PROTOCOL="both"

# FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup
# port 445 and 139 and forward them to the used samba port.
#
# This enables samba browsing to the local subnet in for example 
# konqueror.
#
#ENABLE_SAMBA_PRELOAD="0"

# FreeNX with ENABLE_SOURCE_BASH_PROFILE="1" will source the users ~/.bash_profile
# before application startup as we are kind of a login shell.
#
# With this key this behaviour can be enabled (default) or disabled.
# 
#ENABLE_SOURCE_BASH_PROFILE="1"

#########################################################################
# Path directives
#########################################################################

# USER_FAKE_HOME is the base directory for the .nx directory. Use this
# parameter instead of the users home directory if $HOME is on a NFS share.
# Note that this directory must be unique for every user! To accomplish this
# it is recommended to include $USER in the path.
#USER_FAKE_HOME=$HOME

# Add the nx libraries to LD_LIBRARY_PATH before starting nx agents.
# WARNING: This will NOT (and should not) affect applications. ONLY Disable
# this if the nx libraries are in a standard system path (such as /usr/lib)!
#SET_LD_LIBRARY_PATH="1"


# The command binary for the default window manager. If set it is run when a
# 'unix-custom' session is requested by the NX Client and an application
# to run is specified. It defaults to empty (ie no WM is run).
# If KILL_DEFAULT_X_WM is set the WM is terminated after the started 
# application finishes. Else FreeNX will wait for the WM to complete.
#DEFAULT_X_WM=""
#KILL_DEFAULT_X_WM="1"

# When a 'unix-default' session is requested by the client the user's X startup
# script will be run if pressent and executable, otherwise the default X
# session will be run.
# Depending on distribution USER_X_STARTUP_SCRIPT might be .Xclients, .xinitrc
# and .Xsession
# Depending on distribution DEFAULT_X_SESSION might be /etc/X11/xdm/Xsession,
# /etc/X11/Sessions/Xsession or /etc/X11/xinit/xinitrc
#USER_X_STARTUP_SCRIPT=.Xclients
#DEFAULT_X_SESSION=/etc/X11/xdm/Xsession

# The key that contains the name of the script that starts a KDE session.
# It's run when a 'unix-kde' session is requested by the client.
#COMMAND_START_KDE=startkde

# The key that contains the name of the script that starts a gnome session.
# It's run when a 'unix-gnome' session is requested by the client.
#COMMAND_START_GNOME=gnome-session

# The key that contains the name of the script that starts a CDE session.
# It's run when a 'unix-cde' session is requested by the client.
COMMAND_START_CDE=cdwm

# The key that contains the name of the complete path of command name
# 'xterm'. It is run when a unix "xterm" session is requested by the
# client.
#COMMAND_XTERM=xterm

# The key that contains the name of the complete path of command name
# 'xauth'.
#COMMAND_XAUTH=/usr/bin/xauth

# The key that contains the name of the complete path of command name
# 'smbmount'.
#COMMAND_SMBMOUNT=smbmount

# The key that contains the name of the complete path of command name
# 'smbumount'.
#COMMAND_SMBUMOUNT=smbumount

# The key that contains the name of the complete path of command name
# 'mount.cifs'.
#COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs

# The key that contains the name of the complete path of command name
# 'umount.cifs'.
#COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs

# The key that contains the name of the complete path of the 'netcat' command.
#COMMAND_NETCAT=netcat

# The key that contains the name of the complete path of the 'ssh' and
# 'ssh-keygen' command.
#COMMAND_SSH=ssh
#COMMAND_SSH_KEYGEN=ssh-keygen

# The key that contains the name of the complete path of the 'cupsd' command.
#COMMAND_CUPSD=/usr/sbin/cupsd

# The tool to generate md5sums with
#COMMAND_MD5SUM="md5sum"
COMMAND_MD5SUM="nxmd5sum"

# The key that contains the name of the complete path of the 'rdesktop' command.
#COMMAND_RDESKTOP=rdesktop

# The key that contains the name of the complete path of the 'vncviewer' command.
#COMMAND_VNCVIEWER=vncviewer

# The key that contains the name of the complete path of the 'vncpasswd' command.
# By default the builtin nxpasswd is used.
#COMMAND_VNCPASSWD="$PATH_BIN/nxpasswd"

# The key that contains the name of the complete path of the 'x11vnc' command.
#COMMAND_X11VNC=x11vnc

# The key that contains the name of the complete path of the 'taskset' command.
#COMMAND_TASKSET=taskset

#########################################################################
# Misc directives
#########################################################################

# When you installed an old 1.5.0 NX Backend, set this to 1.
#ENABLE_1_5_0_BACKEND="0"

# When set to 1 this will automatically resume started sessions
#ENABLE_AUTORECONNECT="0"

# When set to 1 this will automatically resume started sessions
# but only if an older client version is used
#ENABLE_AUTORECONNECT_BEFORE_140="1"

# When set to 1 exports NXUSERIP / NXSESSIONID in nxnode
#EXPORT_USERIP="0"
#EXPORT_SESSIONID="1"

# This can be set to any executable, which is started after session startup
# like: $NODE_AUTOSTART {start|restore}
#NODE_AUTOSTART=""

# When set to 1 will start nxagent in rootless mode.
#ENABLE_ROOTLESS_MODE="1"

# If enabled writes entries via the COMMAND_SESSREG program
# into utmp/wtmp/lastlog database.
# Note: You have to make sure that you add the nx user to the
#       utmp or tty group or how its called on your system
#       before this directive works.
#ENABLE_USESSION="1"
#COMMAND_SESSREG="sessreg"

# Extra options sent to the different nx agents. See !M documentation
# for examples of useful parameters.
#AGENT_EXTRA_OPTIONS_RFB=""
#AGENT_EXTRA_OPTIONS_RDP=""
#AGENT_EXTRA_OPTIONS_X="-nolisten tcp"
AGENT_EXTRA_OPTIONS_X="-norender"

# The number of seconds we wait for the nxagent to start before
# deciding startup has failed
#AGENT_STARTUP_TIMEOUT="60"

# The font server the agent will use. If set to "" no font server is used.
# For this to do any good, the client has to have the same font server set
# in /etc/X11/XF86Config
#AGENT_FONT_SERVER=""

# Disable or enable use of 'tcp nodelay' on proxy. Old versions of Linux
# kernels have problems using this option on sockets that will cause a loss
# of TCP connections. This option is not set by default to allow clients to
# specify whether to enable or disable TCP nodelay. Setting this option to
# the value of "0" NX proxy avoids using 'tcp nodelay' but it will cause a
# loss of interaction in sessions.
#PROXY_TCP_NODELAY=""

# Extra options to nxproxy. See !M documentation for useful parameters.
#PROXY_EXTRA_OPTIONS=""

# In case you want to use an external 'rdesktop' command
# set this to "1".
# 
# If nxdesktop cannot be found this is set automatically to "1".
#ENABLE_EXTERNAL_NXDESKTOP="0"

# This configuration variable determines if 'rdesktop' command should be run with -k keyboard option
# or if the keyboard should be autodetected.
#
#ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1"

# In case you want to use an external 'nxviewer' command
# set this to "1".
# 
# If nxviewer cannot be found this is set automatically to "1".
#ENABLE_EXTERNAL_NXVIEWER="0"
 

spoensche

Moderator
Teammitglied
Code:
nxnode_reader: /usr/lib/NX/nxagent: symbol lookup error: /usr/lib/libXcomposite.so.1: undefined symbol: _XGetRequest
/usr/lib/NX/nxagent: symbol lookup error: /usr/lib/libXcomposite.so.1: undefined symbol: _XGetRequest

Das ist ein bekannter Bug. Siehe https://bugzilla.novell.com/show_bug.cgi?id=786109

Du kannst versuchen, ob die NX Versionen aus den im Bugreport erwähnten Repos bei dir funktionieren.
 
OP
A

a017886

Newbie
... ja das tun sie!
Danke - Danke - Danke - Du hattest wieder mal den richtigen Riecher! :/
Das ist jetzt zwar ein 12.3-er repo, aber es funktioniert wenigstens. Der dort beschriebene Fehler kommt nur nach einer frischen openSUSE - Installation vor. Nach ein paar online-updates ist er weg.
Damit kann man aber das Repository
http://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_13.1
bzgl. FreeNX vergessen! Die Version dort scheint älter zu sein (0.7.3.-1.1) als die im gefundenen Bugzilla Thread (0.7.3-7.1).

Ich versuch's mal kurz zusammenzufassen, damit es für die Leser dieses Threads nachvollziehbar ist.
- Server: openSUSE 13.1 (aktueller online-update Stand von 05/2014), FreeNX und NX vom erwähnten repo (siehe link zum Bugzilla - Thread) -> s.o.
- nxclient: nxclient-3.5.0-7.i386 (=openSUSE), NX Client for Windows: 3.5.0.9
- nxsetup --install mit Standardwerten
"It is recommended that you use the NoMachine key for easier setup."
- den Inhalt der Datei /var/lib/nxserver/home/.ssh/client.id_dsa.key an die entsprechende Stelle in $HOME/.nx/config/<dateiname>.nxs kopieren
- Anpassung für LXDE: http://ubuntuforums.org/showthread.php?t=1290532&s=526723e807c1d8f64c18a1eb99757577&p=9190479#post9190479
- Die *.nxs - Datei bei Bedarf noch in's entsprechende Windows-HOME Verzeichnis (<volume>/C/Users/username/.nx/config) oder auf andere Rechner ohne Änderungen kopieren.
Fertig: Have Fun!
TODO:
  1. 1) Der Tastatur-Layout Fehler tritt jezt umgekehrt auf (bei NX client for windows), glücklicherweise funktioniert jetzt der Befehl
    Code:
    setxkbmap de
    Damit wird alles gut - in entsprechende login-/startscripts einbauen (da gibt es viele Möglichkeiten).
  1. 2) Numlock standardmäßig einschalten.
  1. 3) Perspektivisch !M Software durch freie NX Clients ersetzen, da nicht mehr gepflegt.
 
Oben