[CentOS] freenx [SOLVED]

Craig White craigwhite at azapple.com
Tue Jan 24 16:18:19 UTC 2006


On Tue, 2006-01-24 at 09:12 -0700, Craig White wrote:
> On Tue, 2006-01-24 at 10:02 -0600, Les Mikesell wrote:
> > On Tue, 2006-01-24 at 09:25, Craig White wrote:
> > > but sshd on CentOS 4 doesn't look there.
> > > 
> > > so I merely
> > > 
> > > cd /var/lib/nxserver/home/.ssh
> > > cp authorized_keys2 authorized_keys
> > > chown nx authorized_keys
> > > 
> > > et voila - login
> > > 
> > > Thanks for everyone's help
> > > 
> > > I can't believe that people didn't stumble into this installing freenx
> > > on CentOS as it simply cannot work out of the box without doing this or
> > > some other change in /etc/ssh/sshd_config
> > 
> > I'm pretty sure I have not changed anything related to sshd_config
> > or the freenx setup, and mine has no authorized_keys and after a
> > login I can see the access time has changed on
> > /var/lib/nxserver/home/.ssh/authorized_keys2. 
> > # rpm -q openssh
> > openssh-3.9p1-8.RHEL4.9
> > # rpm -q freenx
> > freenx-0.4.4-1.centos4
> > I may have installed earlier versions and updated on this machine but
> > I doubt if that matters.  I'm still curious about that strace showing
> > that /var/lib/nxserver/home/.ssh/authorized_keys2 did not exist from
> > the app's perspective.  Strace doesn't lie. 
> ----
> run the command on your system...
> 
> strace -p freenxpid -f -t -o /tmp/logfile
> 
> I would expect that you would get very similar results so you can
> satisfy your curiosity. Thankfully, I didn't travel down the path since
> it wouldn't have led to the solution of my problem.
> 
> as for authorized_keys v. authorized_keys2...
> 
> I am not an sshd expert, but clearly on my systems (2), it wants
> authorized_keys and both of these were clean installs of CentOS 4.1 and
> ultimately updated to CentOS 4.2 before I ever attempted freenx.
> 
----
duh - the command I used was...

strace -o /tmp/logfile -f -t nxserver --restart

anyway, thanks for all the help last night Les

Craig




More information about the CentOS mailing list