gksudo 16.10

Ralf Mardorf silver.bullet at zoho.com
Sun Nov 6 12:10:30 UTC 2016


On Sun, 06 Nov 2016 12:44:09 +0100, Oliver Grawert wrote:
>hi,
>Am Sonntag, den 06.11.2016, 12:05 +0100 schrieb Ralf Mardorf:
>> 
>> xhost +
>> ...
>> access control disabled, clients can connect from any host  
>
>any reason why you would do this ? 
>
>Xauth is by default open for localhost since 10.04, 
>there is no reason to rip it open for the world additionally, just
>setting DISPLAY= properly should be enough, if this doesnt work, then
>there is a bug ...

[rocketmouse at archlinux ~]$ xhost -
access control enabled, only authorized clients can connect
[rocketmouse at archlinux ~]$ gksudo -u chuser firefox
Error: cannot open display: :0
t connect: Connection refused
[rocketmouse at archlinux ~]$ xhost +
access control disabled, clients can connect from any host
[rocketmouse at archlinux ~]$ gksudo -u chuser firefox





More information about the ubuntu-users mailing list