ericmckean / neatx

Automatically exported from code.google.com/p/neatx
0 stars 0 forks source link

Unable to resume a session on Vista error : Could not find ':' in DISPLAY: #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a session
2. NXClient hangs
3.

What is the expected output? What do you see instead?
Login screen. An error.

What version of the product are you using? On what operating system?
Neatx SVN revision 40, NXClient 3.3.0-6.

Dump of error : 

NX> 203 NXSSH running with pid: 496
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: XX.XX.XX.XX on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.3.0 - GPL
NX> 105 Hello nxclient - version 3.3.0
NX> 134 Accepted protocol: 3.3.0
NX> 105 Set SHELL_MODE: SHELL
NX> 105 Set AUTH_MODE: PASSWORD
NX> 105 Login
NX> 101 User: 
NX> 102 Password: **********
Could not find ':' in DISPLAY: 
NX> 103 Welcome to: somehost.someserver.somewhere user: XXXX
NX> 105 Listsession --user="XXXX" --status="suspended,running"
--geometry="1366x768x32+render" --type="unix-kde"
NX> 127 Session list of user 'XXXX':
Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
716     unix-kde         FE0072C80D3B079EB87DEC446BB936E6 -RD--PSA    24
1366x738       Suspended   MyVPS

NX> 148 Server capacity: not reached for user: XXXX
NX> 105 Restoresession  --link="adsl" --backingstore="1" --encryption="1"
--cache="32m" --images="64m" --shmem="1" 
--shpix="1" --strict="0" --composite="1" --media="0" --session="MyVPS"
--type="unix-kde" --geometry="1366x738" 
--client="winnt" --keyboard="pc105/en_us"
--id="fe0072c80d3b079eb87dec446bb936e6" --resize="1"
NX> 280 Exiting on signal: 15

Original issue reported on code.google.com by i...@unity-web.ch on 24 Aug 2009 at 9:07

GoogleCodeExporter commented 9 years ago
This is pretty odd. Can you please post the full session logs from 
/var/log/user.log
when this happens? Thanks.

Original comment by kormat on 30 Aug 2009 at 12:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for the delay, here's the log file.

Original comment by i...@unity-web.ch on 2 Sep 2009 at 12:41

Attachments:

GoogleCodeExporter commented 9 years ago
There seem to be two seperate problems. One is the "':' in DISPLAY" error, and 
the
other is the failure to resume the session.

For the former, can you tell me what happens if you run this as the nx user?

  /bin/su XXXX -c 'cd && /usr/local/lib/neatx/nxserver --proto=3030000 -- XXXX'

I suspect it's su (or some part of pam/login process) that's causing the 
$DISPLAY
error. Neatx never reads that variable.

As for the latter, i'm puzzled as to why there were no further messages from the
session after this:

Aug 24 17:14:12 myvps1 nxnode[16712]: DEBUG nxnode:154 Resuming session

Can you tell me if the nxnode simply exits at that point? I'd have expected log
entries from it about writing session options, and sending SIGHUP to nxagent.

Original comment by kormat on 8 Sep 2009 at 5:48

GoogleCodeExporter commented 9 years ago
Here's the output : 

NX> 103 Welcome to: somehost.someserver.somewhere user: XXXX
NX> 105

Nothing happens next.

Original comment by i...@unity-web.ch on 15 Sep 2009 at 1:05

GoogleCodeExporter commented 9 years ago
Exactly the same error using Nomachine NX Client 3.3.0-6 from Vista.

However, my user.log comes with a stacktrace.

Original comment by techtonik@gmail.com on 3 Oct 2009 at 6:19

Attachments:

GoogleCodeExporter commented 9 years ago
Can you both tell me what server distro/release you're using, please? I don't 
have
access to a vista box myself, i've tested with windows 7 with no luck.

@techtonik:
That error looks like issues #21 / #23.

Original comment by kormat on 11 Oct 2009 at 1:32

GoogleCodeExporter commented 9 years ago
Also, it would be useful to know if the "Could not find ':' in DISPLAY: " error
happens when you use a non-vista client OS.

Original comment by kormat on 11 Oct 2009 at 2:18

GoogleCodeExporter commented 9 years ago
Ubuntu 9.10 (karmic) with neatx server from https://edge.launchpad.net/~freenx-
team/+archive/ppa under version 0.3.1-0ubuntu4~karmic1

Unfortunately, I do not have any other non-vista desktop box at my disposal at 
this 
time.

@kormat: I can't get to the step with session names in my client.

Original comment by techtonik@gmail.com on 12 Oct 2009 at 6:41

GoogleCodeExporter commented 9 years ago
Seems like there is indeed issue with inability to resume session after reset 
on server 
side like described in issue #21

When I cleaned up /var/lib/neatx/sessions I could connect again under the same 
session 
name. Otherwise I have to rename session to something else (the similar 
workaround as 
in issue #19)

Original comment by techtonik@gmail.com on 7 Nov 2009 at 1:47

GoogleCodeExporter commented 9 years ago
Just ran into the same issue with 0.3.1.  Thanks for pointing to the workaround.

Original comment by dantrevino on 18 Feb 2010 at 4:42