mmtrt / acrordrdc-snap

Unofficial snap repo for acrordrdc snap
https://snapcraft.io/acrordrdc
GNU Lesser General Public License v2.1
27 stars 5 forks source link

Cannot open display in Crostini #10

Open farside268 opened 4 years ago

farside268 commented 4 years ago

Running Crostini on an Acer R11 on Beta channel (Chrome 83) and Buster containers. I can install the snap, but when I try to run I get:

No protocol specified Unable to init server: Could not connect: Connection refused

(yad:1388): Gtk-WARNING **: 13:18:22.970: cannot open display: :0

I get this whether I install the stable snap or the edge snap.

mmtrt commented 4 years ago

can you post info of,

env | grep DISPLAY

env | grep TYPE

PS: also test this.

DISABLE_WAYLAND=1 snap run acrordrdc

farside268 commented 4 years ago

The env output: user@penguin:~$ env | grep DISPLAY DISPLAY_LOW_DENSITY=:1 WAYLAND_DISPLAY_LOW_DENSITY=wayland-1 WAYLAND_DISPLAY=wayland-0 DISPLAY=:0 user@penguin:~$ env | grep TYPE user@penguin:~$(no result from the second env)

I tried to disable Wayland, and I got the same result: user@penguin:~$ DISABLE_WAYLAND=1 snap run acrordrdc No protocol specified Unable to init server: Could not connect: Connection refused

(yad:632): Gtk-WARNING **: 17:21:52.720: cannot open display: :0 user@penguin:~$

mmtrt commented 4 years ago

test snap update from edge I've pushed some changes see if anything changes.

farside268 commented 4 years ago

I tried the update and got an install menu, but nothing further. Here is the output: user@penguin:~$ sudo snap refresh acrordrdc acrordrdc (edge) 2020.006.20042 from Taqi Raza (mmtrt) refreshed user@penguin:~$ snap run acrordrdc No protocol specified (yad:916): dbind-WARNING **: 11:01:48.536: Could not open X display (yad:916): Gdk-WARNING **: 11:02:07.480: ../../../../../gdk/x11/gdkwindow-x11.c:5579 drawable is not a native X11 window xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock No protocol specified (yad:931): dbind-WARNING **: 11:02:34.556: Could not open X display (yad:931): Gdk-WARNING **: 11:02:40.934: ../../../../../gdk/x11/gdkwindow-x11.c:5579 drawable is not a native X11 window xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock wineserver: listen: Operation not permitted --2020-05-02 11:04:42-- https://gist.github.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr Resolving gist.github.com (gist.github.com)... 140.82.113.4 Connecting to gist.github.com (gist.github.com)|140.82.113.4|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr [following] --2020-05-02 11:04:42-- https://gist.githubusercontent.com/mmtrt/896cf131e3956b23e8e47a5a52f58b01/raw/097cbd0eeb836d69a84423aaef9a7ead2840a111/acrordr Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.124.133 Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.124.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 943 [text/plain] Saving to: ‘/tmp/acrordr’

acrordr 100%[======================>] 943 --.-KB/s in 0s 2020-05-02 11:04:43 (5.24 MB/s) - ‘/tmp/acrordr’ saved [943/943]

wineserver: listen: Operation not permitted wineserver: listen: Operation not permitted

It then went back to a prompt.

mmtrt commented 4 years ago

looks similar wine issue like mmtrt/cncra2yr#16

farside268 commented 4 years ago

looks similar wine issue like mmtrt/cncra2yr#16

There doesn't appear to be a resolution there either.

mmtrt commented 4 years ago

I mean wine issue,

wineserver: listen: Operation not permitted