<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>You have to allow the special user "nx" to log in via SSH with pubkey<br>authentication. "nx" will establish a secure channel for the real user's
<br>password authentication and start the NX components that make the session<br>work on behalf of the user.<br><br>See what it tells you below  :-)<br><br>Cheers,<br>Kurt<br><br></blockquote></div>hey Mr.Kurt,<br>
<br>
Thanks for the reply but as I was trying to login through a real user
why it is saying nx user is not allowed. That means freenx will run
only when nx user is allowed to ssh .<br>
<br>
Can it be possible to run freenx with some other user as nx will be
known to the world and I would like to run freenx with some other user .<br>
<br>
I check that nx was locked (passwd -S nx)<br>
<br>
I unlocked the user and put the entries for nx in sshd_config and I
have even make sshd listen on <a href="http://0.0.0.0">0.0.0.0</a> as the freenx needs to connect to
the localhost after authentication<br>
<br>
After doing everything I am still not able to get the freenx working<br>
<br>
<br>
NX> 203 NXSSH running with pid: 4500<br>
NX> 285 Enabling check on switch command<br>
NX> 285 Enabling skip of SSH config files<br>
NX> 200 Connected to address: <a href="http://192.168.1.10">192.168.1.10</a> on port: 3009<br>
NX> 202 Authenticating user: nx<br>
NX> 208 Using auth method: publickey<br>
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)<br>
NX> 105 hello NXCLIENT - Version 1.5.0<br>
NX> 134 Accepted protocol: 1.5.0<br>
NX> 105 SET SHELL_MODE SHELL<br>
NX> 105 SET AUTH_MODE PASSWORD<br>
NX> 105 login<br>
NX> 101 User: john<br>
NX> 102 Password: <br>
NX> 103 Welcome to: <a href="http://server.sun.net">server.sun.net</a> user: john<br>
NX> 105 listsession --user="john" --status="suspended,running" --geometry="1024x768x32+render" --type="unix-kde"<br>
NX> 127 Sessions list of user 'john' for reconnect:<br>
<br>
Display
Type            
Session
ID                      
Options  Depth
Screen        
Status      Session Name<br>
------- ---------------- -------------------------------- --------
----- -------------- ----------- ------------------------------<br>
<br>
<br>
NX> 148 Server capacity: not reached for user: john<br>
NX> 105 startsession --session="server" --type="unix-kde"
--cache="8M" --images="32M" --cookie="******" --link="lan"
--kbtype="pc102/en_US" --nodelay="1" --encryption="1"
--backingstore="when_requested" --geometry="fullscreen" --media="0"
--agent_server="" --agent_user="" agent_password="******"" 
--screeninfo="1024x740x32+render" <br>
<br>
NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)<br>
NX> 700 Session id: <a href="http://server.sun.net">server.sun.net</a> -1002-55B054AA85070A1F4DB8F10CC558C635<br>
NX> 705 Session display: 1002<br>
NX> 703 Session type: unix-kde<br>
NX> 701 Proxy cookie: 2cc82de2e03104d89eb537f81317f47e<br>
NX> 702 Proxy IP: <a href="http://127.0.0.1">127.0.0.1</a><br>
NX> 706 Agent cookie: 2cc82de2e03104d89eb537f81317f47e<br>
NX> 704 Session cache: unix-kde<br>
NX> 707 SSL tunneling: 1<br>
NX> 1004 Error: Session did not start.<br>
NX> 504 Session startup failed.<br>
NX> 999 Bye<br>
Killed by signal 15.<br>
<br>
What is the problem why it is not able to start the session?<br>
<br>
Thanks & Regards<br>
<br>
Ankush Grover<br>
<br>
<br>
<br>
<br>