LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-02-2012, 11:19 AM   #1
bluethundr
Member
 
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 144

Rep: Reputation: 15
Post NoMachines can't create session


Hello,

I have installed NoMachines 3.5.0-9 under CentOS 5.6 but even tho nxserver --usercheck myuser succeeds and can apparently log in, the user cannot create sessions. This is what I see in syslog when I try to create sessions:


Code:
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) NX> 596 init: stdin arguments: user=bluethundr,userip=173%2e63%2e16%2e196,uniqueid=4035073B714327107438046F45A0F024,display=1001,node_number=0,server_name=cloud,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=10%2e223%2e74%2e58,encryption_mode=3,connection=local,images=64M,cache=16M,client=macosx,media=0,backingstore=1,encryption=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=Coming%2520Soon,shmem=1,type=unix%2dkde,virtualdesktop=1,render=1,screeninfo=1024x768x24%2brender,keyboard=pc105%2fus,geometry=1024x768,link=wan
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) NXNodeExec::exec('startsession', 'user=bluethundr&userip=173%2e63%2e16%2e196&uniqueid=4035073B7143...', 'localhost', 22) called at handlers/nxserver.pl line 3582
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) NXShell::handler_session_start('--link="wan" --backingstore="1" --encryption="1" --cache="16M" -...') called at NXShell.pm line 373
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) NXShell::handle_command('startsession', '--link="wan" --backingstore="1" --encryption="1" --cache="16M" -...') called at NXShell.pm line 145
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) NXShell::run() called at nxserver.pl line 4497
Apr  2 12:02:44 domU-12-31-38-07-49-CC NXSERVER-3.5.0-9[10828]: ERROR: (exception id C6D509E2) eval {...} called at nxserver.pl line 4456
Apr  2 12:05:53 domU-12-31-38-07-49-CC syslog-ng[1099]: Log statistics; processed='center(queued)=11163', processed='center(received)=11085', processed='destination(d_boot)=0', processed='destination(d_auth)=375', processed='destination(d_cron)=165', processed='destination(d_mlal)=0', processed='destination(d_kern)=141', processed='destination(d_mesg)=526', processed='destination(d_cons)=0', processed='destination(d_spol)=0', processed='destination(d_mail)=9956', processed='source(s_sys)=11085'

This is what I see in the session logs in the nx client:



And this is what I have in the SSH log:
Code:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
HELLO NXSERVER - Version 3.5.0-9 - LFE
NX> 105 Hello NXCLIENT - Version 3.5.0
NX> 134 Accepted protocol: 3.5.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login 
NX> 101 User: bluethundr
NX> 102 Password: ***********
NX> 103 Welcome to: cloud user: bluethundr
NX> 105 Listsession --status="suspended\054running" --type="shadow" 
NX> 127 Session list possible to attach:: 

 Display Type                Session ID               Services depth  Screensize  Status   Session Name Username
------- ------------ -------------------------------- -------- ----  -------------- ----------- --------------------- ----------------
NX> 105 Start session with: --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --render="1" --session="Coming\04520Soon2" --type="unix-kde" --geometry="944x590" --keyboard="pc105\057us" --client="macosx" --screeninfo="944x590x24+render" 
NX> 595 ERROR: A fatal error occurred in NX Server.
I've included the session logs as an attachment, as they were too long to present inline.

Here's my server information:
Code:
[root@cloud:~] #cat /etc/redhat-release 
CentOS release 5.6 (Final)

[root@cloud:~] #uname -a
Linux cloud 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Thanks!
Attached Files
File Type: txt session.txt (155.8 KB, 17 views)
 
Old 04-02-2012, 08:26 PM   #2
yibi
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Try initializing the server again?

/usr/libexec/nx/nxsetup –install
 
  


Reply

Tags
centos, nomachine



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
NoMachines/FreeNX ssh key question temak82 Linux - Desktop 14 12-21-2012 03:18 AM
LXer: How To Create A Standalone Compiz Session In Ubuntu LXer Syndicated Linux News 0 02-08-2012 03:10 PM
Create New Desktop Session or Environment samuellawrence Linux - Desktop 2 12-09-2009 11:24 PM
newbie: create session with php ?? ALInux Programming 3 11-01-2005 02:58 PM
How to create a session script? Dopeskills Mandriva 0 04-20-2004 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:45 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