'snap run spotify' does not connect to pulseaudio daemon

Apologies if this is covered elsewhere but I have searched this forum and google in general.

Problem: any snap app that I run that has connection pulseaudio does not connect to the pulseaudio daemon which I am running. It appears to fall back on ALSA and fails.

system:
OpenSuSE Tumbleweed
Linux 5.8.14-1-default #1 SMP Wed Oct 7 06:23:04 UTC 2020 (cea47bb) x86_64 GNU/Linux

snap:
gato ~> snap --version
snap 2.47.1-1.1
snapd 2.47.1-1.1
series 16
opensuse-tumbleweed 20201014
kernel 5.8.14-1-default

spotify (version):
gato ~> snap list spotify
Name Version Rev Tracking Publisher Notes
spotify 1.1.42.622.gbd112320-37 42 latest/stable spotify✓ -

spotify (connections):
gato ~> snap connections spotify
Interface Plug Slot Notes
browser-support spotify:browser-support :browser-support -
desktop spotify:desktop :desktop -
gsettings spotify:gsettings :gsettings -
home spotify:home :home -
mount-observe spotify:mount-observe - -
mpris - spotify:spotify-mpris -
network spotify:network :network -
network-manager spotify:network-manager - -
opengl spotify:opengl :opengl -
pulseaudio spotify:pulseaudio :pulseaudio -
unity7 spotify:unity7 :unity7 -
wayland spotify:wayland :wayland -
x11 spotify:x11 :x11 -

pulseaudio (version):
gato ~> zypper if pulseaudio
Loading repository data…
Reading installed packages…

Information for package pulseaudio:
-----------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : pulseaudio
Version        : 13.0-9.3
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 3.9 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : pulseaudio-13.0-9.3.src
Summary        : A Networked Sound Server
Description    : 
    pulseaudio is a networked sound server for Linux, other Unix like
    operating systems and Microsoft Windows. It is intended to be an
    improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

pulseaudio (daemon):
gato ~> ps auwwx|grep pulseaudio
gato+ 16415 0.0 0.0 6120 684 pts/0 S+ 13:38 0:00 grep --color=auto pulseaudio
gato+ 24960 4.2 0.0 1619528 13584 ? S<l Nov03 50:58 /usr/bin/pulseaudio --start

When I run spotify, it starts with several warnings. I have researched them all and they appear to be common and not important.

