[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about aptitudetask-ldxe



On Mon, Dec 26, 2016 at 12:45:31PM +0100, Floris wrote:
> Not recommended, but it will work
> as the normal user:
> xhost +
> su and run synaptic
> xhost -

Another alternative is to allow ssh connections as root (which may not
be the default, depending on which version of Debian you install),
and then:

ssh -X root@localhost

A third alternative, if your regular user has an ~/.Xauthority file,
is:

su
export XAUTHORITY=/home/youruser/.Xauthority

(The export may not even be necessary; it seems XAUTHORITY is
automatically exported from the X session under certain conditions that I
can't pinpoint.  Just don't use "su -" which would clear the environment.)


Reply to: