GithubHelp home page GithubHelp logo

neatx's People

Watchers

 avatar

neatx's Issues

Cleanup nxagent options and -display parameters

Currently Neatx differs substantially from !M NX and FreeNX on what options 
are passed to nxagent, in the options file and especially in the -display 
param. This needs to be cleaned up.

Original issue reported on code.google.com by kormat on 19 Feb 2010 at 12:56

Proper documentation is missing

I tried to set neatx up on ubuntu jaunty, but I had to guess how to do it.
Following the INSTALL stopped at "./autogen.sh", because that file is
missing from the package, so I got SVN revision 9 then and tried again. I
guessed, that I should try to connect with Nomachine's NX client, but
connecting fails with the following message:

NX> 203 NXSSH running with pid: 2332
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: 192.168.123.1 on port: 522
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

I copied /usr/local/share/neatx/authorized_keys.nomachine to
~nx/.ssh/authorized_keys as it's said in INSTALL. I'm probably doing
something wrong, but I could not find any information on the subject...

Original issue reported on code.google.com by nikoudel on 8 Jul 2009 at 12:29

Unable to make in FreeBSD

What steps will reproduce the problem?
1. make neatx in FreeBSD 7.0-RELEASE
2.
3.

What is the expected output? What do you see instead?
# make
make  all-am
gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -
DPKGLIBDIR=\"/usr/local/lib/neatx\" -g -O2 -MT fdcopy.o -MD -MP -MF 
.deps/fdcopy.Tpo -c -o fdcopy.o `test -f 'src/fdcopy.c' || echo 
'./'`src/fdcopy.c
mv -f .deps/fdcopy.Tpo .deps/fdcopy.Po
gcc -Wall -Werror -DPKGLIBDIR=\"/usr/local/lib/neatx\" -g -O2   -o 
src/fdcopy fdcopy.o  
/usr/local/bin/gmkdir -p autotools  doc  extras  lib  lib/app  src  test  
test/python
touch stamp-directories
set -e;  progname=`basename src/nxnode-wrapper | sed -e 's/-wrapper//'`;  
./autotools/gen-log-wrapper "/usr/local/lib/neatx/$progname" 
"/usr/local/lib/python2.5/site-packages" > src/nxnode-wrapper || rm -f 
src/nxnode-wrapper
chmod u+x src/nxnode-wrapper
set -e;  progname=`basename src/nxserver-login-wrapper | sed -e 's/-
wrapper//'`;  ./autotools/gen-log-wrapper "/usr/local/lib/neatx/$progname" 
"/usr/local/lib/python2.5/site-packages" > src/nxserver-login-wrapper || rm 
-f src/nxserver-login-wrapper
chmod u+x src/nxserver-login-wrapper
set -e;  module=`basename src/nxdialog | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxdialog || rm -f src/nxdialog
chmod u+x src/nxdialog
set -e;  module=`basename src/nxnode | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxnode || rm -f src/nxnode
chmod u+x src/nxnode
set -e;  module=`basename src/nxserver | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxserver || rm -f src/nxserver
chmod u+x src/nxserver
set -e;  module=`basename src/nxserver-login | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxserver-login || rm -f src/nxserver-login
chmod u+x src/nxserver-login
set -e;  { echo '# This file is automatically generated, do not edit!';  
echo '#';  echo '';  echo '"""Build-time configuration.';  echo ''; echo 
'This file is autogenerated by the build process.';  echo 'For any changes 
you need to re-run ./configure and';  echo 'not edit by hand.';  echo '';  
echo '"""';  echo '';  echo "PACKAGE_VERSION = '0.3.1'";  echo 
"VERSION_MAJOR = '0'";  echo "VERSION_MINOR = '3'";  echo "VERSION_REVISION 
= '1'";  echo "VERSION_SUFFIX = ''";  echo "VERSION_FULL = '0.3.1'";  echo 
"LOCALSTATEDIR = '/usr/local/var'";  echo "SYSCONFDIR = '/usr/local/etc'";  
echo "PKGLIBDIR = '/usr/local/lib/neatx'";  } > lib/_autoconf.py
set -e;  { echo 's#@PREFIX@#/usr/local#g';  echo 
's#@SYSCONFDIR@#/usr/local/etc#g';  echo 
's#@LOCALSTATEDIR@#/usr/local/var#g';  echo 
's#@SBINDIR@#/usr/local/sbin#g';  echo 
's#@PKGLIBDIR@#/usr/local/lib/neatx#g';  echo 
's#@PKGPYTHONDIR@#/usr/local/lib/python2.5/site-packages/neatx#g';  } > 
autotools/replace_vars.sed
sed -f autotools/replace_vars.sed <  > extras/upload
Syntax error: redirection unexpected
*** Error code 2

Stop in /root/neatx-read-only2/neatx.
*** Error code 1

Stop in /root/neatx-read-only2/neatx.


What version of the product are you using? On what operating system?
FreeBSD 7.0, neatx r43

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Oct 2009 at 11:11

Connect with user interface other than in English language

Firt, thx for the great job guys!

What steps will reproduce the problem?
1.install neatx rev. 21 on Ubuntu 9.04 desktop x86_64
2.language is set as French
3.connect to the server (tests are under Gnome) 

->What is the expected output? 
Pannel and applications should be in French (that's the case when I'm
connecting on the "server" w/o remote connection)

What do you see instead?
Pannel and application are in English (when using neatx remote connection)
but in System -> Administration -> Language support : French is set

What version of the product are you using? On what operating system?
Server is neatx rev. 21 on Ubuntu 9.04 desktop x86_64
Clients are win32/ubuntu 9.04 desktop (both 3.3.0-6)

Please provide any additional information below.
had no problem with FreeNX server, is this a missing option during logging
time?

Original issue reported on code.google.com by [email protected] on 22 Jul 2009 at 3:48

Failed QueryTree requests flood logs

I have no idea how to reproduce this, but my hard disk just got filled with 
about 400 gigabytes of this warning in the logs:

  Nov 23 07:42:19 nauhuri nxnode[25544]: DEBUG daemon:461 
/usr/bin/nxagent[25548] stderr: nxagentHandleReparentNotify: WARNING! Failed 
QueryTree request.

The logs contain over 2000 copies of this warning each second.

No NX client connections were made for several days before the warnings, 
during the warnings nor after them.

I'm running neatx 0.3.1 from https://launchpad.net/~freenx-team/+archive/ppa 
on Mythbuntu 9.10.

Original issue reported on code.google.com by [email protected] on 24 Nov 2009 at 8:45

Local session sharing

What steps will reproduce the problem?
1.Login to Linux SERVER locally into GNOME
2.Connect from remote CLIENT with NOMACHINE NX in shadow mode 
3.See that available session list is empty

What is the expected output? What do you see instead?
Supposed to see at least one active session to attach to.

What version of the product are you using? On what operating system?
NX Client 3.3.0-6 Windows Vista, NX 3.3.0

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 3 Oct 2009 at 2:25

NX Window not closing when Logging out

What steps will reproduce the problem?
1.connect to the neatx server using nx client(as usual)
2.try to log out with the top right button and choose "Log out"
3.Top and bottom Panel tabs "go away"

What is the expected output?
NX window should close itself and the session should be terminated

What do you see instead?
Panel tabs are removed but session is still alive. I have to click on the
top right X and choose the "terminate" button.
I don't if it has something to deal with, but I could see in
/var/log/syslog this:
gnome-session[7195]: GLib-GObject-CRITICAL: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

What version of the product are you using? On what operating system?
Server is neatx rev. 24 on Ubuntu 9.04 desktop x86_64
Clients are win32/ubuntu 9.04 desktop (both 3.3.0-6)

Please provide any additional information below.
OK, that's not critical, but it could be a cause of trouble for users in
fullscreen mode 

Original issue reported on code.google.com by [email protected] on 23 Jul 2009 at 1:49

ValueError: invalid literal for int() with base 10: '1:3'

What steps will reproduce the problem?
1. Install from source svn revision 9
2. Install nxclient and nxnode (latest)
3. Try to connect

What is the expected output? What do you see instead?

I expect no errors, but the following error appears in syslog:

Jul  8 23:49:35 descent nxserver-login[19310]: ERROR Caught exception
Jul  8 23:49:35 descent nxserver-login[19310]: Traceback (most recent call 
last):
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/cli.py", line 62, in Main
Jul  8 23:49:35 descent nxserver-login[19310]:     self.Run()
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/app/nxserver_login.py", line 288, in Run
Jul  8 23:49:35 descent nxserver-login[19310]:     LoginServer
(self.cfg).Start()
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/protocol.py", line 135, in Start
Jul  8 23:49:35 descent nxserver-login[19310]:     self.SendBanner()
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/app/nxserver_login.py", line 280, in SendBanne
Jul  8 23:49:35 descent nxserver-login[19310]:     utils.FormatVersion
(self._cfg.nx_protocol_version, ".",
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/config.py", line 137, in _GetNxProtocolVersion
Jul  8 23:49:35 descent nxserver-login[19310]:     
constants.PROTOCOL_VERSION_DIGITS)
Jul  8 23:49:35 descent nxserver-login[19310]:   File "/usr/lib/python2.6/
dist-packages/neatx/utils.py", line 820, in ParseVersion
Jul  8 23:49:35 descent nxserver-login[19310]:     value = int(parts[idx])
Jul  8 23:49:35 descent nxserver-login[19310]: ValueError: invalid literal 
for int() with base 10: '1:3'

