Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nxsetup bug?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aad-Jan
n00b
n00b


Joined: 02 Feb 2006
Posts: 16
Location: Utrecht - The Netherlands

PostPosted: Wed Mar 04, 2009 9:56 am    Post subject: nxsetup bug? Reply with quote

Hi y'all,

I setup nxserver-freenx and I noticed some oddity in the nxsetup script.
I ran the following to setup freenx to use a specific key pair;

Code:
# nxsetup --install --clean --purge


and got this

Code:
----> Testing your nxserver connection ...
Permission denied (publickey,keyboard-interactive).
Fatal error: Could not connect to NX Server.


Moreover nxclient wouldn't connect with the message;
"The NX service is not available or the NX access was disabled on host 10.0.0.182"

Checking /var/lib/nxserver I saw that the owner and group where set to root. Changing both to nx fixed it and allowed me to connect with the nxclient again.

I'm curious as to whether this is a bug, something that got overlooked or something I missed.

In any of these cases, it's easy to fix if you run into this with;

Code:
# chown -R nx:nx /var/lib/nxserver


Run
Code:
# nxsetup --test

to verify this.

Greets Aad-Jan
_________________
“Those who surrender freedom for security will not have, nor do they deserve, either one.”

― Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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