Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Install freenx
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Evangelion
Veteran
Veteran


Joined: 31 May 2002
Posts: 1087
Location: Helsinki, Finland

PostPosted: Tue Sep 14, 2004 12:12 pm    Post subject: Reply with quote

Does FreeNX work on AMD64? I noticed that it's not yet officially available for AMD64 in portage, but has anyone had any success in installing/running it regardless?
_________________
My tech-blog | My other blog
Back to top
View user's profile Send private message
mpalladi
n00b
n00b


Joined: 16 Apr 2003
Posts: 47

PostPosted: Thu Sep 16, 2004 2:23 pm    Post subject: Running sshd on another port Reply with quote

I have freenx server working, it's very good.

However, if I change the port sshd listens on, in my case from 22 to 443 I get the following error, even though I have selected port 443 in nxclient.

It recognises that port 443 is selected, but fails after initial authentication

NX> 203 NXSSH running with pid: 30843
NX> 200 Connected to address: 127.0.0.1 on port: 443
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 105 hello NXCLIENT - Version 1.3.2
NX> 134 Accepted protocol: 1.3.2
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: hdpalm
NX> 102 Password:
NX> 103 Welcome to: aslan.palla.dingos user: hdpalm
NX> 105 startsession --session="Aslan" --type="unix-kde" --cache="8M" --images="32M" --cookie="8179afb3d3589c01a932bb748fc053ca" --link="wan" --encryption="1" --backingstore="when_requested" --geometry="800x600+86+69" --keyboard="us_intl" --kbtype="pc105/us_intl" --media="0" --agent_server="" --agent_user="" --agent_password=""

ssh: connect to host 127.0.0.1 port 22: Connection refused

Thanks
Mark
Back to top
View user's profile Send private message
djmaze
n00b
n00b


Joined: 25 Jun 2003
Posts: 36
Location: Berlin, Germany

PostPosted: Thu Sep 16, 2004 6:41 pm    Post subject: Reply with quote

Quote:

Does FreeNX work on AMD64? I noticed that it's not yet officially available for AMD64 in portage, but has anyone had any success in installing/running it regardless?


The nxcomp package doesn't compile, for me at least. So you won't be able to install nx-x11, which is required. I will investigate this when I have some spare time.

Concerning the client: it doesn't work. The nxclient binary is x86 only. There is work on an alternative client in progress: kNX (see the mailing list). This might work on AMD64, but it needs the base nx packages to be installed beforehand.


Martin
Back to top
View user's profile Send private message
ThomasL
n00b
n00b


Joined: 15 Oct 2003
Posts: 30
Location: Switzerland

PostPosted: Fri Sep 17, 2004 9:02 am    Post subject: Reply with quote

djmaze wrote:
The nxcomp package doesn't compile, for me at least. So you won't be able to install nx-x11, which is required. I will investigate this when I have some spare time.


Try using gcc-3.3. It looks like gcc-3.4 doesnt work.
Back to top
View user's profile Send private message
WhimpyPeon
Apprentice
Apprentice


Joined: 18 Oct 2003
Posts: 158
Location: Columbus, Nebraska

PostPosted: Sun Sep 19, 2004 7:23 pm    Post subject: Reply with quote

I have ran into a small problem with the file /tmp/nxnode.log This file gets created by the first user who logs on. The file remains after this user logs off. Then when another user tries to logon the connection is refused because that user doesn't have authroity to the file. Has anyone else ran into this problem or have a suggestion (thought about
chmod g+w /tmp/nxnode.log ). I hate to change authority from defaults.
Back to top
View user's profile Send private message
txGeek
n00b
n00b


Joined: 15 Jun 2002
Posts: 10
Location: Houston, TX

PostPosted: Mon Sep 20, 2004 1:04 am    Post subject: Reply with quote

I started to install nxserver-freenx using the instructions but encountered an error when trying to run xmkmf on the nxviewer. I played around with it for a while and decided to try to emerge one more time.

