[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:       Johnny Hughes <mailing-lists () hughesjr ! com>
Date:       2007-11-03 16:28:45
Message-ID: 472CA1BD.2010800 () hughesjr ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Fabian Franz wrote:
>> 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.

This might be the route I need to take, as I don't want to modify the
initscripts RPM that provides rc.sysinit

> 
>> 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.
>

That is what I was thinking too ... what is strange is that they (in
this case Red Hat) already do create /tmp/.ICE-unix but for whatever the
reason, they do not create /tmp/.X11-unix

I will open up a discussion about this on the RH message list.

I do make the freenx and nx RPMS for CentOS, so I could also create a
script that goes into /etc/init.d/ and does nothing more that create the
directory if it does not exist (as root) when the machine starts ...
which I can do if Red Hat will not modify their initscripts RPM.

>> 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.

That is what I found as well.

> 
> cu
> 
> Fabian

Thanks,
Johnny Hughes



["signature.asc" (application/pgp-signature)]

________________________________________________________________
     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