On Sunday 20 February 2011 11:44:31 am David Hare wrote:
>> $ sux
-
>>
>> > (enter root password)
>> > # synaptic
>> >
>> > DOES WORK.
But synaptic is gtk. If anyone got a Trinity app running as root with
sux I would really like to know. (I don't/won't use sudo, it's disabled)
I read, can't remember where, it's better to put this in your ~/bashrc
than use xhost + :
#maybe this fixes x for root
export XAUTHORITY=$HOME/.Xauthority
It works for non-trinity (gtk)
Good point, using 'xhost +' essentially turns off access control. I use:
'xhost +local:<username>'
This controls the host, not necessarily the local box, and the user allowed to
connect to the xserver.
--
Peace,
Greg