[FreeNX-kNX] Re: Trouble with rdp tunneling
Nick Baird
nick1 at permali.co.uk
Sun Jul 31 07:02:19 UTC 2011
Hi
I just got the latest updates from the freenx stable ppa on ubuntu 10.04, and
I have the same problem as Joseph Simonds when using freenx as an rdp proxy
(it works fine when used to access a desktop on the linux server).
The nxserver.log says (with username removed):
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
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: *****
NX> 102 Password:
NX> 103 Welcome to: uproxy user: *****
NX> 105 listsession --user="*****" --status="suspended,running" --
geometry="1680x1050x24+render" --type="windows"
NX> 127 Sessions list of user '*****' for reconnect:
Display Type Session ID Options Depth
Screen Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: *****
NX> 105 startsession --link="adsl" --backingstore="1" --encryption="1" --
cache="128M" --images="256M" --shmem="1" --shpix="1" --strict="0" --
composite="1" --media="0" --session="PGL%20Remote" --type="windows" --
agent_server="192.168.8.21" --geometry="1280x1024+200+0" --client="linux" --
keyboard="pc105/gb" --screeninfo="1280x1024x24+render"
Info: Using /etc/nxserver/nxacl to change session parameters or deny session.
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set
SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/*****/.nx/F-C-
uproxy-2000-C2BD76C77DC30952F9D85C746720DCFB/session". You might also want to
try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic
functionality. Session log follows:
NX> 105 /usr/lib/nx/nxnode: line 785: /usr/lib/nx/nxdesktop: No such file or
directory
NX> 1006 Session status: closed
NX> 700 Session id: uproxy-2000-C2BD76C77DC30952F9D85C746720DCFB
NX> 705 Session display: 2000
NX> 703 Session type: windows
NX> 701 Proxy cookie: 80c26daaf919626b146d5131e27646f9
NX> 702 Proxy IP: 127.0.1.1
NX> 706 Agent cookie: 80c26daaf919626b146d5131e27646f9
NX> 704 Session cache: windows
NX> 707 SSL tunneling: 1
NX> 596 Session startup failed.
Info: Closing connection to slave with pid 18425.
1001 Bye.
NX> 1001 Bye.
Info: Closing connection to slave with pid 18425.
In turn, /usr/lib/nx/nxnode contains:
/snip/
#
# Start the wanted nxagent
#
if [ "$type" = "windows" ]
then
nxlog "$FUNCNAME ($$): Type \"windows\"" &
# nxdesktop session (Windows RDP)
[ "$SET_LD_LIBRARY_PATH" = "1" ] && export
LD_LIBRARY_PATH="$AGENT_LIBRARY_PATH:$LD_LIBRARY_PATH"
# Setup optional parameters
U=""
P=""
D=""
[ -n "$agent_user" ] && U="-u $agent_user"
[ -n "$agent_password" ] && P="-p -"
[ -n "$agent_domain" ] && D="-d $agent_domain"
# Start the agent
echo "$agent_password" | $PATH_BIN/nxdesktop -name "NX -
$user@$SERVER_NAME:$display - $session (GPL Edition)" -option
"$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $U $P $D $agent_server
$AGENT_EXTRA_OPTIONS_RDP 2>&3 &
/snip/
There is no file called /usr/lib/nx/nxdesktop (although there is a
/usr/lib/nx/nxdesktop_helper).
I deleted the /usr/lib/nx/nxnode file and then reinstalled the freenx-server
package, but the package installed the same nxnode file again.
Can anyone suggest what's wrong here?
Thanks,
Nick
More information about the FreeNX-kNX
mailing list