Description of problem: Standard FC5 sshd (openssh) refuses to let an NX client connect due to unsecure permissions. Version-Release number of selected component (if applicable): freenx-0.5.0-0.5.test7.fc5 nx-1.5.0-10.fc5 openssh-server-4.3p2-4 How reproducible: Not sure. Here: always. Steps to Reproduce: 1. Start up nomachine.com's NX client for Win32 2. Connect to FC5 machine. Actual results: Can't establish connection. (I can't recall the Windows client's message.) Expected results: Start up X11/NX. Additional info: The NX server running FC5 complains in /var/log/secure: sshd[8086]: Authentication refused: bad ownership or modes for directory /var/ lib/nxserver/home Indeed, /var/lib/nxserver/home has the permissions 775. sshd doesn't seem to care that this may be fine, it just looks at the numbers, I guess. (Apparently, if you configure sshd with "StrictModes no", with is _not_ recommended, it will accept these permissions.) Manually doing chmod g-w fixes this. NX then actually works out of the box. Excellent work, guys! A trivial patch for the SPEC file is attached.
Created attachment 132008 [details] patch to SPEC file to fix nx user's home dir permissions
Fixed in current version. 0.5.0-2