What version of the product are you using? On what operating system?
ubuntu 9.04 x86-64

Please provide any additional information below.
I fixed this by changing 
File "/usr/lib/python2.6/dist-packages/neatx/utils.py", line 820 to 
value = 13

Original issue reported on code.google.com by [email protected] on 8 Jul 2009 at 8:11

Source code of fdcopy.c

I've been reading fdcopy.c.  main() checks "if (argc < 1) usage();". 
That's unlikely to ever be true since progname is argv[0] so argc is always
at least 1.  It should be argc < 2 to check that no arguments have been given.

Speaking of progname, it doesn't skip over any directories so diagnostics
will include the full path of the executable.  One way is: (progname =
strrchr(*argv, '/')) ? progname++ : (progname = *argv);

parse_number is checking errno after strtoul() but that's strictly
incorrect AIUI.  It isn't enough to zero errno before the call, errno's
value should only be checked after strtoul() has returned ULONG_MAX to
indicate there's a problem.  parse_number is also happy to handle a
negative, it may be better to trap that earlier rather than let it pass
further through the code.

Original issue reported on code.google.com by [email protected] on 14 Jul 2009 at 9:28

SuAuth: bad su args on BSD

on BSD or Solaris: su command take different arguments
so the SuAuth simply doesn't work.

auth.py line 190:
return [constants.SU, username, "-c", cmd]

Original issue reported on code.google.com by [email protected] on 22 Jul 2009 at 11:19

nxagent parse error

What steps will reproduce the problem?
1.Connect via nx with a valid password.

What is the expected output? What do you see instead?
Session should connect - instead error message generated:
NX> 500 Error: Session '32AC2C467ABAC02616CF26896AA3B79E' has 
status 'terminated', aborting


