LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   freenx won't work (https://www.linuxquestions.org/questions/linux-software-2/freenx-wont-work-420500/)

cellist 02-28-2006 11:50 PM

freenx won't work
 
Help, I can't log on to my nxserver using nxclient from any computer.

Here's the output

NX> 148 Server capacity: not reached for user: ccellist
NX> 105 startsession --session="ToshibaNX" --type="unix-gnome" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc102/us" --nodelay="1" --backingstore="when_requested" --geometry="1024x728" --media="0" --cups="1" --agent_server="" --agent_user="" agent_password="******"1024x728x24+render"

stderr is not a tty - where are you?
NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: toshiba-1000-2AF3D05AEC03704F43ACF58983616980
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 5f29d1dcb34ffc4b252583332afa5f9e
NX> 702 Proxy IP: 192.168.132.25
NX> 706 Agent cookie: cc46e3f100284a46c0ed715995c60ac3
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 880: 18571 Terminated ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 1006 Session status: running
NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start with: NXAGENT: Fatal IO error on display "nx/nx,options=/home/ccellist/.nx/C-toshiba-1000-2AF3D05AEC03704F43ACF58983616980/options:1000".
NX> 1001 Bye.
bye
NX> 1001 Bye.
NX> 105 Bye
NX> 999 Bye

I've checked and nxagent is installed. The NX server is running on an old Toshiba laptop running Slackware 10.1, and one client is gentoo, the other is a Windows PC. I'm pretty sure both generate the same output.

Thanks!

poochdog 03-01-2006 06:52 AM

Hi looking at that output it would appear that you are selecting a desktop on the NXClient which is not available. If you look in the client configuration options you should be able to see the part when you can select your desktop ie KDE or GNOME.

You can get more information on free nx here

cellist 03-03-2006 05:24 PM

Thanks, that appears to have fixed it. It's strange though because I definitely have Gnome installed on the remote system. I was hoping to log in to an existing instance of X (running Gnome) on display :0. I thought FreeNX would behave like VNC in that way. Is there some special configuration I have to set in order to piggyback off display :0? I checked the website you linked, but it didn't appear to have that information. Thanks for your help though!

poochdog 03-03-2006 05:30 PM

I think that you can set freenx to connect to a vnc session by changing the connection type in the client. I think it is a bit ropey though....

I had the same problem as you with gnome, I think it could be a bug, it seemed to fix itself after a reboot or two!

sdem 03-09-2007 06:37 AM

problem with freeNX
 
hi,

when i try to connect with nxclient i receive this:

NX> 203 NXSSH running with pid: 3168
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: 195.251.162.57 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: sdem
NX> 102 Password:
NX> 103 Welcome to: linux-lab user: sdem
NX> 105 listsession --user="sdem" --status="suspended,running" --geometry="1024x768x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'sdem' for reconnect:

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


NX> 148 Server capacity: not reached for user: sdem
NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="test" --type="unix-kde" --cookie="******" --geometry="fullscreen" --kbtype="pc102/en_US" --screeninfo="1024x734x32+render"

NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: linux-lab-1093-949B2B168A20A867FFBA58B5C38F8BE4
NX> 705 Session display: 1093
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 40718d6ec14d2d20138aa64e82d37cc9
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 40718d6ec14d2d20138aa64e82d37cc9
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 NX> 1006 Session status: running
/usr/bin/nxserver: line 1041: 10048 Terminated ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
bye
Bye
NX> 999 Bye
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
NX> 285 Identified internal connection
NX> 285 Using default mode encrypted
NX> 285 Identified options: nx,options=/cygdrive/C/DOCUME~1/sdem/NX73F8~1/S-LINU~2/options:1093
NX> 280 Proxy opened with local: 7 remote: 8
NX> 285 Switching descriptors: 4 and: 5 to: 7

NX> 287 Redirected I/O to channel descriptors
NX> 280 Proxy in: 4 out: 5 transport in: 8 out: 8
NX> 285 Enabling redirection of debug output
NX> 280 Using proxy log file: C:\\DOCUME~1\\sdem\\NX73F8~1/S-linux-lab-1093-949B2B168A20A867FFBA58B5C38F8BE4/errors

although before 2 days i was connected to linux from windows.
any idea??
pls help me...


All times are GMT -5. The time now is 05:02 PM.