[freenx] Problems with freenx

Ask questions about Arch Linux ARM. Please search before making a new topic.

[freenx] Problems with freenx

Postby moewe » Wed May 16, 2012 12:36 pm

Problems with freenx

Hi there :)
I installed Arch Linux ARM on my openrd client device (followd the excellent guide at http://archlinuxarm.org/platforms/armv5/openrd )
Works perfectly so far.
Now I wanted to install lxde and use it via freenx.
I followed the guide at https://wiki.archlinux.org/index.php/FreeNX and installed all relevant tools like xorg lxde freenx ... (can provide a pacman log on demand)
The installation completed succesfully but when I try to use the NX Client for Windows (from nomachine.com; Release: 3.5.0-7) it fails at the "Negotiating link parameters" step.

### Error from nx client:
$this->bbcode_second_pass_code('', '
Info: Display running with pid '4064' and handler '0xc003ec'.
')

### /var/log/nxserver.log
$this->bbcode_second_pass_code('', '
[root@alarm ~]# cat /var/log/nxserver.log
-- NX SERVER START: -c /usr/lib/nx/bin/nxserver - ORIG_COMMAND=
-- NX SERVER START: - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: jtl
NX> 102 Password:
Info: Auth method: ssh jtl@127.0.0.1's password:
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: alarm user: jtl
NX> 105 listsession --user="jtl" --status="suspended,running" --geometry="1280x1024x32+render" --type="unix-application"
NX> 127 Sessions list of user 'jtl' for reconnect:

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


NX> 148 Server capacity: not reached for user: jtl
NX> 105 startsession --rootless="1" --virtualdesktop="0" --application="/usr/bin/lxterminal" --link="modem" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="test3" --type="unix-application" --client="winnt" --kbload="pc102/de" --keymap="de" --keyboard="pc102/de" --aux="1" --screeninfo="1274x946x32+render"

&rootless=1&virtualdesktop=0&application=/usr/bin/lxterminal&link=modem&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=test3&type=unix-application&client=winnt&kbload=pc102/de&keymap=de&keyboard=pc102/de&aux=1&screeninfo=1274x946x32+render&clientproto=3.2.0&user=jtl&userip=81.189.118.2&uniqueid=D7F1D02C1EFDD4F08A9AD6FAD99DC085&display=2000&host=127.0.0.1
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
nxnode_reader: NX> 700 Session id: alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085
NX> 700 Session id: alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085
server_nxnode_echo: NX> 700 Session id: alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085
nxnode_reader: NX> 705 Session display: 2000
NX> 705 Session display: 2000
server_nxnode_echo: NX> 705 Session display: 2000
nxnode_reader: NX> 703 Session type: unix-application
NX> 703 Session type: unix-application
nxnode_reader: NX> 701 Proxy cookie: 0faaf81456bca15c3b1e14f21f167268
NX> 701 Proxy cookie: 0faaf81456bca15c3b1e14f21f167268
server_nxnode_echo: NX> 703 Session type: unix-application
server_nxnode_echo: NX> 701 Proxy cookie: 0faaf81456bca15c3b1e14f21f167268
nxnode_reader: NX> 702 Proxy IP: 192.168.0.4
NX> 702 Proxy IP: 192.168.0.4
nxnode_reader: NX> 706 Agent cookie: 0faaf81456bca15c3b1e14f21f167268
NX> 706 Agent cookie: 0faaf81456bca15c3b1e14f21f167268
server_nxnode_echo: NX> 702 Proxy IP: 192.168.0.4
nxnode_reader: NX> 704 Session cache: unix-application
NX> 704 Session cache: unix-application
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 706 Agent cookie: 0faaf81456bca15c3b1e14f21f167268
server_nxnode_echo: NX> 704 Session cache: unix-application
server_nxnode_echo: NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
NX> 710 Session status: running
server_nxnode_echo: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
NX> 1002 Commit
server_nxnode_echo: NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
NX> 1006 Session status: running
NX> 105 session_status D7F1D02C1EFDD4F08A9AD6FAD99DC085 Running
server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
Info: Closing connection to slave with pid 3002.
nxnode_reader: 1001 Bye.
1001 Bye.
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/jtl/.nx/F-C-alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085/session". You might also want to try: ssh -X myserver; /usr/lib/nx/bin/nxnode --agent to test the basic functionality. Session log follows:
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/jtl/.nx/F-C-alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085/session". You might also want to try: ssh -X myserver; /usr/lib/nx/bin/nxnode --agent to test the basic functionality. Session log follows:
nxnode_reader: NX> 1006 Session status: closed
NX> 1006 Session status: closed
server_nxnode_echo: NX> 596 Session startup failed.
nxnode_reader: NX> 1001 Bye.
Info: Closing connection to slave with pid 3002.
')

##cat /home/jtl/.nx/F-C-alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085/session
$this->bbcode_second_pass_code('', '
NXAGENT - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '3539'.
Session: Starting session at 'Wed May 16 14:24:06 2012'.
Loop: WARNING! Ignoring unknown option 'kbload' with value 'pc102/de'.
Warning: Ignoring unknown option 'kbload' with value 'pc102/de'.
Loop: WARNING! Ignoring unknown option 'keymap' with value 'de'.
Warning: Ignoring unknown option 'keymap' with value 'de'.
Info: Proxy running in server mode with pid '3539'.
Info: Waiting for connection from '127.0.0.1' on port '6000'.
Info: Aborting the procedure due to signal '1'.
Error: Aborting session with 'Unable to open display 'nx/nx,options=/home/jtl/.nx/C-alarm-2000-D7F1D02C1EFDD4F08A9AD6FAD99DC085/options:2000''.
Session: Aborting session at 'Wed May 16 14:25:06 2012'.
Session: Session aborted at 'Wed May 16 14:25:06 2012'.
xrdb: Connection reset by peer
xrdb: Can't open display ':2000'

(lxterminal:3555): Gtk-WARNING **: cannot open display: :2000
')

Any suggestions whats wrong here?
Last edited by WarheadsSE on Wed May 16, 2012 12:44 pm, edited 2 times in total.
Reason: adding code tags
moewe
 
Posts: 3
Joined: Wed May 16, 2012 12:26 pm

Re: [freenx] Problems with freenx

Postby kmihelich » Wed May 16, 2012 3:53 pm

It looks like it might be having a problem starting X, have you tried getting a desktop started just on the device itself? You can just plug in a monitor and run startx or whatever over ssh.

You might also want to try what it says from another Linux box:
$this->bbcode_second_pass_quote('', 'Y')ou might also want to try: ssh -X myserver; /usr/lib/nx/bin/nxnode --agent to test the basic functionality.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: [freenx] Problems with freenx

Postby WarheadsSE » Wed May 16, 2012 4:08 pm

There is also a note on that wiki article about freenx & bach_complete in bashrc.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [freenx] Problems with freenx

Postby moewe » Mon May 21, 2012 7:10 pm

Hi there,

Sorry for my late response.
No success getting a desktop to start (followed https://wiki.archlinux.org/index.php/Beginners'_Guide from the "Graphical User Interface" and afterwards https://wiki.archlinux.org/index.php/Xfce)
The screen just stays black.

$this->bbcode_second_pass_code('', 'You might also want to try: ssh -X myserver; /usr/lib/nx/bin/nxnode --agent to test the basic functionality.')
Also no success, just a black window

Any more hints for me?
moewe
 
Posts: 3
Joined: Wed May 16, 2012 12:26 pm

Re: [freenx] Problems with freenx

Postby WarheadsSE » Mon May 21, 2012 7:22 pm

$this->bbcode_second_pass_quote('', 'h')ttps://wiki.archlinux.org/index.php/FreeNX

$this->bbcode_second_pass_quote('WarheadsSE', 'T')here is also a note on that wiki article about freenx & bach_complete in bashrc.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm
Top

Re: [freenx] Problems with freenx

Postby pepedog » Mon May 21, 2012 8:42 pm

did you install a fb device, ie
pacman -S xf86-video-fbdev

and to start
xinit /usr/bin/lxsession
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [freenx] Problems with freenx

Postby moewe » Tue May 22, 2012 5:58 am

@ WarheadsSE
I was trying to get x running without freenx this time. I removed the bash_completion from the /etc/bashrc.

@pepedog
Yes, I installed fb device too - no sucess :(
moewe
 
Posts: 3
Joined: Wed May 16, 2012 12:26 pm

Re: [freenx] Problems with freenx

Postby undici77 » Fri Aug 03, 2012 4:40 am

Hello friends, I got similar problem on my Rasp Pi too.

On fresh installation I follow the easy guide to install Lxde (and it run with command xinit /usr/bin/lxsession).
After I follow this guide https://wiki.archlinux.org/index.php/FreeNX (the same of the first post) and I got the same problem.

Searching on google I found similar post with similar problem like this: https://github.com/archlinuxarm/PKGBUILDs/issues/203

Any new ideas?
undici77
 
Posts: 3
Joined: Fri Aug 03, 2012 4:35 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 2 guests