What version of the product are you using? On what operating system?
Gentoo - neatx v 0.3.1_p43-r1  (I'm sure the -r1 is a Gentoo addition).
nx v 3.3.0-r1

Please provide any additional information below.

See attached extra info (too long for comment field).

The bit about xrdb not existing is probably a red herring - the file does 
exist and is world executable.  It does execute fine by ordinary users.  
The first error I saw was the error when parsing the options by nxagent.  
I could not find an example anywhere of what a valid set of options looks 
like.

Original issue reported on code.google.com by [email protected] on 11 Oct 2009 at 11:29

Attachments:

Unable to open display nx/nx,product=Neatx-GPL...

What steps will reproduce the problem?
1. install svn revision 9
2. install nxclient, nxnode from nomachine
3. try to connect

What is the expected output? What do you see instead?
Jul  9 00:07:28 descent nxserver[23036]: INFO Starting nxserver for user 
descent
Jul  9 00:07:31 descent nxserver[23036]: INFO Starting new session 
'1962CC9F82030674C46E7BA9C3CE54DD'
Jul  9 00:07:31 descent nxserver[23036]: INFO Connecting to '/usr/local/
var/lib/neatx/sessions/1962CC9F82030674C46E7BA9C3CE54DD/nxnode.sock'
Jul  9 00:07:31 descent nxnode-wrapper[23045]: Started
Jul  9 00:07:31 descent nxnode-wrapper[23045]: /usr/lib/python2.6/dist-
packages/neatx/session.py:27: DeprecationWarning: the md5 module is 
deprecated; use hashlib instead
Jul  9 00:07:31 descent nxnode-wrapper[23045]:   import md5
Jul  9 00:07:31 descent nxnode[23047]: INFO Connection established
Jul  9 00:07:31 descent nxnode[23047]: INFO Received request: u'start', 
{u'geometry': u'1024x768+328+98', u'encryption': u'1', u'cache': u'16M', 
u'kbtype': u'pc105/us', u'screeninfo': u'1024x768x24+render', u'session': 
u'local', u'link': u'adsl', u'media': u'0', u'images': u'64M', u'type': 
u'unix-gnome', u'backingstore': u'1'}
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting xauth for [(':849', 
'5F87DF55524FB95E7BD9D9B2BCAFD505'), ('localhost:849', 
'5F87DF55524FB95E7BD9D9B2BCAFD505')]
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting program, 
executable=None, args=['/usr/bin/xauth', '-f', '/usr/local/var/lib/neatx/
sessions/1962CC9F82030674C46E7BA9C3CE54DD/authority']
Jul  9 00:07:31 descent nxserver[23036]: INFO Waiting for session 
'1962CC9F82030674C46E7BA9C3CE54DD' to achieve waiting status
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting nxagent
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting program, 
executable=None, args=['/usr/lib/nx/nxagent', '-D', '-name', u'Neatx - 
[email protected]:849 - local', '-options', '/usr/local/var/
lib/neatx/sessions/1962CC9F82030674C46E7BA9C3CE54DD/options', '-nolisten', 
'tcp', ':849']
Jul  9 00:07:31 descent nxnode[23047]: INFO Matched info agent_pid, PID 
23053
Jul  9 00:07:31 descent nxnode[23047]: INFO Nxagent changed status from 
'created' to 'starting'
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting xrdb
Jul  9 00:07:31 descent nxnode[23047]: INFO Starting program, 
executable=None, args=['/usr/bin/xrdb', '-merge']
Jul  9 00:07:31 descent nxnode[23047]: ERROR Agent error: Aborting session 
with 'Unable to open display 'nx/nx,product=Neatx-
GPL,render=1,composite=1,accept=127.0.0.1,cookie=5F87DF55524FB95E7BD9D9B2BCAFD50
5,id=descent.temple.stunet.ru-849-1962CC9F82030674C46E7BA9C3CE54DD,shpix=1,stric
t=0,clipboard=both,shmem=1,type=gnome,cleanup=0,backingstore=1:849''.
Jul  9 00:07:31 descent nxnode[23047]: INFO Nxagent changed status from 
'starting' to 'terminating'
Jul  9 00:07:31 descent nxnode[23047]: INFO Nxagent changed status from 
'terminating' to 'terminated'
Jul  9 00:07:31 descent nxnode[23047]: INFO Nxagent terminated
Jul  9 00:07:31 descent nxnode[23047]: ERROR /usr/lib/nx/nxagent failed 
(status=1, signal=None)
Jul  9 00:07:31 descent nxnode[23047]: INFO nxagent terminated
Jul  9 00:07:31 descent nxnode-wrapper[23045]: EOF on stderr, exiting
Jul  9 00:07:31 descent nxserver[23036]: ERROR Session 
u'1962CC9F82030674C46E7BA9C3CE54DD' has status u'terminated'
Jul  9 00:07:31 descent nxserver-login[23021]: INFO Waiting for 
authenticated program to finish
Jul  9 00:07:31 descent nxserver-login-wrapper[23017]: EOF on stderr, 
exiting

What version of the product are you using? On what operating system?
ubuntu 9.04 x86_64

Please provide any additional information below.
I haven't found the way to fix it yet. Waiting for comments.

Original issue reported on code.google.com by [email protected] on 8 Jul 2009 at 8:17

segfault in nxdialog

What steps will reproduce the problem?
1. With the setup described below, I log in to my GNOME session and can see
the desktop correctly. I get a warning in GNOME about it not being a
composited desktop, but I suppose that's to be expected.
2. I click the X on the client window to close the session. The same thing
happens if I select "logout" in the session on the host.
3. /var/log/messages on the host displays:
Sep  8 12:02:27 tlacuache-desktop nxnode[21129]: INFO node:405 User
application terminated
Sep  8 12:02:27 tlacuache-desktop nxnode[21129]: INFO daemon:491 Starting
program, executable=None, args=['/usr/lib/neatx/nxdialog', '--dialog',
'error', '--caption', 'Error', '--message', "Application
failed.\n\nCommand: /bin/bash -c '/etc/X11/Xsession gnome-session'\nExit
code: 1\n"]
Sep  8 12:02:27 tlacuache-desktop nxnode[21129]: INFO daemon:519 Child
/usr/lib/neatx/nxdialog[21371] started
Sep  8 12:02:27 tlacuache-desktop nxnode[21129]: INFO node:345 nxagent
terminated
Sep  8 12:02:27 tlacuache-desktop kernel: [19003.042585] nxdialog[21371]:
segfault at 8 ip b77d6bc8 sp bffa0bc0 error 4 in
libgtk-x11-2.0.so.0.1600.1[b76d9000+3a9000]


What is the expected output? What do you see instead?
I never see the "do you want to terminate or disconnect" dialog. Eventually
the client app displays a "no response from server" message and asks if I
want to close.

What version of the product are you using? On what operating system?
I am using neatx trunk (http://neatx.googlecode.com/svn/trunk) at the
current head revision (42). The server is Ubuntu 9.04, "Linux
tlacuache-desktop 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC
2009 i686 GNU/Linux". The client is also ubuntu 9.04, using the latest deb
for nomachine's nxclient. The server is using the latest nxagent from the
freenx ppa.


Original issue reported on code.google.com by [email protected] on 8 Sep 2009 at 6:11

No such file or directory /usr/lib/nx/nxagent

What steps will reproduce the problem?
1. Install svn revision 9
2. Install nxclient, nxnode
3. Try to connect

What is the expected output? What do you see instead?
I expect no errors, but see this in syslog:

nxnode-wrapper[22361]: glib.GError: Failed to execute child process "/usr/
lib/nx/nxagent" (No such file or directory)

What version of the product are you using? On what operating system?
ubuntu 9.04, x86_64

Please provide any additional information below.
Fixed this by linking /usr/NX/bin/nxagent binary to /usr/lib/nx/nxagent

Original issue reported on code.google.com by [email protected] on 8 Jul 2009 at 8:15

Fullscreen mode....isn't

What steps will reproduce the problem?
1. OpenSuSE 11.2 on server with latest neatx
2. OpenSuSE 11.2 on client with nxclient-3.4
3. Create a new session of type unix-key fullscreen

What is the expected output? What do you see instead?
I expect a fullscreen session, but instead get a maximized window.


What version of the product are you using? On what operating system?


Please provide any additional information below.

Running FreeNX on the server (everything else identical -- I have both
installed and switch by changing the "nx" line in /etc/passwd) gives a true
fullscreen session on the client.  This is surprising/disturbing, because
it is using the same client and nxagent -- only neatx vs FreeNX.  Weird.

If I try to SHADOW the neatx fullscreen session (from the same client, with
display set to "same as on server"), I DO get a fullscreen session (it
looks horrible because it has a few more Y pixels, so all the fonts are
stretched a bit....)  

If I use a Windows XP system with nxclient-3.4 as the client, I DO get a
fullscreen session and it works beautifully.

I'm trying to learn enough about the code and protocols to see if I can
find out what is going on.  One thing I did notice in the log file is an
extra message from nxagent about resizing the screen/matching geometry
change as it was starting up.  I'm attaching the server log file in case
that helps.

Original issue reported on code.google.com by [email protected] on 9 Feb 2010 at 12:08

Attachments:

connect times out

What steps will reproduce the problem?
1. Says 'connecting' but just times out
2. Seems to occur under high load ave (but not really that high)
3. ssh to the machine works fine, seems very responsive

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
an 26 13:21:42 nbecker6 nxserver-login[29818]: INFO nxserver_login:253 
Trying login for user 'nbecker' usi\
ng auth method 'su'
Jan 26 13:21:42 nbecker6 nxserver[29848]: INFO nxserver:689 Starting 
nxserver for user nbecker
Jan 26 13:21:45 nbecker6 nxserver[29848]: INFO nxserver:515 Restoring 
session '93D49F7C6D40B9A790C647F8FF04\
7F95'
Jan 26 13:21:45 nbecker6 nxserver[29848]: INFO nxserver:524 Found session 
'93D49F7C6D40B9A790C647F8FF047F95\
' in session database
Jan 26 13:21:45 nbecker6 nxserver[29848]: INFO node:514 Connecting to 
'/var/lib/neatx/sessions/93D49F7C6D40\
B9A790C647F8FF047F95/nxnode.sock'
Jan 26 13:21:45 nbecker6 nxnode[2154]: INFO nxnode:266 Connection 
established
Jan 26 13:21:45 nbecker6 nxnode[2154]: INFO nxnode:81 Received request: 
'restore', {'session': 'nbecker6', \
'strict': '0', 'composite': '1', 'encryption': '1', 'cache': '16M', 
'shpix': '1', 'geometry': '1680x1022', \
'client': 'linux', 'link': 'adsl', 'shmem': '1', 'media': '0', 'images': 
'64M', 'keyboard': 'pc102/us', 'ty\
pe': 'unix-kde', 'id': '93D49F7C6D40B9A790C647F8FF047F95', 'backingstore': 
'1'}
Jan 26 13:21:45 nbecker6 nxserver[29848]: INFO nxserver:594 Waiting for 
session '93D49F7C6D40B9A790C647F8FF\
047F95' to achieve waiting status
Jan 26 13:22:46 nbecker6 nxserver[29848]: ERROR nxserver:600 Session 
93D49F7C6D40B9A790C647F8FF047F95 has n\
ot achieved waiting status within 60 seconds

Original issue reported on code.google.com by [email protected] on 26 Jan 2010 at 6:24

client link setting ignored

What steps will reproduce the problem?
1. Configure a client session to use 'adsl' link
2. Connect to a neatx server
3. Look at ~/.nx/<sessiondir>/session

What is the expected output? What do you see instead?
Expected:
Info: Using ADSL link parameters 512/24/1/0.

Actual:
Info: Using LAN link parameters 1536/24/1/1.


Original issue reported on code.google.com by kormat on 27 Jul 2009 at 12:08

Connection lost after some minutes

What steps will reproduce the problem?
1. Open new session
2. Wait some minutes
3. Screen freezes
4. Connection lost

What version of the product are you using? On what operating system?

Gentoo x86, 32-bit
# eix -I neatx
[I] net-misc/neatx
     Available versions:  (~)0.3.1_p43-r1
     Installed versions:  0.3.1_p43-r1(00:55:36 11/15/09)
     Homepage:            http://code.google.com/p/neatx/
     Description:         Google implementation of NX server

# eix -I netcat
[I] net-analyzer/netcat
     Available versions:  110-r8 {crypt ipv6 static}
     Installed versions:  110-r8(12:54:16 11/21/09)(crypt ipv6 -static)
     Homepage:            http://nc110.sourceforge.net/
     Description:         the network swiss army knife


Windows nx client from nomachine, latest version.
KDE4 remote session.


Please provide any additional information below.

# grep nx /var/log/messages  | tail -n 50
Nov 21 13:06:09 light nxserver[7996]: INFO nxserver:714 Starting netcat
(localhost:4826)
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Accepted connection from '127.0.0.1'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Connection with remote proxy completed.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using WAN link parameters 768/24/1/1.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using agent parameters 5000/5/50/1/0.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using pack method 'none' with session 'application'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using product 'Neatx-GPL'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using ZLIB data compression 1/1/32.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using ZLIB stream compression 1/1.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: No suitable cache file found.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Listening to X11 connections on display ':826'.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Established X client connection.
Nov 21 13:06:09 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using shared memory parameters 1/1/0/0K.
Nov 21 13:06:10 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Using local device configuration changes.
Nov 21 13:06:13 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Info: Screen [0] resized to geometry [1914x1031].
Nov 21 13:06:13 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:06:13 light nxnode[7478]: INFO agent:388 Matched info geometry
change, new is '1914x1031'
Nov 21 13:06:13 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Session resumed at 'Sat Nov 21 13:06:13 2009'.
Nov 21 13:06:13 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'waiting' to 'running'
Nov 21 13:06:13 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:06:48 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Warning: No data received from remote proxy within 30 seconds.
Nov 21 13:06:48 light nxnode[7478]: WARNING agent:381 Agent warning: No
data received from remote proxy within 30 seconds.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Error: No data received from remote proxy within 120 seconds.
Nov 21 13:08:18 light nxnode[7478]: ERROR agent:376 Agent error: No data
received from remote proxy within 120 seconds.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Display failure detected at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Suspending session at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'running' to 'suspending'
Nov 21 13:08:18 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'
Nov 21 13:08:18 light nxnode[7478]: DEBUG daemon:461 /usr/bin/nxagent[7482]
stderr: Session: Session suspended at 'Sat Nov 21 13:08:18 2009'.
Nov 21 13:08:18 light nxnode[7478]: INFO agent:407 Nxagent changed status
from 'suspending' to 'suspended'
Nov 21 13:08:18 light nxnode[7478]: DEBUG session:288 Writing session
'7470B9418318BC8DE07B26305B9EA423' to
'/var/lib/neatx/sessions/7470B9418318BC8DE07B26305B9EA423/neatx.data'

Original issue reported on code.google.com by [email protected] on 21 Nov 2009 at 7:20

Missing dependency.

What steps will reproduce the problem?
1. Not having xauth installed

What is the expected output? What do you see instead?
nxclient shows:
NX> 105 Start session with: --rootless="1" --virtualdesktop="0"
--link="lan" --backingstore="1" --encryption="1" --cache="16M"
--images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1"
--media="0" --session="Paranoid" --type="unix-console" --client="winnt"
--kbload=" --kbload=pc102/en_US" --keymap=" --keymap=en_US"
--keyboard="pc102/en_US" --aux="1" --screeninfo="1024x768x32+render"
NX> 500 Internal error
NX> 999 Bye.
NX> 280 Exiting on signal: 15

nxserver:

Jul 15 23:04:55 paranoid nxserver-login[19269]: INFO nxserver_login:248
Trying login for user bszmyd
Jul 15 23:04:56 paranoid nxserver[19275]: INFO nxserver:689 Starting
nxserver for user bszmyd
Jul 15 23:04:59 paranoid nxserver[19275]: INFO nxserver:377 Starting new
session '94FE500D4E238AE050E0443DA636EBB8'
Jul 15 23:04:59 paranoid nxserver[19275]: INFO node:514 Connecting to
'/usr/local/var/lib/neatx/sessions/94FE500D4E238AE
Jul 15 23:04:59 paranoid nxnode[19334]: INFO nxnode:266 Connection established
Jul 15 23:04:59 paranoid nxnode[19334]: INFO nxnode:81 Received request:
u'start', {u'session': u'Paranoid', u'kbload':
Jul 15 23:04:59 paranoid nxnode[19334]: INFO node:290 Starting xauth for
[(':267', '98AC441B0DAD8855EB39C18F43C0FF3A'),
Jul 15 23:04:59 paranoid nxnode[19334]: INFO daemon:486 Starting program,
executable=None, args=['/usr/bin/xauth', '-f',
Jul 15 23:04:59 paranoid nxserver-login[19269]: INFO auth:141 Waiting for
authenticated program to finish

What version of the product are you using? On what operating system?

SVN of neatx (r15) on Ubuntu (9.10)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Jul 2009 at 5:12

Session Suspends on disconnect

What steps will reproduce the problem?
1. Start Session
2. Disconnect
3.

What is the expected output? What do you see instead?

Session RUNS in background. Session seems to pause


What version of the product are you using? On what operating system?

latest on ubuntu

Please provide any additional information below.

I have a feeling this is intended behaviour. However, this is what I am
experiencing. If i start a session (say gnome) and start a vnc server (like
vino). If i connect with both NX and VNC when i disconnect with NX the vino
server hangs. It seems that all programs running in the session pause until
i re-connect. Is this how NX is supposed to work? is there any way to keep
them running in the background? I want to use NX to administer some gui
applications on a headless box.

Thanks

Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 9:26

Please add neatx support to OpenSSH

It would be really great if you could have NX protocol working over all X-
tunneled SSH connections for rootless windows, e.g. the command

ssh -CX user@host

would become

ssh -NX user@host

..and the compression protocol used would switch to NX.  I'm guessing there 
would be very little required on the server side to enable neatx 
integration of this sort.  Client-side integration would probably require 
integration of the nxcl library into the OpenSSH client in some way, or at 
least making OpenSSH call out to a viewer.


Original issue reported on code.google.com by luke.hutch on 6 Nov 2009 at 12:05

neatx & NX 3.4.0: Alt Gr keeps stuck

What steps will reproduce the problem?
1. enter a session (resume or create a new one, do not matter)
2. once press the Alt Gr 
3. key remains "pressed", no possibility to write normally from now on

What is the expected output? What do you see instead?
After once pressing Alt Gr normal key operation expected.

What version of the product are you using? On what operating system?
server: rev 59, nxclient 3.4.0-7, nxnode 3.4.0-11, RHEL 5.3
client: nxclient 3.4.0-7, fedora 12, german keyboard

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 May 2010 at 10:19

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

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 [email protected] on 24 Aug 2009 at 9:07

AuthTimeoutError with PAM-enabled su

Hi, I'm trying an ebuild for neatx on Gentoo, and met this problem (close
to issue #14, but with current SVN, and only occurs with PAM)

What steps will reproduce the problem?
1. Install neatx r41
2. Try to login with official nxclient 3.3.0.6
3. Watch debug log

What is the expected output? What do you see instead?
neatx should see the successfull su command and go on, instead it timeouts
(see log below).

What version of the product are you using? On what operating system?
System: Gentoo ~x86 system, with PAM enabled (by default as in most systems)
shadow (for su): 4.1.4.2
neatx revision: SVN r41
NX: 3.3.0
client: 3.3.0.6

Please provide any additional information below.
With the same setup, and disabling pam in shadow, connection is successfull.

Here is the debug log:
Aug 27 15:07:47 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 105 '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:227 <<<
'hello NXCLIENT - Version 3.3.0\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'Hello nxclient - version 3.3.0\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG nxserver_login:111
Got client protocol version 3030000 ('3.3.0'), want 3030000
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 134 Accepted protocol: 3.3.0\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 105 '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:227 <<<
'SET SHELL_MODE SHELL\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'Set SHELL_MODE: SHELL\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 105 '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:227 <<<
'SET AUTH_MODE PASSWORD\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'Set AUTH_MODE: PASSWORD\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 105 '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:227 <<<
'login\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'Login\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 101 User: '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:227 <<<
'bernard\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>> '\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 102 Password: '
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:225 <<<
[hidden]
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'**********\n'
Aug 27 15:07:48 enterprise nxserver-login[17424]: INFO nxserver_login:249
Trying login for user 'bernard' using auth method 'su'
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG auth:50
Authenticating as 'bernard', running ['/usr/lib64/neatx/nxserver',
'--proto=3030000', '--', 'bernard']
Aug 27 15:07:48 enterprise nxserver-login[17424]: DEBUG auth:53 Auth
command ['/usr/lib64/neatx/ttysetup', '/bin/su', 'bernard', '-c', 'cd &&
/usr/lib64/neatx/nxserver --proto=3030000 -- bernard']
Aug 27 15:07:48 enterprise su[17426]: Successful su for bernard by nx
Aug 27 15:07:48 enterprise su[17426]: + /dev/pts/0 nx:bernard
Aug 27 15:07:48 enterprise su[17426]: pam_unix(su:session): session opened
for user bernard by (uid=110)
Aug 27 15:08:18 enterprise nxserver-login[17424]: DEBUG auth:109
Authentication timed out (output='Password: ')
Aug 27 15:08:18 enterprise nxserver-login[17424]: ERROR nxserver_login:264
Error in authentication
Aug 27 15:08:18 enterprise nxserver-login[17424]: Traceback (most recent
call last):
Aug 27 15:08:18 enterprise nxserver-login[17424]:   File
"/usr/lib64/python2.6/site-packages/neatx/app/nxserver_login.py", line 259,
in _TryLogin
Aug 27 15:08:18 enterprise nxserver-login[17424]:    
authenticator.AuthenticateAndRun(username, password, args)
Aug 27 15:08:18 enterprise nxserver-login[17424]:   File
"/usr/lib64/python2.6/site-packages/neatx/auth.py", line 110, in
AuthenticateAndRun
Aug 27 15:08:18 enterprise nxserver-login[17424]:     raise
errors.AuthTimeoutError()
Aug 27 15:08:18 enterprise nxserver-login[17424]: AuthTimeoutError
Aug 27 15:08:18 enterprise nxserver-login[17424]: DEBUG protocol:172 >>>
'NX> 503 ERROR: Internal error.\n'
Aug 27 15:08:18 enterprise sshd[17415]: pam_unix(sshd:session): session
closed for user nx

neatx.conf:
loglevel = debug
nx-protocol-version = 3.3.0
netcat-path = /usr/bin/netcat
xserssion-path = /etc/X11/Sessions/Xsession

Let me know if any pam files or other configuration files may be useful

Original issue reported on code.google.com by [email protected] on 27 Aug 2009 at 2:18

Aborting session with unable to open display

What steps will reproduce the problem?
1.Install neatx on a centOS 5.4 
2. Install nxclient (nomachine) on a windows 7.  
3. Create a session. 

What is the expected output? What do you see instead?

See the Xsession window but i got an internal error from the nx gui client:
"NX> 105 Start session with: --link="lan" --backingstore="1" --
encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --
strict="0" --composite="1" --media="0" --session="LINUXVM5" --type="unix-
gnome" --geometry="1024x768" --client="winnt" --keyboard="pc102/en_US" --
screeninfo="1024x768x32+render"
NX> 500 Internal error"

What version of the product are you using? On what operating system?
It's running on a CentOS 5.4. Version of neatx synchronized on May, 14th.


Please provide any additional information below.

----
Hi, 

I'm trying to make neatx run on a centos 5.4. I downloaded the nxclient for 
my workstation and each time i tried to open a Xsession, i got this error 
below: 

May 17 10:16:00 Xen-srvr1 nxserver[2841]: INFO nxserver:689 Starting 
nxserver for user root
May 17 10:16:20 Xen-srvr1 nxserver[2841]: INFO nxserver:377 Starting new 
session '48DB74A980B269A4CF00A4459A22B8E0'
May 17 10:16:20 Xen-srvr1 nxserver[2841]: INFO node:514 Connecting to 
'/usr/local/var/lib/neatx/sessions/48DB74A980B269A4CF00A4459A22B8E0/nxnode.
sock'
May 17 10:16:20 Xen-srvr1 nxnode[2847]: INFO nxnode:266 Connection 
established
May 17 10:16:20 Xen-srvr1 nxnode[2847]: INFO nxnode:81 Received request: 
'start', {'session': 'LINUXVM5', 'strict': '0', 'composite': '1', 
'encryption': '1', 'cache': '16M', 'geometry': '1024x768', 'screeninfo': 
'1024x768x32+render', 'client': 'winnt', 'link': 'lan', 'shmem': '1', 
'media': '0', 'images': '64M', 'keyboard': 'pc102/en_US', 'type': 'unix-
gnome', 'shpix': '1', 'backingstore': '1'}
May 17 10:16:40 Xen-srvr1 nxserver[2841]: ERROR protocol:165 Error while 
handling line 'startsession  --link="lan" --backingstore="1" --
encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --
strict="0" --composite="1" --media="0" --session="LINUXVM5" --type="unix-
gnome" --geometry="1024x768" --client="winnt" --keyboard="pc102/en_US" --
screeninfo="1024x768x32+render"'
May 17 10:16:40 Xen-srvr1 nxserver[2841]: Traceback (most recent call 
last):
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/protocol.py", line 161, in 
_HandleLine
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     self._handler(line)
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/app/nxserver.py", line 203, 
in __call__
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     return 
self._StartSession(args)
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/app/nxserver.py", line 386, 
in _StartSession
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     
nodeclient.StartSession(parsed_params)
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/node.py", line 604, in 
StartSession
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     return 
self._SendRequest(CMD_STARTSESSION, args)
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/node.py", line 557, in 
_SendRequest
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     resp = 
serializer.LoadJson(self._ReadResponse())
May 17 10:16:40 Xen-srvr1 nxserver[2841]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/node.py", line 593, in 
_ReadResponse
May 17 10:16:40 Xen-srvr1 nxserver[2841]:     data = self._sock.recv(4096)
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO node:290 Starting xauth for 
[(':403', '6055D957519BF73386C3E2DFB2D60507'), ('localhost:403', 
'6055D957519BF73386C3E2DFB2D60507')]
May 17 10:16:40 Xen-srvr1 nxserver[2841]: timeout: timed out
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:491 Starting program, 
executable=None, args=['/usr/bin/xauth', '-f', 
'/usr/local/var/lib/neatx/sessions/48DB74A980B269A4CF00A4459A22B8E0/authori
ty']
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:519 Child 
/usr/bin/xauth[2851] started
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO node:325 Starting nxagent
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]: Traceback (most recent call 
last):
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/daemon.py", line 229, in 
__HandleIO
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]:     return (((cond & 
gobject.IO_IN) and self.__Read(channel) or
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]:   File 
"/usr/local/lib/python2.4/site-packages/neatx/daemon.py", line 195, in 
__Write
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:491 Starting program, 
executable=None, args=['/usr/bin/nxagent', '-D', '-name', 'Neatx - 
root@linux_vm5:403 - LINUXVM5', '-options', 
'/usr/local/var/lib/neatx/sessions/48DB74A980B269A4CF00A4459A22B8E0/options
', '-nolisten', 'tcp', ':403']
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:519 Child 
/usr/bin/nxagent[2857] started
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]:     assert channel == 
self.__channel
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO agent:346 Matched info 
agent_pid, PID 2857
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO agent:409 Nxagent changed 
status from 'created' to 'starting'
May 17 10:16:40 Xen-srvr1 nxnode-wrapper[2844]: AssertionError
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO agent:409 Nxagent changed 
status from 'starting' to 'waiting'
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO node:366 Starting xrdb
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:491 Starting program, 
executable=None, args=['/usr/bin/xrdb', '-merge']
May 17 10:16:40 Xen-srvr1 nxnode[2847]: INFO daemon:519 Child 
/usr/bin/xrdb[2861] started
May 17 10:16:40 Xen-srvr1 nxserver-login[2832]: INFO auth:142 Waiting for 
authenticated program to finish
May 17 10:17:40 Xen-srvr1 nxnode[2847]: ERROR agent:376 Agent error: 
Aborting session with 'Unable to open display 
'nx/nx,options=/usr/local/var/lib/neatx/sessions/48DB74A980B269A4CF00A4459A
22B8E0/options:403''.
May 17 10:17:40 Xen-srvr1 nxnode[2847]: INFO agent:409 Nxagent changed 
status from 'waiting' to 'terminating'
May 17 10:17:40 Xen-srvr1 nxnode[2847]: INFO agent:409 Nxagent changed 
status from 'terminating' to 'terminated'
May 17 10:17:40 Xen-srvr1 nxnode[2847]: INFO agent:457 Nxagent terminated
May 17 10:17:41 Xen-srvr1 nxnode[2847]: ERROR daemon:583 
/usr/bin/nxagent[2857] failed (status=1, signal=None)
May 17 10:17:41 Xen-srvr1 nxnode[2847]: INFO node:345 nxagent terminated

I tried also to clean up the cached files on the client side, and on the 
removed all files on the /var/lib/neatx/sessions/. But I still got the 
error above. 

Do you have any ideas about this issue?

Thank you in advance for your help, 

Regards, 

James. 

Original issue reported on code.google.com by [email protected] on 17 May 2010 at 2:47

Bad session data in neatx.data

What steps will reproduce the problem?
1. Connect and start a new session
2. Disconnect from session
3. See output in /usr/local/var/lib/neatx/sessions/*/neatx.data

What is the expected output? What do you see instead?
"geometry" (JSON output?) should be just [0-9]+x[0-9]+, mine has trailing
data --    

"geometry": "1540x622] fullscreen [0",

This prevents from NX client from resuming the session. It also causes the
NX client to parse the session name, state, etc, incorrectly. Removing the
extra data corrects from problem.

What version of the product are you using? On what operating system?
r13, RHEL5.3

Please provide any additional information below.
Using the NX client provided by NoMachine.

Original issue reported on code.google.com by [email protected] on 14 Jul 2009 at 4:42

Once a lost connection, always a lost connection

What steps will reproduce the problem?
1. connect to server with NX Client for Windows configured for KDE (4.x)
2. After some time, maybe 1-2 hours, the connection is lost. Reconnect and
the session is restored.
3. the session then loses a connection within minutes.

What is the expected output? What do you see instead?
When I reconnect/resume a KDE session, I lose the connection within minutes
instead of hours when I started a fresh session.

What version of the product are you using? On what operating system?

hip pygowave_project # eix neatx
[I] net-misc/neatx
     Available versions:  (~)0.3.1_p43-r1
     Installed versions:  0.3.1_p43-r1(12:29:37 10/08/09)
     Homepage:            http://code.google.com/p/neatx/
     Description:         Google implementation of NX server

hip pygowave_project # dmesg | grep 'Linux version'
[    0.000000] Linux version 2.6.30-gentoo-r6 (root@livecd) (gcc version
4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Wed Sep 30 17:32:14 PDT 2009
hip pygowave_project #



Please provide any additional information below.

The work-around is to immediately shutdown the KDE session upon reconnect
and, if successful shutdown is achieved, launch a new NX Client session
thereafter which will persist until the shutdown problem reoccurs after an
hour or two.

The problem is I configure my KDE session with a variety of open consoles &
etc. and have to start all over again once I've restarted a stable session
of KDE.

Original issue reported on code.google.com by [email protected] on 15 Oct 2009 at 4:12

RFE: Centralized Control

Limit Session Type:
I would like to have another Class that, when specified, could readjust
session parameters. The implementation would be based on a local file
parsing and/or directory parsing or cmemcache or another fast way.

I use this in FreeNX to force people into a specific "session" type using a
centralized user config. The user is only allowed to choose display and
speed settings, thus allowing to use a copy&paste client config for
thinclients and not worrying about "bad client configs". I even force some
users to go to a specific VM (using VNC or RDP redirection).


Backend LB:
Given a server list... would random (for now) between backend (nxnode)
hosts. In the future it could be based on an outside script with username
as arg, allowing for SNMP based LB or User based connection.

Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 2:27

old sessions not getting cleared up and preventing new session startup

What steps will reproduce the problem?
1.Start with an empty sessions directory for the Neatx server.
2.Open a NX session to Neatx server (with virtual desktop enabled; I'm
using XFCE4)
3.Instead of disconnecting or terminating through Neatx dialog, log out via
the window manager. I get an error about having no response from NX server.
4.Try opening a new NX session to the same Neatx server. I get an "Internal
Error"

What is the expected output? What do you see instead?

Based on NoMachine NX server's behavior, I expect logging out through the
window manager to terminate the session and allow me te start a new session
the next time I connect. However, I get an error. Detail (personal details
redacted):

NX> 203 NXSSH running with pid: 30140
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: 128.32.xxx.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: **********
NX> 103 Welcome to: xxxx user: byungkyup
NX> 105 Listsession --user="byungkyup" --status="suspended,running"
--geometry="1024x600x24+render" --type="unix-application"
NX> 127 Session list of user 'byungkyup':
Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
263     unix-application 7A7F704853EF07C6DEB4BC3957279C6F -RD--PSA    24
1018x556       Running     xxxx

NX> 148 Server capacity: not reached for user: byungkyup
NX> 105 Restoresession  --virtualdesktop="1" --application="xfce4-session"
--link="lan" --backingstore="1" --encryption="1" --cache="16m"
--images="64m" --shmem="1" --shpix="1" --strict="0" --composite="1"
--media="0" --imagecompressionmethod="3" --imagecompressionlevel="-1"
--render="1" --session="xxxx" --type="unix-application"
--geometry="1024x574" --client="linux" --keyboard="pc102/us"
--id="7a7f704853ef07c6deb4bc3957279c6f" --virtualdesktop="1"
NX> 500 Internal error
NX> 999 Bye.
NX> 280 Exiting on signal: 15


What version of the product are you using? On what operating system?

I am using this an Debian Lenny, the version is the one checked out from
the SVN today, July 28th, 2009.

Please provide any additional information below.

In order to be able to connect to the same Neatx server with the same
account after this, I have to go into the server and manually delete the
session directory.

Also, although if I terminate a session through Neatx's dialog, I can
restart a new session later, it doesn't appear that Neatx actually cleans
up the old session directories (unless it does some periodic clean-up).
Also, existence of these old session directories, for some reason, stopped
me from being able to reproduce this result (hence the step 1).

Original issue reported on code.google.com by [email protected] on 28 Jul 2009 at 4:43

Screen updates don't always get posted

On a long-running neatx session, if I do something display-intensive in a 
window, e.g. hold down PageDown while viewing a huge textfile in less using 
gnome-terminal, or run a program that dumps tons of text to the terminal, 
the display updates quickly become infrequent and the window is not updated 
until the NX Client window receives mouse or keyboard input.

In the less example, after holding down PageDown for a few seconds and 
releasing, less appears to stop paging down, but each time the mouse is 
moved or the keyboard is pressed, less scrolls down a few more pages.  Each 
time you press 'q' on the keyboard, it will display one more page of text, 
until the queue of screen updates catches up, and then you will see less 
exit.

Curiously, other screen updates outside the window are fine, e.g. the 
gnome-system-monitor applet continues to update with the correct frequency, 
even while the updates from the gnome-terminal window have frozen waiting 
for external events to wake up whatever is blocking.

I don't know if this bug is with NX Client or with neatx.  How do I tell?  
I don't recall ever seeing this with freenx though.

Original issue reported on code.google.com by luke.hutch on 4 May 2010 at 1:50

neatx doesn't understand startapplication command

What steps will reproduce the problem?
1.create a seamless console session
2.disconnect abruptly
   a. it's been hanging after several hours so I disconnect on the "client"
end via the session administrator
3.attempt to reconnect to the running session

What is the expected output? What do you see instead?
it to resume it's connect (it usually does)

What version of the product are you using? On what operating system?
Fedora 11 (both ends). NXclient 3.3, nx libs version 3.3

Please provide any additional information below.
Here is the log

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: **********
NX> 103 Welcome to: urkle.lan.netfor.com user: erudd
NX> 105 Listsession --user="erudd" --status="suspended,running"
--geometry="3520x1200x24+render" --type="unix-console"
NX> 127 Session list of user 'erudd':
Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
763     unix-console     3FE37A41244F3411BCC7C5ACD3EA54ED -R---PSA    24
640x480        Running     urkle-Launcher

NX> 148 Server capacity: not reached for user: erudd
NX> 105 Startapplication  --type="unix-console"
--sessionid="3fe37a41244f3411bcc7c5acd3ea54ed"
NX> 503 Error: undefined command: 'startapplication'
NX> 105 NX> 280 Exiting on signal: 15

Now, there is a LARGE amount of nxserver processes running on the system. 
Right now I have 12 running even though there is only one ACTIVE session.

Original issue reported on code.google.com by urkle0 on 7 Aug 2009 at 8:37

nxserver-login-wrapper EOF on stderr

What steps will reproduce the problem?
1.

Try to connect after rebooting with a suspended session



What is the expected output? What do you see instead?

I get internal error instead of connecting. (log below)


What version of the product are you using? On what operating system?

Ubuntu 9.04 i386 (neatx svn)

Please provide any additional information below.

Here is my user.log:-

-------------------------------------------------------
root@defenbuntu:~# cat /var/log/user.log               
Oct 30 15:24:25 defenbuntu nxserver-login-wrapper[2912]: Started
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'HELLO NXSERVER - Version 3.3.0 - GPL\n'
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 105 '                              
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:227 <<<
'hello NXCLIENT - Version 3.3.0\n'      
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'Hello nxclient - version 3.3.0\n'      
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG nxserver_login:111
Got client protocol version 3030000 ('3.3.0'), want 3030000
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 134 Accepted protocol: 3.3.0\n'                         
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 105 '                                                   
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:227 <<<
'SET SHELL_MODE SHELL\n'                                     
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'Set SHELL_MODE: SHELL\n'                                    
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 105 '                                                   
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:227 <<<
'SET AUTH_MODE PASSWORD\n'                                   
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'Set AUTH_MODE: PASSWORD\n'                                  
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 105 '                                                   
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:227 <<<
'login\n'                                                    
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'Login\n'                                                    
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 101 User: '                                             
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:227 <<<
'morgan\n'                                                   
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'\n'                                                         
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'NX> 102 Password: '                                         
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:225 <<<
[hidden]                                                     
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG protocol:172 >>>
'**********\n'                                               
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: INFO nxserver_login:249
Trying login for user 'morgan' using auth method 'su'       
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG auth:50
Authenticating as 'morgan', running ['/usr/local/lib/neatx/nxserver',
'--proto=3030000', '--', 'morgan']
Oct 30 15:24:25 defenbuntu nxserver-login[2916]: DEBUG auth:53 Auth command
['/usr/local/lib/neatx/ttysetup', '/bin/su', 'morgan', '-c', 'cd &&
/usr/local/lib/neatx/nxserver --proto=3030000 -- morgan']                 


Oct 30 15:24:27 defenbuntu nxserver[2930]: INFO nxserver:689 Starting
nxserver for user morgan                                                  

Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 103
Welcome to: defenbuntu.local user: morgan\n'                              

Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 105 '
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:227 <<< '
listsession --user="morgan" --status="suspended,running"
--geometry="1600x1200x24+render" --type="unix-gnome"\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>>
'Listsession --user="morgan" --status="suspended,running"
--geometry="1600x1200x24+render" --type="unix-gnome"\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG nxserver:315 Looking for
sessions with types=['unix-gnome'], state=['suspended', 'running']
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG session:248 Loading
session 95B6E3A0C222A223919FE5D5A81D942E from
/usr/local/var/lib/neatx/sessions/95B6E3A0C222A223919FE5D5A81D942E/neatx.data
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG session:248 Loading
session C8A5CC28EC7420DAA0C129DE6AECF682 from
/usr/local/var/lib/neatx/sessions/C8A5CC28EC7420DAA0C129DE6AECF682/neatx.data
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> "NX> 127
Session list of user 'morgan':\n"
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'Display
Type             Session ID                       Options  Depth Screen   
     Status      Session Name\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> '-------
---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> u'44    
 unix-gnome       95B6E3A0C222A223919FE5D5A81D942E -RD--PSA    24 1600x1150
     Suspended   ADSL\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> '\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 148
Server capacity: not reached for user: morgan\n'
Oct 30 15:24:27 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 105 '
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG protocol:227 <<<
'restoresession  --link="adsl" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="0" --session="ADSL" --type="unix-gnome"
--geometry="1600x1172" --client="linux" --keyboard="pc102/gb"
--id="95B6E3A0C222A223919FE5D5A81D942E"\n'
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG protocol:172 >>>
'Restoresession  --link="adsl" --backingstore="1" --encryption="1"
--cache="16m" --images="64m" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="0" --session="adsl" --type="unix-gnome"
--geometry="1600x1172" --client="linux" --keyboard="pc102/gb"
--id="95b6e3a0c222a223919fe5d5a81d942e"\n'
Oct 30 15:24:28 defenbuntu nxserver[2930]: INFO nxserver:515 Restoring
session '95B6E3A0C222A223919FE5D5A81D942E'
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG session:248 Loading
session 95B6E3A0C222A223919FE5D5A81D942E from
/usr/local/var/lib/neatx/sessions/95B6E3A0C222A223919FE5D5A81D942E/neatx.data
Oct 30 15:24:28 defenbuntu nxserver[2930]: INFO nxserver:524 Found session
u'95B6E3A0C222A223919FE5D5A81D942E' in session database
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG nxserver:645 Connecting to
nxnode
Oct 30 15:24:28 defenbuntu nxserver[2930]: INFO node:514 Connecting to
u'/usr/local/var/lib/neatx/sessions/95B6E3A0C222A223919FE5D5A81D942E/nxnode.sock
'
Oct 30 15:24:28 defenbuntu nxserver[2930]: ERROR protocol:165 Error while
handling line 'restoresession  --link="adsl" --backingstore="1"
--encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1"
--strict="0" --composite="1" --media="0" --session="ADSL"
--type="unix-gnome" --geometry="1600x1172" --client="linux"
--keyboard="pc102/gb" --id="95B6E3A0C222A223919FE5D5A81D942E"'
Oct 30 15:24:28 defenbuntu nxserver[2930]: Traceback (most recent call last):
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/protocol.py", line 161, in
_HandleLine
Oct 30 15:24:28 defenbuntu nxserver[2930]:     self._handler(line)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/app/nxserver.py", line 209,
in __call__
Oct 30 15:24:28 defenbuntu nxserver[2930]:     return
self._RestoreSession(args)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/app/nxserver.py", line 527,
in _RestoreSession
Oct 30 15:24:28 defenbuntu nxserver[2930]:     nodeclient =
self._GetNodeClient(sessid, False)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/app/nxserver.py", line 646,
in _GetNodeClient
Oct 30 15:24:28 defenbuntu nxserver[2930]:     nodeclient.Connect(retry)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/node.py", line 528, in Connect
Oct 30 15:24:28 defenbuntu nxserver[2930]:     self._InnerConnect(sock, False)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File
"/usr/local/lib/python2.6/dist-packages/neatx/node.py", line 493, in
_InnerConnect
Oct 30 15:24:28 defenbuntu nxserver[2930]:     sock.connect(self._address)
Oct 30 15:24:28 defenbuntu nxserver[2930]:   File "<string>", line 1, in
connect
Oct 30 15:24:28 defenbuntu nxserver[2930]: error: [Errno 111] Connection
refused
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 500
Internal error\n'
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG protocol:172 >>> 'NX> 999
Bye.\n'
Oct 30 15:24:28 defenbuntu nxserver[2930]: DEBUG nxserver:701 No nxagent
port, not starting netcat
Oct 30 15:24:29 defenbuntu nxserver-login[2916]: DEBUG auth:133 fdcopy
exited (exitstatus=0, signum=None)
Oct 30 15:24:29 defenbuntu nxserver-login[2916]: INFO auth:142 Waiting for
authenticated program to finish
Oct 30 15:24:29 defenbuntu nxserver-login[2916]: DEBUG auth:152
Authenticated program finished (exitstatus=0, signalstatus=None)
Oct 30 15:24:29 defenbuntu nxserver-login-wrapper[2912]: EOF on stderr, exiting

Original issue reported on code.google.com by [email protected] on 30 Oct 2009 at 3:27

  • Merged into: #21

session list should make sure sessions are still running

When nxclient requests a session list, nxserver should check to make sure
all listed sessions are still running before including them in the list.

Original issue reported on code.google.com by kormat on 3 Aug 2009 at 10:18

nxdialog not working

What steps will reproduce the problem?
1. open nx session
2. try to stop it by ctrl-alt-t
3. nothing happens

What is the expected output? What do you see instead?
windows appears to disconnect or terminate

What version of the product are you using? On what operating system?
trunk r58

Please provide any additional information below.
/var/log/messages:
Feb 19 22:22:33 pcikf26 nxdialog[5468]: ERROR cli:68 Caught exception
Feb 19 22:22:33 pcikf26 nxdialog[5468]: Traceback (most recent call last):
Feb 19 22:22:33 pcikf26 nxdialog[5468]:   File
"/usr/lib/python2.4/site-packages/neatx/cli.py", line 62, in Main
Feb 19 22:22:33 pcikf26 nxdialog[5468]:     self.Run()
Feb 19 22:22:33 pcikf26 nxdialog[5468]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 224, in Run
Feb 19 22:22:33 pcikf26 nxdialog[5468]:     if dlgtype in
(constants.DLG_TYPE_PULLDOWN,
Feb 19 22:22:33 pcikf26 nxdialog[5468]: AttributeError: 'NxDialogProgram'
object has
no attribute 'option'

next message when first item is solved:
Feb 21 01:06:41 pcikf26 nxdialog[18569]: ERROR cli:68 Caught exception
Feb 21 01:06:41 pcikf26 nxdialog[18569]: Traceback (most recent call last):
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/cli.py", line 62, in Main
Feb 21 01:06:41 pcikf26 nxdialog[18569]:     self.Run()
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 254, in Run
Feb 21 01:06:41 pcikf26 nxdialog[18569]:    
ShowYesNoSuspendBox(message_caption,
message_text))
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 166, in
HandleSessionAction
Feb 21 01:06:41 pcikf26 nxdialog[18569]:     logging.info("Disconnecting from
session, sending SIGHUP to %s", ppid)
Feb 21 01:06:41 pcikf26 nxdialog[18569]: NameError: global name 'ppid' is
not defined

This secound issue is the following:
After first issue is fixed, the disconnect button of the nxdialog does not
work.

The patch attached solves both problems.

Greets,
Theodor

Original issue reported on code.google.com by [email protected] on 24 Feb 2010 at 12:05

Attachments:

nxserver-login: error: no such option: -c

What steps will reproduce the problem?
1. compile & install with --prefix=/usr
2. create user nx (getent passwd nx
nx:x:129:65:NX System
User:/var/lib/nxserver/home/:/usr/lib/neatx/nxserver-login-wrapper)
3. try with original nxclient 3.3.0-6

What is the expected output? What do you see instead?
"nxserver-login: error: no such option: -c" in syslog

What version of the product are you using? On what operating system?
neatx svn rev9

Original issue reported on code.google.com by [email protected] on 9 Jul 2009 at 8:03

Terminate support missing

Nxclient can request termination of an existing session, from the
listsession output. Neatx doesn't currently support this.

Original issue reported on code.google.com by kormat on 3 Aug 2009 at 10:15

Login re-launches nxserver-login-wrapper

What steps will reproduce the problem?
1.Attempt to login using NoMachine NX Client on both Mac and XP
2.
3.

What is the expected output? What do you see instead?
Instead of successful login, the client spends a long time on "Waiting
authentication" then fails with "Connection timeout".

What version of the product are you using? On what operating system?
@r59 from SVN on Ubuntu 10.04 Beta.

Please provide any additional information below.
As can be seen from the log output below, nxserver-login-wrapper is
re-launched rather than the nxserver.  Where I think the client should be
communicating with nxserver, it is in fact communicating with a fresh
nxserver-login process.  Whatever should be happening at this point appears
to not be happening and the client eventually times out.

Apr  9 17:37:47 lnelson-desktop nxserver-login-wrapper[3473]: Called with
args: 
Apr  9 17:37:47 lnelson-desktop nxserver-login-wrapper[3473]: Started
/usr/local/lib/neatx/nxserver-login 
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'HELLO NXSERVER - Version 3.3.0 - GPL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'hello NXCLIENT - Version 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Hello nxclient - version 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG
nxserver_login:111 Got client protocol version 3030000 ('3.3.0'), want 3030000
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 134 Accepted protocol: 3.3.0\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'SET SHELL_MODE SHELL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Set SHELL_MODE: SHELL\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'SET AUTH_MODE PASSWORD\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Set AUTH_MODE: PASSWORD\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 105 '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'login\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'Login\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 101 User: '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:227
<<< 'nx\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'nx\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> 'NX> 102 Password: '
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:225
<<< [hidden]
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG protocol:172
>>> '**********\n'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: INFO
nxserver_login:253 Trying login for user 'nx' using auth method 'su'
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG auth:50
Authenticating as 'nx', running ['/usr/local/lib/neatx/nxserver',
'--proto=3030000', '--', 'nx']
Apr  9 17:37:47 lnelson-desktop nxserver-login[3478]: DEBUG auth:53 Auth
command ['/usr/local/lib/neatx/ttysetup', '/bin/su', 'nx', '-c', 'cd &&
/usr/local/lib/neatx/nxserver --proto=3030000 -- nx']
Apr  9 17:37:48 lnelson-desktop nxserver-login-wrapper[3490]: Called with
args: -c cd && /usr/local/lib/neatx/nxserver --proto=3030000 -- nx
Apr  9 17:37:48 lnelson-desktop nxserver-login-wrapper[3490]: Started
/usr/local/lib/neatx/nxserver-login -c cd && /usr/local/lib/neatx/nxserver
--proto=3030000 -- nx
Apr  9 17:37:48 lnelson-desktop nxserver-login[3493]: DEBUG protocol:172
>>> 'HELLO NXSERVER - Version 3.3.0 - GPL\n'
Apr  9 17:37:48 lnelson-desktop nxserver-login[3493]: DEBUG protocol:172
>>> 'NX> 105 '


After the above logging has been produced, the client persists in "Waiting
authentication" for some time until timing out.

Original issue reported on code.google.com by [email protected] on 9 Apr 2010 at 11:41

session hang when committing to SVN via eclipse

This is a weird one, but re-creatable every time.

What steps will reproduce the problem?
1. run eclipse (3.5 on OpenJDK 1.6.0 x86_64 under Fedora 11)
2. work work work
3. Commit code to SVN

What is the expected output?
It to commit and allow me to continue

What do you see instead?
the entire session hangs and I can't use any apps. I have to run the NX
Session manager and disconnect, but then I can't reconnect (I receive error
message documented in issue #26)

I also have to log into the server and manual kill ALL of the nx processes
(some of them with kill -9 )

What version of the product are you using? On what operating system?
Latest SVN trunk.  Fedora 11 x86_64.  Client is on a OS X Leopard running
NX 3.3.0 client.

Please provide any additional information below.

Original issue reported on code.google.com by urkle0 on 19 Aug 2009 at 7:26

nxserver-login: error: no such option: -c

What steps will reproduce the problem?
1. install neatx rpm built from r55 onto centos 5.4
2. attempt to connect to machine using nx client

What is the expected output? What do you see instead?
Expected successful connection, but it fails.. I check /var/log/messages, and 
all I get is:
Feb 18 15:55:41 localhost nxserver-login-wrapper[10886]: Usage
Feb 18 15:55:41 localhost nxserver-login-wrapper[10886]: =====
Feb 18 15:55:41 localhost nxserver-login-wrapper[10886]:   nxserver-login 
[options]
Feb 18 15:55:41 localhost nxserver-login-wrapper[10886]: nxserver-login: error: 
no such option: -c


What version of the product are you using? On what operating system?
rpm built from r55 on centos 5.4.  

Please provide any additional information below.
I modified the neatx.spec to use of pygobject 2.12

Original issue reported on code.google.com by [email protected] on 19 Feb 2010 at 5:19

Error in documentation file: INSTALL

Steps written in current SVN version are wrong in this part:

  - Create a 'nx' user with the shell set to the path to
    /usr/local/lib/neatx/nxserver-login-wrapper
    Debian/ubuntu example:
      install -d -o nx /usr/local/var/lib/neatx/home
      useradd --system -d /usr/local/var/lib/neatx/home -s \
      /usr/local/lib/neatx/nxserver-login-wrapper nx

As you have to create the user first and then do the install:
      useradd --system -d /usr/local/var/lib/neatx/home -s \
      /usr/local/lib/neatx/nxserver-login-wrapper nx
      install -d -o nx /usr/local/var/lib/neatx/home

Patch against INSTALL is attached. 


Original issue reported on code.google.com by [email protected] on 23 Jul 2009 at 11:07

Attachments:

keyboard mapping problems

What steps will reproduce the problem?
1. server is neatx-0.3.1 on Fedora F11 x86_64
2. client is nxclient-3.3.0-6.x86_64 on Fedora F11 x86_64
3. Session on both ends in kde.
keyboard layouts enabled, keyboard model is set to evdev-managed (which I
guess is default?)
corresponding command is: setxkbmap -model evdev -layout us -variant 

Keyboard arrow keys are mapped incorrectly (not numpad arrow keys).

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 10 Jul 2009 at 11:21

rst2html is required, but ./configure only produces a warning

Steps to reproduce (linux, neatx-0.3.1):
1. ./configure
says "WARNING: rst2html not found, documentation rebuild will not be possible"
2. make
dies with "rst2html not found during configure"

./configure should die when rst2html is not found or generate makefile that
doesn't require it


Original issue reported on code.google.com by [email protected] on 9 Jul 2009 at 4:27

Old session dirs not cleaned up

What's needed:
- When a session is terminated, we should nuke the session dir (but make
this configuraable)
- A cronjob to run startup, and at intervals thereafter, to clear out any
stale session dirs

Original issue reported on code.google.com by kormat on 3 Aug 2009 at 10:15

Internal error - AuthTimeoutError

What steps will reproduce the problem?
1. build/install neatx according to documentation provided
2. connect with NOMACHINE NXClient version 3.3.0-6

What is the expected output? What do you see instead?
Expect NXCLIENT to start remote desktop, but the following error is
displayed:  Internal error, detail shows the following :
NX> 203 NXSSH running with pid: 31987
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: 10.0.0.5 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: **********
NX> 503 ERROR: Internal error.
NX> 280 Exiting on signal: 15

In addition, the following is displayed in /var/log/messages:
Jul 22 10:02:02 osl12 nxserver-login[2931]: INFO nxserver_login:248 Trying
login for user guest12
Jul 22 10:02:32 osl12 nxserver-login[2931]: ERROR nxserver_login:263 Error
in authentication
Jul 22 10:02:32 osl12 nxserver-login[2931]: Traceback (most recent call last):
Jul 22 10:02:32 osl12 nxserver-login[2931]:   File
"/usr/neatx/lib/python2.5/site-packages/neatx/app/nxserver_login.py", line
258, in _TryLogin
Jul 22 10:02:32 osl12 nxserver-login[2931]:    
authenticator.AuthenticateAndRun(username, password, args)
Jul 22 10:02:32 osl12 nxserver-login[2931]:   File
"/usr/neatx/lib/python2.5/site-packages/neatx/auth.py", line 109, in
AuthenticateAndRun
Jul 22 10:02:32 osl12 nxserver-login[2931]:     raise errors.AuthTimeoutError()
Jul 22 10:02:32 osl12 nxserver-login[2931]: AuthTimeoutError

What version of the product are you using? On what operating system?
build 21, checked out on 7/21/2009

Running on RHEL 4.8

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 22 Jul 2009 at 2:07

Fedora .spec needs to chown nx:nx /home/.nxhome

The Fedora spec file leaves ownership of /home/.nxhome as root:root, meaning 
neatx can't create /home/.nxhome/.Xauthority , and you get a timeout error 
when the client is trying to connect.  The correct ownership should be nx:nx.  
This was also a problem in the Ubuntu build at one point (Issue 30).

Original issue reported on code.google.com by luke.hutch on 20 Jan 2010 at 7:04

Session didn't become ready in time

What steps will reproduce the problem?
1. Using Windows NXClient (3.3.0-6) to connect, UNIX-GNOME, LAN speed, all
other options default

What is the expected output? What do you see instead?
NX> 203 NXSSH running with pid: 2992
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: xx.xx.com user: frtam
NX> 105 Listsession --user="frtam" --status="suspended,running"
--geometry="1280x1024x32+render" --type="unix-gnome"
NX> 127 Session list of user 'frtam':
Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: frtam
NX> 105 Start session with: --link="lan" --backingstore="1"
--encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1"
--strict="0" --composite="1" --media="0" --session="xxx-frtam"
--type="unix-gnome" --geometry="1280x994" --client="winnt"
--keyboard="pc102/en_US" --screeninfo="1280x994x32+render"
NX> 500 Session didn't become ready in time
NX> 999 Bye.
NX> 280 Exiting on signal: 15


What version of the product are you using? On what operating system?
neatx svn (r17).  Ubuntu 9.04

Please provide any additional information below.
Followed INSTALL doc to the tee.
./configure without additional options
/usr/local/etc/neatx.conf only has "loglevel = debug" and protocol version
3.3.0

Original issue reported on code.google.com by [email protected] on 17 Jul 2009 at 12:35

Please add support for usermode authentication

It would be really spiffy if you could add support for usermode
authentication like freenx has, where the shared nx account is not required.

I'd like to try something cleaner on the backend like neatx, however this
is the one feature that is required in our environment.

Original issue reported on code.google.com by nick%[email protected] on 1 Aug 2009 at 5:02

/bin/netcat and /etc/X11/Xsession are not pressent Fedora

Some values in lib/constants.py does not apply on Fedora 11. Here is what I
had to change to make it run:

Index: lib/constants.py
===================================================================
--- lib/constants.py    (revision 19)
+++ lib/constants.py    (working copy)
@@ -25,16 +25,16 @@
 from neatx import _autoconf


-NXDIR = "/usr/lib/nx"
+NXDIR = "/usr/bin"

 SYSLOG_ADDRESS = "/dev/log"
 BASH = "/bin/bash"
-NETCAT = "/bin/netcat"
+NETCAT = "/usr/bin/nc"
 XRDB = "/usr/bin/xrdb"
 SU = "/bin/su"
 SSH = "/usr/bin/ssh"
 XAUTH = "/usr/bin/xauth"
-XSESSION = "/etc/X11/Xsession"
+XSESSION = "/etc/X11/xinit/Xsession"

 START_CONSOLE_COMMAND = "/usr/bin/xterm"
 START_KDE_COMMAND = XSESSION + " startkde"

Original issue reported on code.google.com by MathiasNicolajsenKjaergaard on 20 Jul 2009 at 6:56

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.