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 ... 6, 7, 8 ... 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Thu Dec 02, 2004 11:34 am    Post subject: Reply with quote

Edit '/usr/NX/bin/nxserver' and enable logging (set it to 1). Look at the log file to see if there's anything wrong.
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 12:05 pm    Post subject: Reply with quote

HELLO NXSERVER - Version 1.4.0-02 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: crab
NX> 102 Password:
NX> 103 Welcome to: lantau user: crab
NX> 105 quit

theres something wrong but /tmp/nxserver.log aint talking...

if it helps the message i get on the w32 side isnt actually "Unknown Error".
its "Error Unknown" ;)

edit: aah im not supposed to use the latest client right? its b0rked?
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 12:37 pm    Post subject: Reply with quote

o.k. its working.
nothing to do with the client, more to do with me failing to tick the use ssl checkbox! :o

any hot tips for getting this playing nicely with xdcmp?
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Thu Dec 02, 2004 5:49 pm    Post subject: Reply with quote

HRH_H_Crab wrote:
o.k. its working.
nothing to do with the client, more to do with me failing to tick the use ssl checkbox! :o

You actually should run fine without enabling ssl. If I remember well, having to tick ssl means that you're running a firewall on the linux side and not opening the required ports. That is, 5000 + display number (1 for the first session, 2 for the second, and so on).
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 7:49 pm    Post subject: Reply with quote

heheh thats exactly what im doing ;P
Back to top
View user's profile Send private message
Magnum_
n00b
n00b


Joined: 01 Mar 2004
Posts: 61

PostPosted: Mon Dec 06, 2004 4:52 pm    Post subject: Reply with quote

Apparently, the nxserver-freenx package is currently locked in portage (for a week now ! :x )
Is there any way around this?
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Mon Dec 06, 2004 9:41 pm    Post subject: Reply with quote

If you mean masked, then you can unmask it by
Code:

echo 'net-misc/nxserver-freenx' >> /etc/portage/packages.unmask
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Sat Dec 11, 2004 10:07 am    Post subject: Reply with quote

How did you guys get that far? I've only seen in working on KNOPPIX 3.6. It neither works on KNOPPIX 3.7 nor Gentoo for me. Authentication is okay, but then iit starts negotiating some options und runs into a timeout after that.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Sat Dec 11, 2004 2:44 pm    Post subject: Reply with quote

wgi wrote:
How did you guys get that far? I've only seen in working on KNOPPIX 3.6. It neither works on KNOPPIX 3.7 nor Gentoo for me. Authentication is okay, but then iit starts negotiating some options und runs into a timeout after that.

Mmm .. timeout .. timeout .. I remember seeing that at one point of time :D

Are you using the same machine as client and server, that my not work (not sure).

Post your log, may be someone else can help :D
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Sat Dec 11, 2004 2:53 pm    Post subject: Reply with quote

veezi wrote:
Mmm .. timeout .. timeout .. I remember seeing that at one point of time :D

Are you using the same machine as client and server, that my not work (not sure).

Post your log, may be someone else can help :D


Yes, I tried on the same machine (since it worked in knoopix 3.6), but I also tried from a different machine without any noticable differences.

Just tried with localhost again after enabling logging. Seems nxagent can't start because libXcompext is missing (I only have libXcomp). I guess I saw an ebuild for this, might be worth a try. Can't tell you about knoppix 3.7 right now since I'm about to leave here right now.

I do not understand why nxagent is called at all, though, being part of nx-x11. I try to connect to my local machine which in turn should connect to something different (rdp, vnc, whatever)...

I'll have a closer look at it on monday, I guess.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Sat Dec 11, 2004 4:47 pm    Post subject: Reply with quote

