Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203118

Summary: net-misc/nxserver-freenx-0.7.1-r2 - fails client authentication
Product: Gentoo Linux Reporter: WayneSherman <systemdesignworks>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description WayneSherman 2007-12-23 02:49:59 UTC
The wiki how-to (http://gentoo-wiki.com/HOWTO_FreeNX_Server) says to emerge freenx (I am using 0.7.1-r2), then run this command:

 nxsetup --install --clean --purge

That sets the owner/group incorrectly on "/var/lib/nxserver/" so that only root can access the directory and its subdirectories.  Since the "nx" user's home directory and ssh keys are located under that directory, they cannot be accessed when nxclient attempts an ssh login.

Reproducible: Always

Steps to Reproduce:
1. follow the "Installation (Version 1, easy and correct)" guide at:
  http://gentoo-wiki.com/HOWTO_FreeNX_Server

2. after running the nxsetup command, check the owner & group on "/var/lib/nxserver/", they are root:root

3. try to login using nxclient (I tried from Windows)

Actual Results:  
nxclient fails to login, reports authentication failure.

Expected Results:  
nxclient logs in and authenticates.

nxsetup should set "/var/lib/nxserver/" owner and group to nx:nx.  Issuing a "chown nx:nx /var/lib/nxserver" fixes the problem and allows proper authentication to work.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 07:29:25 UTC
We don't maintain, nor are responsible for broken instructions provided at gentoo-wiki.com or other third-party websites.
Comment 2 WayneSherman 2007-12-24 01:34:12 UTC
Where are the official instructions?