I ran emerge with the full portage path /usr/portage/net-misc/nxserver-freenx/nxserver-freenx-0.2.4.ebuild. Everything looks like it installed, one error reported but I didn't investigate it. I setup a user by running /usr/NX/bin/nxserver --adduser and --passwd. I then checked the status of nxserver and it showed to be running. All of this was done remotely through an SSH session.

I closed that and launched the Windows NX client from an XP system here at the house and connected without any problems. I clicked the "X" to close the window and was prompted to suspend, terminate or cancel the session. I selected suspend and immediately reconnected. When I reconnected the apps I had open were still on the desktop but they were not where I had left them - the terminal session was a new session, and FireFox was open but not at the same page.

So, my question is whether there is any solution to the "suspend" working correctly?
Back to top
View user's profile Send private message
DreadPirate
n00b
n00b


Joined: 13 Apr 2002
Posts: 10
Location: Boston, MA

PostPosted: Mon Sep 20, 2004 10:34 am    Post subject: Reply with quote

TxGeek,

If you look back through this thread, you will see that resuming a session is something that has not yet been implemented properly in FreeNX. It will hopefully be added in a new version, but as it stands right now, it prompts you to suspend when you exit, but you cannot reconnect to the same session.
Back to top
View user's profile Send private message
Evangelion
Veteran
Veteran


Joined: 31 May 2002
Posts: 1087
Location: Helsinki, Finland

PostPosted: Mon Sep 20, 2004 11:17 am    Post subject: Reply with quote

ThomasL wrote:
djmaze wrote:
The nxcomp package doesn't compile, for me at least. So you won't be able to install nx-x11, which is required. I will investigate this when I have some spare time.


Try using gcc-3.3. It looks like gcc-3.4 doesnt work.


