You are not logged in.

#1 2015-02-17 13:00:07

slx
Member
Registered: 2015-02-07
Posts: 8

[SOLVED] xhost access control does not work for specified users

After last upgrade of xorg to v1.17.1-1 I get message: "unable to open display ":0" " when trying to run any window application as user specified in xhost. My xhost list looks like:

access control enabled, only authorized clients can connect
SI:localuser:steam
SI:localuser:root

But if I disable access control for everyone by invoking "xhost +" applications run on another accounts without problems. Does anyone has that problem too?

Last edited by slx (2015-02-22 12:24:17)

Offline

#2 2015-02-17 13:29:23

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] xhost access control does not work for specified users

I can confirm that, after the last update I have started seeing that problem.

For the time being I'm using 'xhost +local:', it is not as restricted but it doesn't disable access control completely.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2015-02-17 14:15:21

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: [SOLVED] xhost access control does not work for specified users

Perhaps because tcp listening is disabled by default? http://keithp.com/blogs/xserver-pending-fixes/

Offline

#4 2015-02-18 07:37:48

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

Re: [SOLVED] xhost access control does not work for specified users

lordheavy wrote:

Perhaps because tcp listening is disabled by default? http://keithp.com/blogs/xserver-pending-fixes/

But 'xhost +local' doesn't enable tcp listening, but fixes the behaviour...?

Offline

#5 2015-02-18 12:25:43

slx
Member
Registered: 2015-02-07
Posts: 8

Re: [SOLVED] xhost access control does not work for specified users

Offline

#6 2015-02-18 15:00:51

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: [SOLVED] xhost access control does not work for specified users

slx wrote:

Can you test package here http://pkgbuild.com/~lcarlier/test/ ?

Offline

#7 2015-02-19 14:29:59

slx
Member
Registered: 2015-02-07
Posts: 8

Re: [SOLVED] xhost access control does not work for specified users

Yes, after installing these packages xhost +si:localuser:someuser works ok.

Last edited by slx (2015-02-19 14:31:03)

Offline

#8 2015-02-21 13:39:52

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: [SOLVED] xhost access control does not work for specified users

Should be fixed with xorg-server-1.17.1-2 in extra, do not forget to add the tag [SOLVED]

Offline

#9 2015-02-22 12:22:39

slx
Member
Registered: 2015-02-07
Posts: 8

Re: [SOLVED] xhost access control does not work for specified users

Yes, it is fixed now, thanks.

Offline

Board footer

Powered by FluxBB