[FreeNX-kNX] The nomachine window dissapears when connecting to freenx from windows 7
Marcelo Taube
mail.marcelo.taube at gmail.com
Thu Jun 21 13:28:39 UTC 2012
Hi
I am trying to connect to my workstation where i installed freenx server.
It is a fedora 16.
I open the nomachine client in my windows 7 laptop, configure for shadow
session, enter password and select the session from the list, the nx screen
pops up displaying the nx symbol and immediately dissapears.
If i do the same from the local linux desktop where freenx is running the
nx window works properly and shows my Xsession.
There are no firewalls configured ini any of the computers and they share
the same LAN.
It is strange that I get no error message in the windows client, just the
window gets hidden. The server continues to insist that the session is
established and running (if i try to connect from another client). I see
that the nxnode and nxagent processes are up and running and that there is
a opened TCP connectiong to the client. As if everything was working
properly but i see no window opened.
When i check the nxlogs I don't see much difference between the two
connections. The file nxserver.log looks almost the same.
The .nx directory looks pretty ok.
I made real effort to fix this but i was not able to understand what is the
problem .
Anyway, I was hoping that someone here could help. I attach log files and
outputs in order to make easier on you to help me.
Thanks :)
Marcelo
(notice that in all this logs my domain name and ip address where changed
because of privacy issues)
*In .nx directory after connecting from windows:*
*errors file is emptu*
*options:*
nx/nx,keyboard=pc102/en_US,client=winnt,cache=16M,images=64M,link=adsl,nodelay=1,type=shadow,clipboard=both,cleanup=0,product=LFE/None/LFEN/None,shmem=1,backingstore=1,shpix=1,accept=11.21.30.65,cookie=e837a1e993d9a7b058fda822654fb3a8,id=marcelot-fd-2005-B44575C2813A4B3EBA80FDFC53B8B6A8,samba=0,media=0,menu=1:2005
*session:*
NXAGENT - Version 3.5.0
Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '20265'.
Session: Starting session at 'Thu Jun 21 15:48:47 2012'.
Info: Proxy running in server mode with pid '20265'.
Info: Waiting for connection from '11.21.30.65' on port '6005'.
Info: Accepted connection from '11.21.30.65'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using agent parameters 5000/10/50/0/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'shadow'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':2005'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/0/0K.
Info: Using alpha channel in render extension.
Info: Using local device configuration changes.
Poller::shmInit: WARNING! Couldn't set uid for shm segment.
Session: Session started at 'Thu Jun 21 15:48:52 2012'.
Info: Screen [0] resized to geometry [1920x1200] fullscreen [1].
*/var/log/nx/nxserver.log when i succeed (connecting from linux):*
-- NX SERVER START: -c /usr/libexec/nx/nxserver - ORIG_COMMAND=
-- NX SERVER START: - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
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: marcelot
NX> 102 Password:
NX> 103 Welcome to: marcelot-fd user: marcelot
NX> 105 listsession --type="shadow"
NX> 127 Sessions list of user '.*' for reconnect:
Display Type Session ID Options Depth
Screen Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
0 Local 679AF1D9781BC7B4AC144FD0EB3564FC --------
Running X0 (Local)
2 Local 4E7C5D0D34C902895701B9845D63EF29 --------
Running X2 (Local)
2 Local A644E549A262F52F302853E73AD6A143 --------
Running X2 (Local)
0 Local BE77ED951144F03C3A18C25774D7E3A1 --------
Running X0 (Local)
NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="adsl" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="0" --session="marcelot" --type="shadow"
--client="linux" --keyboard="pc105/us"
--id="BE77ED951144F03C3A18C25774D7E3A1" --display="0"
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 700 Session id: marcelot-fd-2005-07B578C6467D56E783F010E8A40024DC
NX> 705 Session display: 2005
NX> 703 Session type: shadow
NX> 701 Proxy cookie: 815c12877f87c251cce1730b11533ac4
NX> 702 Proxy IP: 11.21.20.46
NX> 706 Agent cookie: 815c12877f87c251cce1730b11533ac4
NX> 704 Session cache: shadow
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1009 Session status: terminating
Info: Closing connection to slave with pid 18644.
1001 Bye.
NX> 1006 Session status: closed
NX> 1001 Bye.
Info: Closing connection to slave with pid 18644.
*/var/log/nx/nxserver.log when i succeed (connecting from windows):*
Info: Using fds #4 and #3 for communication with nxnode.
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: marcelot
NX> 102 Password:
NX> 103 Welcome to: marcelot-fd user: marcelot
NX> 105 listsession --type="shadow"
NX> 127 Sessions list of user '.*' for reconnect:
Display Type Session ID Options Depth
Screen Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
0 Local 679AF1D9781BC7B4AC144FD0EB3564FC --------
Running X0 (Local)
2 Local 4E7C5D0D34C902895701B9845D63EF29 --------
Running X2 (Local)
2 Local A644E549A262F52F302853E73AD6A143 --------
Running X2 (Local)
0 Local BE77ED951144F03C3A18C25774D7E3A1 --------
Running X0 (Local)
NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="adsl" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="0" --session="marcelot" --type="shadow"
--client="linux" --keyboard="pc105/us"
--id="BE77ED951144F03C3A18C25774D7E3A1" --display="0"
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 700 Session id: marcelot-fd-2005-07B578C6467D56E783F010E8A40024DC
NX> 705 Session display: 2005
NX> 703 Session type: shadow
NX> 701 Proxy cookie: 815c12877f87c251cce1730b11533ac4
NX> 702 Proxy IP: 11.21.20.46
NX> 706 Agent cookie: 815c12877f87c251cce1730b11533ac4
NX> 704 Session cache: shadow
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1009 Session status: terminating
Info: Closing connection to slave with pid 18644.
1001 Bye.
NX> 1006 Session status: closed
NX> 1001 Bye.
Info: Closing connection to slave with pid 18644.
*Open processes in server after connecting from windows:*
# ps ax | grep nx
17260 ? Ss 0:00 sshd: nx [priv]
17262 ? S 0:00 sshd: nx at notty
17263 ? Ss 0:00 /bin/bash /usr/libexec/nx/nxserver
19437 ? Ss 0:00 sshd: nx [priv]
19439 ? S 0:00 sshd: nx at notty
19440 ? Ss 0:00 /bin/bash /usr/libexec/nx/nxserver
19587 ? S 0:00 /bin/bash /usr/libexec/nx/nxserver
19588 ? S 0:00 /usr/bin/expect /usr/libexec/nx/nxnode-login --
ssh marcelot 22 /usr/libexec/nx/nxnode --slave
19589 pts/20 Ss+ 0:00 ssh -2 -x -l marcelot 127.0.0.1 -o
NumberOfPasswordPrompts 1 -p 22 /usr/libexec/nx/nxnode --slave
19597 ? Ss 0:00 /bin/bash /usr/libexec/nx/nxnode --slave
19995 ? S 0:00 /bin/bash /usr/libexec/nx/nxserver
19998 ? S 0:00 /bin/bash /usr/libexec/nx/nxserver
19999 ? S 0:00 /bin/bash /usr/libexec/nx/nxserver
20014 ? S 0:00 /bin/bash /usr/libexec/nx/nxserver
20015 ? S 0:00 tee -a /var/log/nx/nxserver.log
20016 ? S 0:00 /bin/bash /usr/libexec/nx/nxnode --slave
20018 ? S 0:00 /bin/bash /usr/libexec/nx/nxnode --startsession
20255 ? S 0:00 /bin/bash /usr/libexec/nx/nxnode --startsession
20258 ? S 0:00 /bin/bash /usr/libexec/nx/nxnode --startsession
20259 ? S 0:00 tee
/home/marcelot/.nx/C-marcelot-fd-2005-B44575C2813A4B3EBA80FDFC53B8B6A8/session
20260 ? S 0:00 /bin/bash /usr/libexec/nx/nxnode --startsession
20265 ? S 0:22 /usr/libexec/nx/nxagent -nopersistent -S -shadow
:0 -shadowmode 1 -name NX - marcelot at marcelot-fd:2005 - marcelo (GPL
Edition) -option
/home/marcelot/.nx/C-marcelot-fd-2005-B44575C2813A4B3EBA80FDFC53B8B6A8/options
-nolisten tcp :2005
*Open connectiongs in server after connecting from windows:*
# lsof -i | grep nx
sshd 17262 nx 3u IPv4 2311801 0t0 TCP 11.21.20.46:ssh->
netsrv.mydomain.com:54273 (ESTABLISHED)
sshd 17262 nx 9u IPv6 2311835 0t0 TCP
localhost:x11-ssh-offset (LISTEN)
sshd 17262 nx 10u IPv4 2311836 0t0 TCP
localhost:x11-ssh-offset (LISTEN)
sshd 19439 nx 3u IPv4 2340061 0t0 TCP 11.21.20.46:ssh->
11.21.30.65:54458 (ESTABLISHED)
sshd 19439 nx 9u IPv6 2340081 0t0 TCP localhost:6012
(LISTEN)
sshd 19439 nx 10u IPv4 2340082 0t0 TCP localhost:6012
(LISTEN)
ssh 19589 nx 3u IPv4 2335584 0t0 TCP
localhost:34930->localhost:ssh (ESTABLISHED)
nxagent 20265 marcelot 9u IPv4 2340335 0t0 TCP 11.21.20.46:6005
->11.21.30.65:54462 (ESTABLISHED)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120621/06f57ac1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node.conf
Type: application/octet-stream
Size: 22602 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120621/06f57ac1/attachment.obj>
More information about the FreeNX-kNX
mailing list