[FreeNX-kNX] Cannot start session on FreeBSD

Alastair Johnson alastair at solutiontrax.com
Thu Jun 14 08:06:21 UTC 2007


See the FAQ (link in the footer) for how to turn on logging and up the log 
level on the server. Check the log files it suggests.

As FreeNX is a few shell scripts you can easily see look at the code to see 
what generates the error message. You can start with nxnode since that's 
where most of it happens.

On Thursday 14 June 2007 08:50, Matthias Fechner wrote:
> Hi,
>
> I used the package from:
> http://www.deweyonline.com/nx/freebsd.html
>
> I have running now freenx 0.6.0 and nxserver 2.1.0 on FreeBSD 6.2 with
> XOrg 7.2 in the base system. But if I understand everything correctly
> nx uses it own libraries.
>
> On localhost i can su to nx and the nodeserver is started:
> HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
> NX> 105
>
> ok so far so good.
>
> Now i tried to login with the client 2.1.0-17 for windows.
> I configured it to connect to localhost (had portforwarding with putty
> running) and SSL is enabled.
> As start session I selected custom and as command I inserted xterm.
>
> If I try no to login I got as error message: Session start failed.
> The log on the windows machine says:
> NX> 203 NXSSH running with pid: 3208
> 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: 127.0.0.1 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
> NX> 105 hello NXCLIENT - Version 1.5.0
> NX> 134 Accepted protocol: 1.5.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: idefix
> NX> 102 Password:
> NX> 103 Welcome to: server.idefix.lan user: idefix
> NX> 105 listsession --user="idefix" --status="suspended,running"
> --geometry="1600x1200x16+render" --type="unix-application"
> NX> 127 Sessions list of user 'idefix' for reconnect:
>
> Display Type             Session ID                       Options
> Depth Screen         Status      Session Name
> ------- ---------------- -------------------------------- --------
> ----- -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: idefix
> NX> 105 startsession  --rootless="1" --virtualdesktop="0"
> --application="xterm" --link="adsl" --backingstore="1" --nodelay="1"
> --encryption="1" --cache="8M" --images="32M" --media="0"
> --session="Daheim" --type="unix-application" --kbload="
> --kbload=pc102/de" --keymap=" --keymap=de" --kbtype="pc102/de"
> --keybd="1" --screeninfo="1600x1200x16+render"
>
> NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
> NX> 700 Session id:
> server.idefix.lan-1005-25B0C301D05EF34DF1CC4E9FE0DE16A3
> NX> 705 Session display: 1005
> NX> 703 Session type: unix-application
> NX> 701 Proxy cookie: 120c2d9f9d104031d5dac9f184b4f42a
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 120c2d9f9d104031d5dac9f184b4f42a
> NX> 704 Session cache: unix-application
> NX> 707 SSL tunneling: 1
> NX> 1009 Session status: starting
> NX> 1004 Error: Session did not start.
> NX> 596 Session start failed.
> NX> 999 Bye
> Killed by signal 15.
>
>
> How can I debug or find out why it cannot start the session?
>
>
> Best regards,
> Matthias




More information about the FreeNX-kNX mailing list