Check out this bug, it might be helpful (https://bugs.gentoo.org/show_bug.cgi?id=71522).

A lot of other bug reports are there also (search nx). I found them to be helpful.
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Sun Dec 12, 2004 5:52 am    Post subject: Reply with quote

I keep getting NX server not installed or access has been denied.

I set up the server and client from the ebuilds. I did the
chmod u+x /usr/NX/var/db/*
chown -R nx:root /usr/NX/
nxserver --adduser username but I got error saying user was already in database.

details says
NX> 203 NXSSH running with pid: 12714
NX> 200 Connected to address: 192.168.1.209 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Sun Dec 12, 2004 2:25 pm    Post subject: Reply with quote

ok I unmerged nxserver-freenx and the nxclient.
emerged both agian and did the chmod stuff and added user password

still get the same errors.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Dec 12, 2004 8:29 pm    Post subject: Reply with quote

Moved from Desktop Environments.
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Mon Dec 13, 2004 1:01 am    Post subject: Reply with quote

I blew away all directorys and reemerged each item and now I get this ..everything is 1.4 so why is is loking for 1.3 libs?

anyone have this problem


Error: Cannot open NX transport library 'libXcomp.so.1.3.2'. Error is 'libXcomp.so.1.3.2: cannot open shared object file: No such file or directory'.
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Mon Dec 13, 2004 1:22 am    Post subject: Reply with quote

ok made a softlink to the lib it was looking fro from the one that was there.
now it times out and in /var/log/messages I get
Dec 12 20:17:17 Stevelinux sshd[9227]: Accepted publickey for steve from 127.0.0.
Dec 12 20:17:17 Stevelinux sshd(pam_unix)[9229]: session opened for user steve by
Dec 12 20:17:17 Stevelinux PAM-env[9229]: Unknown PAM_ITEM: <XAUTHORITY>
Dec 12 20:17:17 Stevelinux sshd[9229]: PAM pam_putenv: delete non-existent entry;
Dec 12 20:17:27 Stevelinux PAM-env[9229]: Unknown PAM_ITEM: <XAUTHORITY>
Dec 12 20:17:27 Stevelinux sshd[9229]: PAM pam_putenv: delete non-existent entry;
Dec 12 20:17:27 Stevelinux sshd(pam_unix)[9229]: session closed for user steve
Dec 12 20:18:18 Stevelinux PAM-env[9117]: Unknown PAM_ITEM: <XAUTHORITY>
Dec 12 20:18:18 Stevelinux sshd[9117]: PAM pam_putenv: delete non-existent entry;
Dec 12 20:18:18 Stevelinux sshd(pam_unix)[9117]: session closed for user nx


I remeber edit the a pam file because X over ssh was not working but I think that is messing this up..
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Mon Dec 13, 2004 1:52 am    Post subject: Reply with quote

ok I have the pam thing fixed (I think by # out the xath stuff in /etc/security/pam_env.conf)

but in my /var/log/messages i get
Dec 12 20:51:09 Stevelinux sshd[11941]: Accepted publickey for steve from 127.0.0.1 port 48044 ssh2
Dec 12 20:51:09 Stevelinux sshd(pam_unix)[11943]: session opened for user steve by (uid=0)
Dec 12 20:51:19 Stevelinux sshd(pam_unix)[11943]: session closed for user steve
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Mon Dec 13, 2004 5:23 am    Post subject: Reply with quote

problem solved. compiled from source (as in the firt post of this message ) and copied files needed over... (all the libX files were missing from the emerge)

now sound .. that is the next part. it playes the soudns on the server and not the client?? a challange for tomarrow.
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: Mon Dec 13, 2004 11:07 pm    Post subject: Reply with quote

I had it worked... may i make one suggestion? whoever is working with this ebuild and or project itself (please please dont mis understand me i LOVE the work going on with tthis and the ammount of work i've seen put into it is amazing. nxserver is huge) but take it and emerge it on a regular new install and see how they miss some nxcompext libraries. I've had it working but i used the commercial nx stuff for a while and nothing at all.. just wanted to comment this becuase it is do-a-ble.
Back to top
View user's profile Send private message
iccaros
n00b
n00b


Joined: 24 May 2004
Posts: 46
Location: wash dc

PostPosted: Tue Dec 14, 2004 10:53 am    Post subject: Reply with quote

ok new day and new server.. No workie..
keep getting authenication faild. nxserver is set for logging but is not.. I may have to go buy this program or try it as the freenx is not working, and as for it being beta.. if they are selling it it should no longer be beta..
Back to top
View user's profile Send private message
Airr
n00b
n00b


Joined: 15 Dec 2004
Posts: 6

PostPosted: Wed Dec 15, 2004 3:51 am    Post subject: 0.2.7 - Working. Reply with quote

Wondering if anyone else is running the 0.2.7 version of Freenx??

...and thanks for the great tips/info/rants/etc here. Great community!!!! Just the thing for newb's like me!

I got 0.2.7 working like so:

First, edited nx-x11-1.4.0-r2.ebuild to correct the problem with the libs not being copied to the proper place (thanks go to David Guembel for this):

Code:

   Removed:
                dolib ../nxcomp/libXcomp.so
             dolib ../nxcompext/libXcompext.so
             dolib lib/X11/libX11.so
             dolib lib/Xext/libXext.so
             dolib lib/Xrender/libXrender.so

   Replaced with:
             dolib ../nxcomp/libXcomp.so.1.4.0
             dolib ../nxcompext/libXcompext.so.1.4.0
             dolib lib/X11/libX11.so.6.2
             dolib lib/Xext/libXext.so.6.4
             dolib lib/Xrender/libXrender.so.1.2




Unmasked nx-x11-1.4.0-r2, nxclient-1.4.0-r2, nxproxy-1.4.0-r1 and emerged.

Commented out net-misc/nxserver-freenx in the package.mask file


Edited the /usr/portage/net-misc/nxserver-freenx/nxserver-freenx-0.2.4.ebuild file:

Code:

   changed all occurences of 0.2.4 to 0.2.7, just to be safe
   Removed the reference to nxclient-1.3.99
   Saved the file as nxserver-freenx-0.2.7.ebuild


Executed: "ebuild nxserver-freenx-0.2.7.ebuild digest" while in
the nxserver-freenx directory to create the neccessary digest file.

Emerged (~x86) nxserver-freenx-0.2.7

Executed "nxkeygen" to generate new unique key

Edited line 490 in the nxserver script:
Code:
Changed "nxnode-login" to "$NX_DIR/bin/nxnode-login"


Added a user with: nxserver --useradd <username>

Configured the 1.4 nxclient from NoMachine to log me into... IceWM :)


Connected to server from two systems....one an XP workstation, the other a Gentoo laptop.

YMMV, but I hope this helps!

AIR.

btw, can anyone verify that it's neccessary to copy the new key file over to the client systems? I've had it work on a machine at work with either key (original and new) connecting to my home system....
Back to top
View user's profile Send private message
cabal
n00b
n00b


Joined: 01 Jul 2002
Posts: 28
Location: UK

PostPosted: Mon Dec 20, 2004 4:15 pm    Post subject: Reply with quote

Re. the new key generated by 'nxkeygen'...

by default nxserver reads the public key from /usr/NX/home/nx/.ssh/authorized_keys2. nxkeygen does not touch this file so you need to go into /usr/NX/home/nx/.ssh and replace authorized_keys2 with the newly created server.id_dsa.pub.key file you'll find there (I suggest you save the original authorized_keys2 file).
You should find that you clients will fail to connect at this point.
The next step if to copy the client.id_dsa.key to your client machine where your nx client software will pick it up from. On my XP box using the nomachine client this is 'c:/Program Files/NX Client for Windows/share/client.id_dsa.key' - this will vary according to what and where you installed. Again backup your original key file.

Good luck
Back to top
View user's profile Send private message
NeilW
n00b
n00b


Joined: 24 Dec 2004
Posts: 2
Location: Halifax, UK

PostPosted: Fri Dec 24, 2004 4:12 pm    Post subject: Reply with quote

Is anybody maintaining the ebuilds for FreeNX in the package database? The Changelogs suggests that not a lot has happened since September.
_________________
NeilW
Aldur Systems
Back to top
View user's profile Send private message
mansica
n00b
n00b


Joined: 25 Dec 2003
Posts: 10
Location: Luleå, Sweden

PostPosted: Sat Dec 25, 2004 2:17 am    Post subject: Reply with quote

What is this all about?

Tried to connect:
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1001 Bye.
NX> 105 NX> 1004 Error: nxagent failed to start. Session timed out.
Blocking 1002 again ...
NX> 1001 Bye.
quit

so I tred to exec nxagent:
root[/usr/NX/lib]> nxagent
nxagent: error while loading shared libraries: libXcompext.so.1: cannot open shared object file: No such file or directory
root[/usr/NX/lib]> ls
libXcomp.so.1 libXcomp.so.1.4.0

I have installed nxserver-freenx-0.2.4
I've also tried to downgrade to nxclient-1.3.2 with no go.
Back to top
View user's profile Send private message
mansica
n00b
n00b


Joined: 25 Dec 2003
Posts: 10
Location: Luleå, Sweden

PostPosted: Sat Dec 25, 2004 1:56 pm    Post subject: Reply with quote

I fixed the above by altering the ebuild mentioned above. But my nxagent wont run anyway.
When I try to run nxagent I get this message:
root[/tmp]> nxagent

NXAGENT - Version 1.4.0

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

Info: Agent running with pid '12676'.

Fatal server error:
NXAGENT: Unable to open display "".

It doesnt matter if I give a display as argument, i.e. nxagent :1.
What does this mean?
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 ... 6, 7, 8 ... 28, 29, 30  Next
Page 7 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