I tried installing it with 3.3.3 and it crapped out on me :(
_________________
My tech-blog | My other blog
Back to top
View user's profile Send private message
djmaze
n00b
n00b


Joined: 25 Jun 2003
Posts: 36
Location: Berlin, Germany

PostPosted: Mon Sep 20, 2004 12:42 pm    Post subject: Reply with quote

Doesn't work for me, too!
Back to top
View user's profile Send private message
gen2doggy
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2004
Posts: 75

PostPosted: Mon Sep 20, 2004 1:27 pm    Post subject: Reply with quote

got it working but the damn thing wont let you change the port that nxproxy uses so im stuffed, because although i can make the initial ssh connection, i cannot then connect to a session (i'm limited to 2 ports getting out of here!)

EDIT: What am I saying DOH!
It seems I cant even start nxproxy because...

<snip>
Error: Cannot open NX transport library 'libXcomp.so.1.4.0'. Error is 'libXcomp.so.1.4.0: cannot open shared object file: No such file or directory'.
</snip>

EDIT2: got it working, copied everything from /usr/NX/lib to /usr/lib and enabled the option for SSL traffic in the nxclient. I must say after all the praise on here - if it is actually any quicker, it only feels a tiny fraction quicker than VNC
Back to top
View user's profile Send private message
DerRalf
n00b
n00b


Joined: 13 Dec 2003
Posts: 34
Location: Bay Area, CA

PostPosted: Fri Sep 24, 2004 4:01 pm    Post subject: Reply with quote

Just to give everyone some hope:

I got FreeNX working. Resuming a session works too!

I am using nxserver-freenx 0.2.4, with nxclient 1.4.0-r2, nx-x11 1.4.0-r2, nxcomp/nxproxy 1.4.0 and gcc 3.3.4.
Back to top
View user's profile Send private message
jd5419
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2004
Posts: 110
Location: RI, USA

PostPosted: Sat Sep 25, 2004 3:29 am    Post subject: Reply with quote

has the security issues been addressed at all about the ssh authorization keys?
Back to top
View user's profile Send private message
djmaze
n00b
n00b


Joined: 25 Jun 2003
Posts: 36
Location: Berlin, Germany

PostPosted: Sat Sep 25, 2004 10:54 am    Post subject: Reply with quote

Yes! Look over here.

https://bugs.gentoo.org/show_bug.cgi?id=62912
Back to top
View user's profile Send private message
gregfortune
n00b
n00b


Joined: 21 Jan 2004
Posts: 3

PostPosted: Mon Sep 27, 2004 7:54 pm    Post subject: It's working now :) Reply with quote

Finally got it working on my main box. My latest attempt didn't get nearly as far as I had gotten earlier and the nx user was blocked from authenticating... Turned out I needed to symlink /usr/NX/home/nx/.ssh/authorized_keys2 to authorized_keys and it then worked fine.

Code:

ln -s /usr/NX/home/nx/.ssh/authorized_keys2 /usr/NX/home/nx/.ssh/authorized_keys


It does feel slow though :( Faster than VNC, but slower than rdesktop/RDP/terminal services. It appeared to have plenty of bandwidth and neither machine had any load, even while it was running.

Client: P4 2.8, 1GB RAM, GeForce FX 5200 running dualhead, university internet connection, Gentoo
Server: Dual Athlon MP 2.4, GeForce Ti4200 running dualhead, 1GB RAM, DSL (768 down, 256 up), Gentoo

I watched the traffic through knetload on both boxes and the server would spike up to about 130Kbits from time to time, but didn't seem to be bandwidth limited. It just felt slow. Menus took a while to respond, drawing was slow, etc.. I tried changing resolution, increasing the cache, changing the network type (Modem, ISDN, ..., LAN), and some of the image encoding stuff, but it didn't seem to make a bit of difference.

Any ideas or anything I might try tweaking?
Back to top
View user's profile Send private message
Gandalf98
Guru
Guru


Joined: 28 Feb 2003
Posts: 472
Location: Loano

PostPosted: Sat Oct 02, 2004 8:50 am    Post subject: Reply with quote

I'm trying to seting up a freenx server since about 3 days, but every try I got a different error!
Just for curiosity, have someone set up correctly the server?
and is it working?
There's something that I must know, and is not in this thread?

Thank in advance

cheers

gandalf
Back to top
View user's profile Send private message
WhimpyPeon
Apprentice
Apprentice


Joined: 18 Oct 2003
Posts: 158
Location: Columbus, Nebraska

PostPosted: Mon Oct 04, 2004 2:41 pm    Post subject: Reply with quote

Gandalf98

I have it working and it is pretty slick. I followed through this thread almost from the beginning... lots of emerge, upgrade, downgrade... I posted things I ran into throughout the process. In it's current state I am not sure what steps you would take. You might want to consider going down to the 1.3 client as I recall that worked well for me. Also you might try connecting with another computer and the windows client because that works good too.

I'm not at that box right now otherwise I would post what versions I have installed. :(
Back to top
View user's profile Send private message
Evangelion
Veteran
Veteran


Joined: 31 May 2002
Posts: 1087
Location: Helsinki, Finland

PostPosted: Tue Oct 05, 2004 11:01 am    Post subject: Reply with quote

Any news regarding AMD64-functionality?
_________________
My tech-blog | My other blog
Back to top
View user's profile Send private message
Gandalf98
Guru
Guru


Joined: 28 Feb 2003
Posts: 472
Location: Loano

PostPosted: Sat Oct 09, 2004 8:15 pm    Post subject: Reply with quote

I've installed the freenx-server I've added the user gandalf following the howto and then I've started the server.
Now I can connect from the localhost: and this is the log:
Code:
Oct  9 21:52:02 Zeus sshd[28202]: Accepted publickey for nx from 127.0.0.1 port 59135 ssh2
Oct  9 21:52:02 Zeus sshd(pam_unix)[28204]: session opened for user nx by (uid=0)
Oct  9 21:52:03 Zeus sshd[28224]: Accepted keyboard-interactive/pam for gandalf from 127.0.0.1 port 59139 ssh2
Oct  9 21:52:03 Zeus sshd(pam_unix)[28227]: session opened for user gandalf by (uid=0)
Oct  9 21:52:03 Zeus sshd(pam_unix)[28227]: session closed for user gandalf
Oct  9 21:52:03 Zeus sshd[28242]: Accepted keyboard-interactive/pam for gandalf from 127.0.0.1 port 59140 ssh2
Oct  9 21:52:03 Zeus sshd(pam_unix)[28245]: session opened for user gandalf by (uid=0)
Oct  9 21:52:03 Zeus sshd(pam_unix)[28245]: session closed for user gandalf
Oct  9 21:52:03 Zeus sshd[28292]: Accepted publickey for gandalf from 127.0.0.1 port 59141 ssh2
Oct  9 21:52:03 Zeus sshd(pam_unix)[28294]: session opened for user gandalf by (uid=0)


But if I try from a remote windows machine I get thi error:

Code:
NX> 203 NXSSH running with pid: 724
NX> 200 Connected to address: xxx.xxx.xxx.xxx on port: 22
NX> 202 Authenticating user: nx
Connection closed by xxx.xxx.xxx.xxx


from the ps aux I can see

Code:
nx       12234  0.0  0.2  1996 1040 ?        Ss   14:36   0:00 /bin/bash /usr/NX/bin/nxserver
nx       12249  0.0  0.2  2608 1504 ?        S    14:36   0:00 /usr/bin/expect /usr/NX/bin/nxnode-login nx@127.0.0.1 -p22 --check
nx       12250  0.0  0.3  3908 1680 pts/46   Ss+  14:36   0:00 ssh -2 nx@127.0.0.1 -o NumberOfPasswordPrompts 1 -p22 /usr/NX/bin/nxnode --c
root     12253  0.0  0.3  6852 1748 ?        Ss   14:36   0:00 sshd: nx [priv]
nx       12256  0.0  0.3  6872 1884 ?        S    14:36   0:00 sshd: nx@notty
nx       12257  0.0  0.1  1996 1024 ?        Ss   14:36   0:00 /bin/bash /usr/NX/bin/nxserver -c /usr/NX/bin/nxnode --check
Back to top
View user's profile Send private message
djco
Developer
Developer


Joined: 29 Mar 2003
Posts: 67
Location: 52.36, 4.89

PostPosted: Mon Oct 11, 2004 7:41 pm    Post subject: Reply with quote

I've been trying really hard to get FreeNX working for me. I have a Gentoo server set up on my LAN, and I want to be able to access Xfce4 on it from my Win XP workstation. I have NXClient 1.3.2-7 installed on the client, and I installed the nxserver-freenx-0.2.4 ebuild after unmasking it. I get this weird error, though, I think it's a problem on the client side (this is on the client).

Code:

NX> 203 NXSSH running with pid: 1768
NX> 200 Connected to address: 192.168.0.13 on port: 22
Could not create directory '/cygdrive/p/Internet/NX Client/%USERPROFILE%/.ssh'.
NX> 205 The authenticity of host 'supaari (192.168.0.13)' can't be established.
RSA key fingerprint is c3:23:2b:dd:a7:73:9f:26:ec:b3:0b:b6:7e:61:de:68.
Are you sure you want to continue connecting (yes/no)?
I don't actually get the dialog asking if I want to continue connecting, which is why it eventually times out. Does anyone know what's going on around here?
Back to top
View user's profile Send private message
vdboor
Guru
Guru


Joined: 03 Dec 2003
Posts: 592
Location: The Netherlands

PostPosted: Tue Oct 12, 2004 2:29 pm    Post subject: Reply with quote

stuherbert wrote:
I've currently package-masked all versions of nxserver (both commercial and freenx) until I've had the chance to test & document the security concern reported in https://bugs.gentoo.org/show_bug.cgi?id=62912


I was just wondering, could this be a sort of workarround for some people:


  • Add the following settings to /etc/ssh/sshd_config:
    Code:
    AllowUsers nx@<ipaddress of your location>, <other users>


Hope this helps :)
_________________
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer

[ screenies | Coding on KMess ]


Last edited by vdboor on Tue Oct 12, 2004 5:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
vdboor
Guru
Guru


Joined: 03 Dec 2003
Posts: 592
Location: The Netherlands

PostPosted: Tue Oct 12, 2004 2:31 pm    Post subject: Reply with quote

I was wondering, can I also use the NX client to access my XDMCP login screen? I'm not sure how to configure this.
_________________
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer

[ screenies | Coding on KMess ]
Back to top
View user's profile Send private message
Henning
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 196
Location: Braunschweig

PostPosted: Mon Nov 01, 2004 7:43 pm    Post subject: Reply with quote

Hi,

just tried to get nx work. I get some errors but now it's working.

nxclient-1.4.0-r2
nxcomp-1.4.0
nxproxy-1.4.0
nxserver-freenx-0.2.4
nxssh-1.4.0
nx-x11-1.4.0-r2
xfree-4.3.0-r6

The major problem was nx-x11, because some lib's could not be found. So I tried 'ebuild nx-x11 install' and I get them.
Still the copy steps are not ok.

Here's some piece of the (german) output. Maybe it helps someone.

Henning

>>> Install nx-x11-1.4.0-r2 into /read-write/portage/nx-x11-1.4.0-r2/image/ category net-misc
ln: Erzeugen der symbolischen Verknüpfung ,,/read-write/portage/nx-x11-1.4.0-r2/image//usr/NX/lib/../nxcomp/libXcomp.so" zu ,,libXcomp.so.1.4.0": Datei oder Verzeichnis nicht gefunden
ln: Erzeugen der symbolischen Verknüpfung ,,/read-write/portage/nx-x11-1.4.0-r2/image//usr/NX/lib/../nxcompext/libXcompext.so" zu ,,libXcompext.so.1.4.0": Datei oder Verzeichnis nicht gefunden
ln: Erzeugen der symbolischen Verknüpfung ,,/read-write/portage/nx-x11-1.4.0-r2/image//usr/NX/lib/lib/X11/libX11.so" zu ,,libX11.so.6.2": Datei oder Verzeichnis nicht gefunden
ln: Erzeugen der symbolischen Verknüpfung ,,/read-write/portage/nx-x11-1.4.0-r2/image//usr/NX/lib/lib/Xext/libXext.so" zu ,,libXext.so.6.4": Datei oder Verzeichnis nicht gefunden
ln: Erzeugen der symbolischen Verknüpfung ,,/read-write/portage/nx-x11-1.4.0-r2/image//usr/NX/lib/lib/Xrender/libXrender.so" zu ,,libXrender.so.1.2": Datei oder Verzeichnis nicht gefunden
Back to top
View user's profile Send private message
fearofcorners
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2004
Posts: 90
Location: Ontario, Canada

PostPosted: Tue Nov 02, 2004 3:06 am    Post subject: Reply with quote

Got it working from 0.3.2 ebuilds. had to copy the BINARY libs from nomachine.com to get it to work, also had to copy some libs to /bin.. but it works perfectly now, at least on linux box to linux box.. can't seem to get windows client to work.
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Sat Nov 13, 2004 5:47 am    Post subject: Reply with quote

Hi ..

Can anyone help me with this post about freenx
https://forums.gentoo.org/viewtopic.php?p=1757317

Thanks :D
Back to top
View user's profile Send private message
HRH_H_Crab
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 115
Location: Sarf East Lahndahn

PostPosted: Thu Dec 02, 2004 10:58 am    Post subject: Reply with quote

mega frustration!
cannot figure out where this is going wrong...
am authenticating o.k.
have fixed the ebuild so that it installs the libraries correctly under /usr/NX/lib/

when i try to connect my windows client gives me the message:

"Unknown Error".

anyone able to offer a hint?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 28, 29, 30  Next
Page 6 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum