On Fri, 2014-07-11 at 16:57 +0200, Guus Snijders wrote:
> I haven't tested it, but xhost seems a bit superfluous in combination with
> gksudo. Doesn't gksudo take care of setting the X auth itself?

It doesn't.

[rocketmouse@archlinux ~]$ gksudo -u chuser qupzilla
[rocketmouse@archlinux ~]$ xhost + ; gksudo -u chuser qupzilla
access control disabled, clients can connect from any host
QupZilla: 0 extensions loaded
[rocketmouse@archlinux ~]$ xhost -
access control enabled, only authorized clients can connect

Regards,
Ralf

Reply via email to