List Info

Thread: Re: again exit status 1




Re: again exit status 1
country flaguser name
Russian Federation
2007-06-06 06:29:05

kde.org" type="cite">
Date: Tue, 05 Jun 2007 22:43:26 +0200
From: "Fabian Franz" gmx.de"><FabianFranzgmx.de>
Subject: Re: [FreeNX-kNX] again exit status 1
To: mail.ru">protectoratmail.ru, User Support for FreeNX Server and kNX Client
	kde.org"><freenx-knxkde.org>;
Message-ID: gmx.net"><20070605204326.321970gmx.net>;
Content-Type: text/plain; charset="us-ascii"


  
Hi all.

I'm using freenx-0.5.0 and VNC sessions. 
    

Please note you will get the best performance by not using VNC.


  
Yes, I know. But we use Thinstation and it's buggy Xorg has memory leaks with NX, VNC is more robust. I know this is not freenx but Thinstation problem. For a past year problem still exist, but I hope new version makes me happy. :
kde.org" type="cite">
  
Some users sometimes can't start VNC-session, NX return message "startup
failed" with errors.  Nxserver.log show:

NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)
Password too short
    

I think this is the source of the problems.


nxnode generates the passwords for accessing the VNC server:


                echo "$agent_password" | $PATH_BIN/nxpasswd "$USER_FAKE_HOME/.nx/C-$sess_id/scripts/.passwd" doit

You could check if you can manually get the too short error via providing different passwords there.

  

I look at nxviewer/nxpasswd/vncpasswd.c There is a code there:
&nbsp;   if (strlen(passwd) < 5) {
   ; &nbsp; fprintf(stderr, "Password too shortn");
 &nbsp; &nbsp; return 0;
But I'm absolutely sure users have passwords with more (or equal) than 5 symbols.
I think that password is for VNC server with one shared connection, but we use VNC with many sessions, so password is not needed, every user possess own password and establish own session. In NX client' properties in "VNC - Settings"tab  password is clear. I add record for Thinstation config with fake password: "SESSION_0_NX_VNC_SESSION_PASSWORD=":114:121:104:118:121:127:" So now message "Password too short" is disappeared from nxserver.log
So far so good and I need time to testing further.
kde.org" type="cite">

cu

Fabian

  

Regards,
Zhen
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )