You are not logged in.

#1 2010-02-01 20:51:13

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Can't connect to virtualized guest FreeNX from host

Hi!

I'm trying to connect to my archlinux running in virtualbox with freenx. I followed the wiki, set up freenx and installed the nomachine nx client on the windows host. When i'm trying to conncet the connection window shows the progress, estabilish connection and disappears when it is finished. I see two processes in the task manager xssh.exe and nxwin.exe but no windows at all.

I see this in the nx session admin, the status is closed, but why?
nxadmin.png

Session log from ~/.nx/somerandomchars/session:

NXAGENT - Version 3.4.0

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

Info: Agent running with pid '20601'.
Session: Starting session at 'Mon Feb  1 21:26:34 2010'.
Info: Proxy running in server mode with pid '20601'.
Info: Waiting for connection from '127.0.0.1' on port '5000'.
Info: Accepted connection from '127.0.0.1'.
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-desktop'.
Info: Using product 'LFE/None/LFEN/None'.
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: Listening to X11 connections on display ':1000'.
Warning: No data received from remote proxy within 34 seconds.

nxserver.log:

-- NX SERVER START: -c /opt/NX/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: 3.4.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: ijanos
NX> 102 Password: 
Info: Auth method: ssh ijanos@127.0.0.1's password:
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.4.0)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.4.0)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: tachikoma user: ijanos
NX> 105 listsession --user="ijanos" --status="suspended,running" --geometry="1366x768x32+render" --type="unix-default"
NX> 127 Sessions list of user 'ijanos' for reconnect:

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


NX> 148 Server capacity: not reached for user: ijanos
NX> 105 startsession  --virtualdesktop="1" --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="Tachikoma" --type="unix-default" --geometry="1360x720" --client="winnt" --keyboard="pc102/hu" --screeninfo="1360x720x32+render" 

&virtualdesktop=1&link=lan&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=Tachikoma&type=unix-default&geometry=1360x720&client=winnt&keyboard=pc102/hu&screeninfo=1360x720x32+render&clientproto=3.2.0&user=ijanos&userip=10.0.2.2&uniqueid=EB87877BAEC85F96E25CC121B86B9BA9&display=1000&host=127.0.0.1 
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.4.0)
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.4.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.4.0)
nxnode_reader: NX> 700 Session id: tachikoma-1000-EB87877BAEC85F96E25CC121B86B9BA9
nxnode_reader: NX> 705 Session display: 1000
nxnode_reader: NX> 703 Session type: unix-default
nxnode_reader: NX> 701 Proxy cookie: b493aff9234e90005d05472f95ec9cd9
nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
nxnode_reader: NX> 706 Agent cookie: b493aff9234e90005d05472f95ec9cd9
nxnode_reader: NX> 704 Session cache: unix-default
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 700 Session id: tachikoma-1000-EB87877BAEC85F96E25CC121B86B9BA9
NX> 705 Session display: 1000
NX> 703 Session type: unix-default
NX> 701 Proxy cookie: b493aff9234e90005d05472f95ec9cd9
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: b493aff9234e90005d05472f95ec9cd9
NX> 704 Session cache: unix-default
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 700 Session id: tachikoma-1000-EB87877BAEC85F96E25CC121B86B9BA9
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-default
server_nxnode_echo: NX> 701 Proxy cookie: b493aff9234e90005d05472f95ec9cd9
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie: b493aff9234e90005d05472f95ec9cd9
server_nxnode_echo: NX> 704 Session cache: unix-default
server_nxnode_echo: NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
session_status EB87877BAEC85F96E25CC121B86B9BA9 Running
NX> 105 server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye

Session log from the client:

Info: Display running with pid '2200' and handler '0xc0782'.

NXPROXY - Version 3.4.0

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

Info: Proxy running in client mode with pid '2628'.
Session: Starting session at 'Mon Feb  1 21:07:19 2010'.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-desktop'. Assuming agent session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method 'adaptive-9' with session 'unix-desktop'.
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'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Mon Feb  1 21:07:19 2010'.

Offline

#2 2010-02-02 20:34:30

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Can't connect to virtualized guest FreeNX from host

It is not obligatory try to change the port. I supposed you know that the ports under 1024 have to be open be root.

Offline

#3 2010-02-02 21:01:54

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Can't connect to virtualized guest FreeNX from host

You mean the SSH port? It is open and works fine, i can ssh into the VM.

Offline

Board footer

Powered by FluxBB