gato ~> snap run spotify
Gtk-Message: 13:46:04.516: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to open i965 (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: i965
MESA-LOADER: failed to open kms_swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver

Then when I try to play a track, there are an endless set of errors (until I Ctrl-C out)

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf

There is nothing in the system logs, nothing in pulseaudio logs, no indication that snap ever connected to puluseaudio.

I have tested with snap youtube-music-desktop-app with the same results.

Pulseaudio works fine from every other system process.

If someone can point me in the right direction, I would be grateful.

Gato

Sorry for the inconvenience. I can reproduce this problem only with a very old snap that is not using the correct desktop helpers setup (eg. ohmygiraffe). The workaround there is to run the X11 session instead of a wayland one to allow some fallback code in libpulse.

However, I cannot reproduce the problem using the spotify snap. Sound works in both the X11 session and a Wayland one. The snap version I have is:

maciek@sloop:~ snap list spotify
Name     Version                  Rev  Tracking       Publisher  Notes
spotify  1.1.42.622.gbd112320-37  42   latest/stable  spotify✓   -

I think it’s worth trying to collect more logs. Can you start spotify using the following command, play something and paste the log:

PULSE_LOG=4 snap run spotify

Thank you for coming back to me. I have a few new data points.

First, I could not run spotify from snap until I first set ‘xhost +’.

gato@espejo:~> PULSE_LOG=4 snap run spotify
Gtk-Message: 10:09:35.683: Failed to load module "canberra-gtk-module"
No protocol specified

(spotify:25000): Gtk-WARNING **: 10:09:35.683: cannot open display: :0
gato@espejo:~> xclock
^X^C
gato@espejo:~> xhost +

This is interesting because I run pulseaudio as daemon under my own user, so if snap is a different user then it may have something to do with why it connect to pulseaudio. The problem with this theory is that when I examine processes, everything snap is running as my user, except snapd.

gato@espejo:~> ps auwwx|grep snap
root      1666  0.0  0.2 1763724 52044 ?       Ssl  Nov04   0:08 /usr/libexec/snapd/snapd
gato+ 25586 56.5  0.9 3299388 238240 pts/3  Sl+  10:18   0:07 /snap/spotify/42/usr/share/spotify/spotify
gato+ 25685  0.1  0.2 569184 65868 pts/3    S+   10:18   0:00 /snap/spotify/42/usr/share/spotify/spotify --type=zygote --no-zygote-sandbox --no-sandbox --log-file=/snap/spotify/42/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.1.42.622 --lang=en
gato+ 25686  0.1  0.2 569184 65784 pts/3    S+   10:18   0:00 /snap/spotify/42/usr/share/spotify/spotify --type=zygote --no-sandbox --log-file=/snap/spotify/42/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.1.42.622 --lang=en
gato+ 25712  3.2  0.3 939284 93552 pts/3    Sl+  10:18   0:00 /snap/spotify/42/usr/share/spotify/spotify --type=gpu-process --field-trial-handle=6340722393849877550,10750210885510684358,131072 --enable-features=CastMediaRouteProvider --disable-features=OutOfBlinkCors --no-sandbox --log-file=/snap/spotify/42/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.1.42.622 --lang=en --gpu-preferences=MAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAACAAAAAAAAAA= --use-gl=swiftshader-webgl --log-file=/snap/spotify/42/usr/share/spotify/debug.log --shared-files
gato+ 25718  3.3  0.3 1314580 89536 pts/3   Sl+  10:18   0:00 /snap/spotify/42/usr/share/spotify/spotify --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=6340722393849877550,10750210885510684358,131072 --enable-features=CastMediaRouteProvider --disable-features=OutOfBlinkCors --lang=en-GB --service-sandbox-type=network --no-sandbox --log-file=/snap/spotify/42/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.1.42.622 --lang=en --log-file=/snap/spotify/42/usr/share/spotify/debug.log --shared-files=v8_snapshot_data:100
gato+ 25734 48.5  1.0 6175260 266656 pts/3  Sl+  10:18   0:04 /snap/spotify/42/usr/share/spotify/spotify --type=renderer --no-sandbox --log-file=/snap/spotify/42/usr/share/spotify/debug.log --field-trial-handle=6340722393849877550,10750210885510684358,131072 --enable-features=CastMediaRouteProvider --disable-features=OutOfBlinkCors --disable-gpu-compositing --lang=en-GB --log-file=/snap/spotify/42/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.1.42.622 --disable-spell-checking --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --shared-files=v8_snapshot_data:100
gato+ 25779  0.0  0.0   6120   684 pts/4    S+   10:18   0:00 grep --color=auto snap

Then I start spotify as you suggest.

gato@espejo:~> PULSE_LOG=4 snap run spotify
Gtk-Message: 10:18:32.968: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to open i965 (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: i965
MESA-LOADER: failed to open kms_swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
Parsing configuration file '/etc/pulse/client.conf'
Parsing configuration file '/etc/pulse/client.conf.d/50-system.conf'
Using shared memfd memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Trying to connect to unix:/run/user/1000/snap.spotify/../pulse/native...
connect(): Connection refused (111)

And when I play a track same messages as yesterday.

Pulseaudio is started as a daemon run by my user when windowmanager session is started.

gato@espejo:~> ps auwwx|grep pulse
gato+ 3191 0.1 0.0 1545016 12224 ? S<l Nov04 1:28 /usr/bin/pulseaudio --start
gato+ 3197 0.0 0.0 235724 7472 ? Sl Nov04 0:00 /usr/libexec/pulse/gsettings-helper
gato+ 25846 0.0 0.0 6120 748 pts/4 S+ 10:24 0:00 grep --color=auto pulse

Best,

Michael

I rebooted this morning and noticed the following in the syslog.

Nov 05 11:32:01 espejo systemd-udevd[10466]: card0: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/card0 226:0' failed with exit code 1.
Nov 05 11:32:01 espejo systemd-udevd[10450]: renderD128: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/renderD128 226:128' failed with exit code 1.
Nov 05 11:32:01 espejo systemd-udevd[10466]: card0: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/card0 226:0' failed with exit code 1.
Nov 05 11:32:01 espejo systemd-udevd[10450]: renderD128: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/renderD128 226:128' failed with exit code 1.
Nov 05 11:32:01 espejo systemd-udevd[10458]: card0-DP-1: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 0:0' failed with exit code 1.
Nov 05 11:32:01 espejo systemd-udevd[10458]: card0-DP-1: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10458]: card0-HDMI-A-1: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10458]: card0-HDMI-A-1: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10463]: card0-eDP-1: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10458]: card0-HDMI-A-2: Process '/usr/lib/snapd/snap-device-helper add snap_spotify_spotify /devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10463]: card0-eDP-1: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 0:0' failed with exit code 1.
Nov 05 11:32:02 espejo systemd-udevd[10458]: card0-HDMI-A-2: Process '/usr/lib/snapd/snap-device-helper add snap_youtube-music-desktop-app_youtube-music-desktop-app /devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2 0:0' failed with exit code 1.

Snaps do not change the user when running.

Can you paste the output of xhost command from a new session? It’s showing the following in my system (TW snapshot 20201030):

$ xhost
access control enabled, only authorized clients can connect
SI:localuser:maciek

which is what I would normally expect.
Then when the problem with opening a display happens, try running

$ SNAPD_DEBUG=1 SNAP_CONFINE_DEBUG=1 snap run spotify

and paste the log.

gato@espejo:~> xhost
access control disabled, clients can connect from any host
SI:localuser:root

gato@espejo:~> SNAPD_DEBUG=1 SNAP_CONFINE_DEBUG=1 snap run spotify
2020/11/05 23:37:08.523192 tool_linux.go:68: DEBUG: re-exec not supported on distro "opensuse-tumbleweed" yet
2020/11/05 23:37:08.530153 cmd_run.go:404: DEBUG: SELinux not enabled
DEBUG: umask reset, old umask was  022
DEBUG: security tag: snap.spotify.spotify
DEBUG: executable:   /usr/lib/snapd/snap-exec
DEBUG: confinement:  non-classic
DEBUG: base snap:    core18
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 100, egid: 100, sgid: 100
DEBUG: apparmor label on snap-confine is: /usr/libexec/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: releasing lock 6
DEBUG: opened snap-update-ns executable as file descriptor 6
DEBUG: opened snap-discard-ns executable as file descriptor 7
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/spotify.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope spotify, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: spotify
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.spotify.spotify/cgroup.procs 29942
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.spotify.spotify/devices.deny a
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/mem/null 1:3
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/mem/full 1:7
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/mem/zero 1:5
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/mem/random 1:8
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/mem/urandom 1:9
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/tty/tty 5:0
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/tty/console 5:1
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/class/tty/ptmx 5:2
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 136:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 137:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 138:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 139:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 140:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 141:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 142:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/pts/slaves 143:*
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/uhid 10:239
DEBUG: running snap-device-helper add snap_spotify_spotify /dev/net/tun 10:200
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0 snap_spotify_spotify
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/devices/pci0000:00/0000:00:02.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 snap_spotify_spotify
DEBUG: cannot get major/minor numbers for /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 snap_spotify_spotify
DEBUG: cannot get major/minor numbers for /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2 snap_spotify_spotify
DEBUG: cannot get major/minor numbers for /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-2
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 snap_spotify_spotify
DEBUG: cannot get major/minor numbers for /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/renderD128 snap_spotify_spotify
DEBUG: running snap-device-helper add snap_spotify_spotify /sys/devices/pci0000:00/0000:00:02.0/drm/renderD128 226:128
DEBUG: forked support process 29974
DEBUG: changing apparmor hat to mount-namespace-capture-helper
DEBUG: helper process waiting for command
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: block device of snap core18, revision 1932 is 7:5
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: joining preserved mount namespace for inspection
DEBUG: block device of the root filesystem is 7:5
DEBUG: sanity timeout reset and disabled
DEBUG: preserved mount is not stale, reusing
DEBUG: joined preserved mount namespace spotify
DEBUG: joining preserved per-user mount namespace
DEBUG: unsharing the mount namespace (per-user)
DEBUG: sc_setup_user_mounts: spotify
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: calling snapd tool snap-update-ns
DEBUG: waiting for snapd tool snap-update-ns to terminate
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.spotify
change.go:316: DEBUG: mount name:"/run/user/1000/doc/by-app/snap.spotify" dir:"/run/user/1000/doc" type:"none" opts:MS_BIND unparsed:"" (error: <nil>)
DEBUG: snap-update-ns finished successfully
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: NOT preserving per-user mount namespace
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:100 (change: yes)
DEBUG: moved process 29942 to cgroup hierarchy /sys/fs/cgroup/freezer/snap.spotify
DEBUG: releasing lock 8
DEBUG: sending command 0 to helper process (pid: 29974)
DEBUG: waiting for response from helper
DEBUG: sanity timeout reset and disabled
DEBUG: helper process received command 0
DEBUG: helper process exiting
DEBUG: waiting for the helper process to exit
DEBUG: helper process exited normally
DEBUG: resetting PATH to values in sync with core snap
DEBUG: set_effective_identity uid:1000 (change: yes), gid:100 (change: yes)
DEBUG: creating user data directory: /home/gato/snap/spotify/42
DEBUG: requesting changing of apparmor profile on next exec to snap.spotify.spotify
DEBUG: ruid: 1000, euid: 1000, suid: 0
DEBUG: setting capabilities bounding set
DEBUG: regaining SYS_ADMIN
DEBUG: loading bpf program for security tag snap.spotify.spotify
DEBUG: read 6248 bytes from /var/lib/snapd/seccomp/bpf//snap.spotify.spotify.bin
DEBUG: read 152 bytes from /var/lib/snapd/seccomp/bpf/global.bin
DEBUG: clearing SYS_ADMIN
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG:  argv[1] = spotify
DEBUG: umask restored to  022
DEBUG: working directory restored to /home/gato
Gtk-Message: 23:37:08.679: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to open i965 (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: i965
MESA-LOADER: failed to open kms_swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver

I have corrected the xhost configuration. The original problem remains.

gato@espejo:~> xhost
access control enabled, only authorized clients can connect
SI:localuser:root
SI:localuser:gato