[FreeNX-kNX] Problems with freeNX after aborting a Session
Bruno S. Delbono
Bruno.S.Delbono at Mail.AC
Mon Dec 12 16:36:39 UTC 2005
Daniel Spannbauer wrote:
> Ok, more Infos....no Prob.
> Installed: freeNX with Libs from Nomachine, Builded from Scratch. OS:
> SuSE 8.2
> Client: Newest Client from nomachine.
>
> ##################################Input of the Error-File from
> /home/user/.nx/T-C-*******
> ----------------------------------------------------------
> ddxProcessArgument: WARNING: "never" value for -bs option is disabled.
> ddxProcessArgument: WARNING: Setting default value "when_requested".
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
What happens if you change /tmp/.X11-unix to root:root with mode 1777?
(chown -R root:root /tmp/.X11-unix; chmod 1777 /tmp/.X11-unix)
To automate it, try the attached file under cron
-------------------------------------------------------------------
#!/usr/bin/ksh
PATH=''
IFS=' '
ice_dir=/tmp/.ICE-unix
x11_dir=/tmp/.X11-unix
for dirname in $ice_dir $x11_dir ; do
{
if (! [ -d $dirname ] )
then
/usr/bin/mkdir $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot mkdir $dirname.";
fi
fi
if ([ -d $dirname ] )
then
/usr/bin/chown root:root $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot chown $dirname.";
fi
/usr/bin/chmod 1777 $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot chmod $dirname to 1777.";
fi
fi
}
done
----------------------------------------------------------------------
More information about the FreeNX-kNX
mailing list