[X2Go-Dev] Bug#438: Bug#438: x2goserver and rhel6.4 / selinux Problem

Orion Poplawski orion at cora.nwra.com
Sat Mar 1 00:07:02 CET 2014


On 02/28/2014 05:15 AM, Frank Knoben wrote:
> Hi Mike,
>
> what about the following solution / proposal for the x2goruncommand script:
>
>
> ....
> # run logout scripts
>
> FIX_XAUTH=`ls -Z $HOME/.Xauthority | egrep default_t`
> if test -n $FIX_AUTH
> then
>    /usr/bin/chcon unconfined_u:object_r:xauth_home_t:s0 $HOME/.Xauthority
> fi
>

I would suggest using restorecon to set the label.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com



More information about the x2go-dev mailing list