[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] /tmp/.X11-unix problems with nx-3.0.0 and
From:       "Fabian Franz" <FabianFranz () gmx ! de>
Date:       2007-11-03 15:13:09
Message-ID: 20071103151309.46360 () gmx ! net
[Download RAW message or body]


> Now to my question.
> 
> Should nxnode create /tmp/.X11-unix with owner root and permissions 1777
>  if that directory does not exist?  If it should, how would one create
> that directory with the owner root?

It is not possible. This needs to be created by user root before login via ssh is allowed.

I added a sample init.d script called "freenx-server" to SVN.

> As a temporary work around, I have just added a command to properly
> create the directory in /tmp/ on startup in rc.sysinit (just like
> ICE-unix) but what I am wondering is where this scenario should
> correctly be handled.

rc.sysinit is a good place.

> When running xinit (startX calls that) the directory /tmp/X11-unix is
> properly created, so this is only a problem for (at least for me) when
> trying connect to the server with X not running using NX.

The problem is that xinit is suid root, but FreeNX has no suid root executable.

cu

Fabian
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:
  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic