xhost access control fails to add other users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11-xserver-utils (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Since 15.04 it is not possible to allow access control to a specific user.
Tested with the current xubuntu 15.04 live iso file, it is the same problem.
$ md5sum xubuntu-
586604cdb814f90
It can easily reproduced by adding another user:
sudo adduser user2
xhost +SI:localuser:user2
localuser:user2 being added to access control list
su user2
But it is sill not possible to start gui applications.
user2@xubuntu:~$ xclock
No protocol specified
Error: Can't open display: :0.0
user2@xubuntu:~$ /usr/bin/firefox
(process:3130): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
No protocol specified
No protocol specified
Error: cannot open display: :0.0
a workaround would be:
xhost +local:
non-network local connections being added to access control list
added apport-collect 1448431
---
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CasperVersion: 1.360
CurrentDesktop: XFCE
DistroRelease: Ubuntu 15.04
LiveMediaBuild: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
Package: x11-xserver-utils 7.7+2ubuntu2
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: vivid
Uname: Linux 3.19.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
description: | updated |
tags: | added: access control xhost |
Changed in x11-xserver-utils (Ubuntu): | |
importance: | Undecided → High |
apport information