windows shadowing of local session disconnects immediately, works in linux though
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FreeNX Server |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using freenx-server from freenx-
Shadowing local sessions works fine from linux clients, both in the nomachine web application (java applet) and nomachine linux client. However, shadowing local sessions fails on windows clients (tested on windows xp and windows 7), with an immediate disconnect.
I used to use the nomachine free server and it didn't have the problem with shadowing sessions from windows.
Freenx-0.7.3 will authenticate fine from windows, but there is a delay once the local session is clicked on and before the display window is opened, that isn't there when I connect from Linux. As soon as it opens the display window and shows the !M icon, it closes, and gives an error:
The connection with the remote server was shut down.
Please check the state of your network connection.
I am able to shadow existing nx sessions from windows, but not the local session. However, I can shadow the local session from linux.
This happens from both the web application and the desktop application (as expected).
The other weird thing is that when there are more sessions open (shadowing the local session) and you try to select them from the dropdown list in the nomachine connection dialog, it will hop back to the top one in the list (which is not the local session). If I hold down control, and click Attach it will attach but still fail as above.
Here is my package list (from dpkg):
rc freenx-media 0.7.3+teambzr10
ii freenx-server 0.7.3+teambzr10
ri freenx-
ii libxcompshad3 3.3.0-2-
See below for my nxserver log. I set logging to 7.
I looked through node.conf but didn't see any particular issues.
If this issue is corrected in new builds and I can fix it by building from source please let me know (or if there are new packages ).
NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="modem" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --imagecompress
Info: Using /etc/nxserver/nxacl to change session parameters or deny session.
&link=modem&
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
nxnode_reader: NX> 700 Session id: my.server.
nxnode_reader: NX> 705 Session display: 1009
nxnode_reader: NX> 703 Session type: shadow
nxnode_reader: NX> 701 Proxy cookie: d047aade8020469
nxnode_reader: NX> 702 Proxy IP: 127.0.1.1
nxnode_reader: NX> 706 Agent cookie: d047aade8020469
nxnode_reader: NX> 704 Session cache: shadow
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 700 Session id: my.server.
NX> 705 Session display: 1009
NX> 703 Session type: shadow
NX> 701 Proxy cookie: d047aade8020469
NX> 702 Proxy IP: 127.0.1.1
NX> 706 Agent cookie: d047aade8020469
NX> 704 Session cache: shadow
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 700 Session id: my.server.
server_nxnode_echo: NX> 705 Session display: 1009
server_nxnode_echo: NX> 703 Session type: shadow
server_nxnode_echo: NX> 701 Proxy cookie: d047aade8020469
server_nxnode_echo: NX> 702 Proxy IP: 127.0.1.1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
NX> 1006 Session status: running
server_nxnode_echo: NX> 706 Agent cookie: d047aade8020469
server_nxnode_echo: NX> 704 Session cache: shadow
server_nxnode_echo: NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 1009 Session status: starting
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
session_status D6E125FDBE741B0
NX> 105 server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
Info: Closing connection to slave with pid 30207.
nxnode_reader: 1001 Bye.
1001 Bye.
nxnode_reader: NX> 1001 Bye.
NX> 1001 Bye.
server_nxnode_echo: NX> 1001 Bye.
Info: Closing connection to slave with pid 30207.
I will have a look at this on Saturday. It seems to be a video display color depth issue. We had a similar problem with session resuming a while back. If the shadow session tries to start in 24bit color depth but the server tries to match the color depth that could cause a problem. Windows sessions now are almost always 32bit color. It can be fixed because 24bit color in Linux and 32bit color in windows is still for the most part compatible.