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@nwra.com Boulder, CO 80301 http://www.nwra.com