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


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

PostPosted: Thu Sep 09, 2004 5:25 pm    Post subject: Reply with quote

Has anybody figured out how to get rid of the libXcomp.so.1.4.0 error without mixing and matching ebuilds and non-ebuilds. If possible I would like to stick with the ebuilds only. I have been looking all over trying to figure how to get this out and have no joy.

Any help would be greatly appreciated.
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: Thu Sep 09, 2004 6:25 pm    Post subject: Reply with quote

sonofzeus wrote:
WhimpyPeon wrote:
I have 0.2.1. There appeared to be a problem with the permissions on /etc/ssh/sshd_conf.

I gave others read permission and I got pretty far, but now I get:

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'.

I tried the manual install and probably got that set into my system, but I haven't figured out how to get it out.

Looks like me and you are at the same spot jd.
:(


i had this problem also, i fixed it by compiling the NX libXcomp from NoMachine's web site and copying those to /usr/NX/lib

i can connect fine but now all i get is a black screen with the traditional X cursor...

i'm gonna try compiling the rest of the NoMachine libs and installing those...



lucky you, have you kde or gnome installed? and what one do you have set to open?
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: Thu Sep 09, 2004 6:27 pm    Post subject: Reply with quote

i'm having a problem with the proxy now, try running tghe nx apps by themselfs they will give errorson libs and you have to hunt them down to install them this is quite a task but i went from working freenx, to non working freenx i guess i tinker too much. silly nx-x11-r1
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Thu Sep 09, 2004 7:19 pm    Post subject: Reply with quote

If you are running nxserver / freenx on a machine that is accessible from the Internet, read this bug now:

https://bugs.gentoo.org/show_bug.cgi?id=62912

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Thu Sep 09, 2004 7:22 pm    Post subject: Reply with quote

WhimpyPeon wrote:
I have 0.2.1. There appeared to be a problem with the permissions on /etc/ssh/sshd_conf.


No, the permissions on /etc/ssh/sshd_conf were correct. FreeNX shouldn't be trying to read that file. I've sent Fabian a bug report about it.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
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 09, 2004 7:39 pm    Post subject: nxclient problems Reply with quote

To all those who have problems with the nxcomp libraries! The fast and ugly solution is to go back to nxclient-1.3.2, including its dependencies: nxcomp and nxproxy!

Code:

maze nx-x11 # ACCEPT_KEYWORDS=~x86 emerge -p "=nxclient-1.3.2"

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-misc/nxcomp-1.3.2-r1
[ebuild  N    ] net-misc/nxproxy-1.3.2
[ebuild   R   ] net-misc/nxclient-1.3.2


The problems is that nxproxy from nxclient-1.4.0 needs nxcomp-1.4.0. The package nx-x11-1.4.0 installs nxcomp-1.3.2 though, so this doesn't work with the newer nxproxy!

@Stu: nxclient-1.4.0 ebuild needs fixing!
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: Thu Sep 09, 2004 7:42 pm    Post subject: Reply with quote

should i be pulling this down from my ded server in cali? reason i havent done so already is i try to do ssh jim@MYSERVER and it still asks for a password...?
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: Thu Sep 09, 2004 7:57 pm    Post subject: Reply with quote

tempted to just try an evaluation of the real stff
Back to top
View user's profile Send private message
Fabianx
n00b
n00b


Joined: 06 Sep 2004
Posts: 5

PostPosted: Thu Sep 09, 2004 8:17 pm    Post subject: Reply with quote

stuherbert wrote:
WhimpyPeon wrote:
I have 0.2.1. There appeared to be a problem with the permissions on /etc/ssh/sshd_conf.

No, the permissions on /etc/ssh/sshd_conf were correct. FreeNX shouldn't be trying to read that file. I've sent Fabian a bug report about it.


Yeah. I am currently fixing that bug.

Does PAM auth now work for you with 0.2.1 ?

cu

Fabian
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Thu Sep 09, 2004 9:14 pm    Post subject: Reply with quote

Fabianx wrote:
Yeah. I am currently fixing that bug.

Does PAM auth now work for you with 0.2.1 ?
Fabian
How do you tell it to use PAM? :oops: I know it compiled with pam because I saw the +pam when I did a pretend install.

This is the error log:
NX> 203 NXSSH running with pid: 408
NX> 285 Enabling check on switch command
NX> 200 Connected to address: 192.168.1.5 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
awk: cmd. line:2: fatal: cannot open file `/etc/ssh/sshd_config' for reading (Permission denied)
HELLO NXSERVER - Version 1.4.0-02 OS_(GPL)
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 09, 2004 9:21 pm    Post subject: Reply with quote

Quote:
How do you tell it to use PAM?


ENABLE_PAM_AUTHENTICATION has to be set to 1 in /usr/bin/nxserver. This is the default, so it should work!

It doesn't work for me though!
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Thu Sep 09, 2004 9:32 pm    Post subject: Reply with quote

djmaze wrote:
ENABLE_PAM_AUTHENTICATION has to be set to 1 in /usr/bin/nxserver. This is the default, so it should work!

It doesn't work for me though!
Okay. Then is there something that you need to set on the client to use PAM. When I first set up FreeNX, I added my user and then when I did the "nxserver --passwd {username here}" step, I entered in the same password that I use for that user on the Linux machine, so how can I tell if PAM is working or not? Well, I need to get past that ssh error first.
Back to top
View user's profile Send private message
sonofzeus
n00b
n00b


Joined: 02 Nov 2003
Posts: 38

PostPosted: Thu Sep 09, 2004 10:35 pm    Post subject: Reply with quote

jd5419 wrote:
sonofzeus wrote:
WhimpyPeon wrote:
I have 0.2.1. There appeared to be a problem with the permissions on /etc/ssh/sshd_conf.

I gave others read permission and I got pretty far, but now I get:

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'.

I tried the manual install and probably got that set into my system, but I haven't figured out how to get it out.

Looks like me and you are at the same spot jd.
:(


i had this problem also, i fixed it by compiling the NX libXcomp from NoMachine's web site and copying those to /usr/NX/lib

i can connect fine but now all i get is a black screen with the traditional X cursor...

i'm gonna try compiling the rest of the NoMachine libs and installing those...



lucky you, have you kde or gnome installed? and what one do you have set to open?


yup, i have gnome installed and i set my nx client to open gnome, but it takes ages to start the session. when i connect i authenticate just fine and it opens up a black window with an X cursor and after like 10 minutes it begins to open my gnome session...

does anyone have any idea as to why this happens??
Back to top
View user's profile Send private message
WhimpyPeon
Apprentice
Apprentice


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

PostPosted: Fri Sep 10, 2004 1:08 am    Post subject: Reply with quote

Wooo Hoooo I actually saw a NX session and yes it was fast!

Here is my status so far:

No, PAM isn't working yet. It tries, but you still need the key generated by --adduser. You can delete the user and it will still work. A user that has never been added will not work as far as I can tell. (yes I have pam set to 1 in the nxserver file)

The libXcomp issue was fixed by downgrading the client as described above.

So far KDE works but no GNOME but I didn't try too hard yet.
-edit- Doh! I don't have GNOME installed on this system. -/edit-

I had to leave the sshd_conf file chmod o+r (private network so not a problem for me but will fix it when properly patched).

So here are the steps that got me a KDE session working:
1) chmod o+r /etc/ssh/sshd_conf
2) echo '>=net-misc/nxserver-freenx-0.1' >> /etc/portage/package.unmask
3) emerge the 0.2.1 nxserver (this will also do the 1.4 clients)
4) downgrade the client
5) /usr/NX/bin/nxserver --adduser YOURUSER
6) /usr/NX/bin/nxserver --passwd YOURUSER
7) /usr/NX/bin/nxclient (BINGO)

I hope this helps a little. I understand this is really new stuff so patience is a virtue. Thanks everyone for all the help. I will watch the thread to see if there is anything I can do, but the wife has her gun out and gotta go now.


Last edited by WhimpyPeon on Fri Sep 10, 2004 2:58 am; edited 2 times in total
Back to top
View user's profile Send private message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Fri Sep 10, 2004 1:40 am    Post subject: Can't emerge nxserver-freenx even with ~x86 on! Reply with quote

Hey, what am I doing wrong? Is something wrong with my make.conf?
Code:

mail root # ACCEPT_KEYWORDS="~x86" emerge nxserver-freenx
Calculating dependencies   
!!! all ebuilds that could satisfy "nxserver-freenx" have been masked.
!!! possible candidates are:
- net-misc/nxserver-freenx-0.2.1 (masked by: package.mask)

!!! Error calculating dependencies. Please correct.

Also,
Code:
mail root # ACCEPT_KEYWORDS="~x86" emerge  net-misc/nxserver-personal
Calculating dependencies   
!!! all ebuilds that could satisfy "net-misc/nxserver-personal" have been masked.
!!! possible candidates are:
- net-misc/nxserver-personal-1.3.0-r2 (masked by: package.mask)
- net-misc/nxserver-personal-1.3.2 (masked by: package.mask)
- net-misc/nxserver-personal-1.3.2-r1 (masked by: package.mask)
- net-misc/nxserver-personal-1.4.0 (masked by: package.mask)

!!! Error calculating dependencies. Please correct.


_________________
It's spelled Raymond Luxury-Yacht, but it's pronounced Throat-Warbler Mangrove.
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: Fri Sep 10, 2004 2:06 am    Post subject: Reply with quote

they are hard masked, you have to use /etc/portage/package.unmask
Back to top
View user's profile Send private message
WhimpyPeon
Apprentice
Apprentice


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

PostPosted: Fri Sep 10, 2004 2:26 am    Post subject: Reply with quote

I have the following line in my /etc/portage/package.unmask:

>=net-misc/nxserver-freenx-0.1

You may have to create the directory and file.
Back to top
View user's profile Send private message
skobar
n00b
n00b


Joined: 31 Aug 2004
Posts: 7

PostPosted: Fri Sep 10, 2004 8:01 am    Post subject: concerning security Reply with quote

Ok, my nxserver is now running (on a other server - on this machine, it seems not to want to...) :lol:

So now I want to fix the securtiy concerns:

1) /etc/ssh/sshd_config

- added new group 'nx' to /etc/group with user 'nx' in it
- changed /etc/ssh/sshd_config to belong to root:nx (chown root:nx /etc/ssh/sshd_config)
- changed right of /etc/ssh/sshd_config to -rw-r-----

=> not perfect, but better then o+r...

2) use new DSA-Keys (good idea to make a backup of the old keys first!)
Code:
# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa): ./newKey
Enter passphrase (empty for no passphrase): <RETURN>
Enter same passphrase again: <RETURN>
Your identification has been saved in ./newKey.
Your public key has been saved in ./newKey.pub.
The key fingerprint is:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:47:11 root@host

# cp newKey /usr/NX/share/client.id_dsa.key

# scp newKey.pub nx@myNXserver:.ssh/authorized_keys2


BUT now the the nxclient asks me to enter the passphrase for the client.id_dsa.key - but without providing a text box :( Clicking 'yes' or 'no' in that dialog result always in a

Code:
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':
NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':
NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':
NX> 204 Authentication failed.


Error :( Even when I did not provide a passphrase when doing the 'ssh-keygen'

Someone any ideas?
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

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

I'm in the process of adding an ebuild for freenx-0.2.2 to Portage. This will include a 'nxregenkey' script, which will safely create a unique key for your machine.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
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 11, 2004 1:10 am    Post subject: Reply with quote

i'm evaluating the real software... wiuth the beta 1.4.0 chain of software... its excellent but i want to get away from paid products and support the OPEN SOURCE community... i'll look back at freenx when its more developed keep up the good work however.
Back to top
View user's profile Send private message
Fabianx
n00b
n00b


Joined: 06 Sep 2004
Posts: 5

PostPosted: Sat Sep 11, 2004 11:53 am    Post subject: Reply with quote

jd5419 wrote:
i'm evaluating the real software... wiuth the beta 1.4.0 chain of software... its excellent but i want to get away from paid products and support the OPEN SOURCE community... i'll look back at freenx when its more developed keep up the good work however.


Well, please do not forget:

FreeNX can and does only exist, because of NoMachine. Without their 7 and more years of development on the NX libraries and research in the field of low bandwidth X11 applications (dxpc, mlview), FreeNX could not exist.

So its in no way bad to use the commercial product, if you like it and you use either FreeNX or the commercial NX, think about supporting NoMachine (and with that effort also the free software community):

- By buying a personal license or spending some money
- By adding missing features to nxagent (PseudoColor / TrueColor + conversion functions to all depths, Real Rootless mode, XRANDR, XDamage)
- By doing something else ;-)

You can use the free Software without doing anything of course as its Open Source and free and made for free usage. :-)

Its just my own opinion, that we as a OpenSource community should try to give back something to NoMachine and in no way official.

cu

Fabian
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Sun Sep 12, 2004 8:18 am    Post subject: Reply with quote

Argh. I rebooted the server I use to write/test the FreeNX ebuilds, and now FreeNX isn't working at all for me. 8O

I'll commit the ebuilds for FreeNX 0.2.2 and 0.2.3 just as soon as I figure out why things have stopped working.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Sun Sep 12, 2004 8:29 am    Post subject: Reply with quote

jd5419 wrote:
i'm evaluating the real software... wiuth the beta 1.4.0 chain of software... its excellent but i want to get away from paid products and support the OPEN SOURCE community... i'll look back at freenx when its more developed keep up the good work however.


NoMachine provide excellent support to the OPEN SOURCE community. They've always provided free licenses to open source developers, and they've been excellent in their support for Gentoo.

On Gentoo, we'll continue to provide support for both NoMachine's commercial products as well as Fabian's FreeNX.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Sun Sep 12, 2004 9:06 am    Post subject: Reply with quote

If you want to keep track of the state of FreeNX in Portage, keep an eye on this bug:

https://bugs.gentoo.org/63757

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
Back to top
View user's profile Send private message
erlich
n00b
n00b


Joined: 30 Jan 2004
Posts: 14

PostPosted: Sun Sep 12, 2004 9:46 pm    Post subject: Reply with quote

hi guys,
i was running freenx just fine. yesterday, i changed from xfree to xorg6.8, and from that point on, i get to the point i see the session screen opening, see the !m logo, and then it closes, and i'm dropped out.
already tried emerging the ebuild again (0.2.1), but that doesn't seem to work.

any ideas?
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, 4, 5, 6 ... 28, 29, 30  Next
Page 5 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