[FreeNX-kNX] "Parse error in remote options string" again while connecting to VNC/running X

Thomas Otto 3.1415926535897932384626433832 at gmx.net
Tue Apr 19 21:02:43 UTC 2005


Hi,

It is again about the Error:
"Parse error in remote options string 'NX> '."

Searching the web eventually references to this post:
<http://mail.kde.org/pipermail/freenx-knx/2004-December/000529.html>
Yet the problem is not a space in the sessionname.

What I'm trying to do here (tell me if the concept itself is flawed) is
connect to an already running X session by activating the X "vnc"[1] 
module and then connecting via VNC plus nx. In the end I plan to connect 
to my grandmothers PC which is only online via ISDN (64kBit) to help her 
if needed.

A plain VNC connection works, also an NX session which starts a new KDE
instance works, yet setting nxclient up to connect to the local (local 
to the server, 127.0.0.1:0) vnc display (or even giving the absolute IP)
results in this error:

Info: Proxy running in client mode with pid '29082'.
Info: Waiting for connection from any host on port '32797'.
Info: Accepted connection from '127.0.0.1' on port '53133'.
Info: Connection with remote proxy established.
Error: Parse error in remote options string 'NX> '.


I've tried deleting my ~/.nx dir on either side and also putting
commands like "touch /tmp/now.on.lineXY.$$$" in some of the /usr/bin/nx*
scripts and then put "" arround nearby arguments but to no avail.

Setting NX_LOGGING=1 in node.conf results to the attached output [2].


I'd appreciate any hints, Regards


      -Thomas




[1]: FTR on Debian (or Ubuntu) I installed the package "vnc4server", put
            Load "vnc" in the "Module" Section and  "Option
"passwordFile" "/root/.vncpasswd" in the "Screen" Section, then put in
the password via "vncpasswd /root/.vncpasswd". Also I had to rename
/usr/X11R6/lib/modules/extensions/vnc.so to libvnc.so else X wouldn't
pick it up.

[2]: nxserver.log output:

-- NX SERVER START:
HELLO NXSERVER - Version 1.4.0-03 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: thomas
NX> 102 Password:
Auth method: passdb ssh
NX> 103 Welcome to: remotehost user: thomas
NX> 105 listsession --user="thomas" --status="Suspended","Running"
--geometry="1280x1024x24+render" --type="vnc"
NX> 127 Sessions list of user 'thomas' for reconnect:

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


NX> 148 Server capacity: not reached for user: thomas
NX> 105 startsession --session="vncnx" --type="vnc" --cache="8M"
--images="32M" --cookie="23f6493d51e94c82eb482e300aa0db38" --link="adsl"
--kbtype="pc105/de" --nodelay="1" --encryption="1"
--backingstore="when_requested" --geometry="1024x768+96+96" --media="0"
--agent_server="127.0.0.1:0" --agent_user=""
--agent_password="passwordhere"  --screeninfo="1024x768x24+render"

user=thomas&userip=10.10.10.2&uniqueid=21038F8F61BBC370D4FA6B08479A43E0&display=1000&&session=vncnx&type=vnc&cache=8M&images=32M&cookie=23f6493d51e94c82eb482e300aa0db38&link=adsl&kbtype=pc105/de&nodelay=1&encryption=1&backingstore=when_requested&geometry=1024x768+96+96&media=0&agent_server=127.0.0.1:0&agent_user=&agent_password=passwordhere&screeninfo=1024x768x24+render
Password:
NX> 1000 NXNODE - Version 1.4.0-03 OS (GPL)
user=thomas&userip=10.10.10.2&uniqueid=21038F8F61BBC370D4FA6B08479A43E0&display=1000&&session=vncnx&type=vnc&cache=8M&images=32M&cookie=23f6493d51e94c82eb482e300aa0db38&link=adsl&kbtype=pc105/de&nodelay=1&encryption=1&backingstore=when_requested&geometry=1024x768+96+96&media=0&agent_server=127.0.0.1:0&agent_user=&agent_password=passwordhere&screeninfo=1024x768x24+render
NX> 700 Session id: remotehost-1000-21038F8F61BBC370D4FA6B08479A43E0
NX> 705 Session display: 1000
NX> 703 Session type: vnc
NX> 701 Proxy cookie: ada47507b6838de7c09489c1564d646e
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 23f6493d51e94c82eb482e300aa0db38
NX> 704 Session cache: vnc
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1001 Bye.



More information about the FreeNX-kNX mailing list