Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203118 - net-misc/nxserver-freenx-0.7.1-r2 - fails client authentication
Summary: net-misc/nxserver-freenx-0.7.1-r2 - fails client authentication
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 02:49 UTC by WayneSherman
Modified: 2007-12-24 01:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?