LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2008, 11:54 AM   #1
ecorg911
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Rep: Reputation: 1
FreeNX - Unable to login successfully, error code: 2E7C3711


Hello, I have trying to get FreeNX setup on my debian server for a while now, although to no avail

I have installed and setup nxnode, nxserver, nxclient ( all in the correct order.)

I have setup a use, and am able to connect to the NX server and it authenticates successfully, though after authenticating, I get the following error message (I appologise for the size):

Code:
NX> 203 NXSSH running with pid: 760
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-8 - LFE
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: www-data
NX> 102 Password: ********
NX> 103 Welcome to: xxxxxxxxx.com user: www-data
NX> 105 Listsession --user="www-data" --status="suspended\054running" --geometry="1440x900x32+render" --type="unix-gnome" 
NX> 127 Available sessions: 

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: www-data
NX> 105 Start session with: --link="modem" --backingstore="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="serverlfux" --type="unix-gnome" --geometry="1440x872" --client="winnt" --keyboard="pc102\057gb" --screeninfo="1440x872x32+render" 
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 595 ERROR: The exception id is: 2E7C3711. To get detailed information about
NX> 595 ERROR: the error search for the string 2E7C3711 in the system log
NX> 595 ERROR: file (usually '/var/log/messages').
NX> 500 ERROR: Last operation failed.
NX> 280 Exiting on signal: 15
Here is the nessasery output of my messages file:
Code:
Dec 15 17:31:47 serverflux NXSERVER-3.3.0-8[21685]: User 'www-data' logged in from '213.137.28.161'. 'NXLogin::set'
Dec 15 17:31:48 serverflux NXSERVER-3.3.0-8[21685]: Selected node host:localhost with port:22 'main::selectNode'
Dec 15 17:31:48 serverflux NXSERVER-3.3.0-8[21685]: Current selected node: localhost is in status: running  'main::selectNode'
Dec 15 17:31:48 serverflux NXSERVER-3.3.0-8[21685]: Selected session type: unix-gnome allowed in the profile of user: www-data 'NXShell::Static'
Dec 15 17:31:48 serverflux NXSERVER-3.3.0-8[21685]: ERROR: nxssh process exited with '255' 'NXNodeExec::exec'
Dec 15 17:31:50 serverflux NXSERVER-3.3.0-8[21685]: A valid NX Server public SSH key is missing on the node. '(eval)'
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 ERROR: NXNODE Ver. 3.3.0-3  (Error id e113C2B) [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 ERROR: create session: run commands [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 ERROR: execution of last command failed [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 last command: /bin/bash --login -c 'mkdir -p /var/www/.nx/C-serverflux.com-1002-D2C14ADC4602D2A8C02D99D02AF3DA89' [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 exit value: 1 [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 stdout:  [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 stderr: mkdir: cannot create directory `/var/www/.nx': Permission denied [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 . [e113C2B] Logger::log nxnode 2907
Dec 15 17:31:51 serverflux NXNODE-3.3.0-3[21706]: ERROR: NX> 596 init: stdin arguments: user=www%2ddata,userip=213%2e137%2e28%2e161,uniqueid=D2C14ADC4602D2A8C02D99D02AF3DA89,display=1002,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=localhost,balance_host_realip=64%2e86%2e28%2e72,encryption_mode=1,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=serverlfux,shmem=1,type=unix%2dgnome,virtualdesktop=1,screeninfo=1440x872x32%2brender,keyboard=pc102%2fgb,geometry=1440x872,link=modem Logger::log nxnode 2907
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 ERROR: NXNODE Ver. 3.3.0-3  (Error id e113C2B)
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 ERROR: create session: run commands
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 ERROR: execution of last command failed
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 last command: /bin/bash --login -c 'mkdir -p /var/www/.nx/C-serverflux.com-1002-D2C14ADC4602D2A8C02D99D02AF3DA89'
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 exit value: 1
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 stdout: 
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 stderr: mkdir: cannot create directory `/var/www/.nx': Permission denied
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NX> 596 init: stdin arguments: user=www%2ddata,userip=213%2e137%2e28%2e161,uniqueid=D2C14ADC4602D2A8C02D99D02AF3DA89,display=1002,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=localhost,balance_host_realip=64%2e86%2e28%2e72,encryption_mode=1,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=serverlfux,shmem=1,type=unix%2dgnome,virtualdesktop=1,screeninfo=1440x872x32%2brender,keyboard=pc102%2fgb,geometry=1440x872,link=modem
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NXNodeExec::exec('startsession', 'user=www%2ddata&userip=213%2e137%2e28%2e161&uniqueid=D2C14ADC460...', 'localhost', 22) called at handlers/nxserver.pl line 3461
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NXShell::handler_session_start('--link="modem" --backingstore="1" --cache="16M" --images="64M" -...') called at NXShell.pm line 373
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NXShell::handle_command('startsession', '--link="modem" --backingstore="1" --cache="16M" --images="64M" -...') called at NXShell.pm line 145
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) NXShell::run() called at nxserver.pl line 4463
Dec 15 17:31:52 serverflux NXSERVER-3.3.0-8[21685]: ERROR: (exception id 2E7C3711) eval {...} called at nxserver.pl line 4422
I would greatly appreciate any help on this issue, it has been bugging me for a long while now

Thank you
 
Old 07-19-2009, 09:31 AM   #2
kpoxa
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
I also had the same problem for a while, and tried to find the solution, especially because NX don't provide sufficient error explanation.

But I solved it in this way:

1. Go to /var/log/messages file and find the output from the NX Server. Pay attention for "Permission denied" resources, like directories and files, in you case for instance, directory '/var/www/.nx' is home directory for www-data user and it does not have sufficient rights to read/write. Probably this folder was created by root and user does no owns it. Set this user as owner.

2. In user's home directory look for .Xauthority file. Check if it has read/write permissions to above user, if not set this user as owner of this file.

3. Clear all history and cache file on both of client and server sides, look inside ~/.nx/, leave empty temp folder, delete all folders that looks like session ID (C-F-10.....).
Run: "sudo /usr/NX/bin/nxserver --history clear" to clear up history.

4. Try to connect again, using these "clear" systems, in my case this was solved the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is it a error , have I successfully installed ust Linux - Software 1 08-11-2008 11:13 PM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 09:00 PM
FreeNX help. When I try to connect I get error msg (connection reset by peer) MegaSvensk Linux - Software 1 10-18-2007 02:09 PM
unable to chat through gaim where as connected successfully to yahoo charm200 Linux - Software 1 08-30-2007 02:49 PM
unable to use freeNX windsurfer Linux - General 11 04-07-2007 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration