Pit Suetterlin wrote:
Per Jessen wrote:
Carlos E. R. wrote:
cer@Telcontar:~> IsengardFirefox https://www.youtube.com/watch?v=Y-4S7cdo3tY Invalid MIT-MAGIC-COOKIE-1 keyNo protocol specified Error: cannot open display: :0 cer@Telcontar:~>
This is a solution we concocted on this thread:
Why doesn't it work now?
Lack of authorisation to access the X server I suspect. I see the exact same between my laptop (office68, leap153) and my livingroom TV (zotac1, leap151)
per@office68:~> ssh zotac1 firefox https://www.youtube.com/watch?v=XhM0DGEZeV0 Error: no DISPLAY environment variable specified per@office68:~> ssh zotac1 DISPLAY=:0 firefox https://www.youtube.com/watch?v=XhM0DGEZeV0 Invalid MIT-MAGIC-COOKIE-1 keyNo protocol specified Unable to init server: Could not connect: Connection refused Error: cannot open display: :0
Hmm, might that be the same issue that x11vnc_ssh has, that the xauth file isn't available/linked? I'm circumventing that with a wrapper,
#!/bin/bash XA=$(ssh $1 "ls -t /run/user/1000/xauth_*|head -1") exec x11vnc_ssh $1 "-auth $XA"
I don't have anything like /run/user/$UID/xauth*, on any machine, 15.1, 15.2, 15.3, TW. What do you mean by "the xauth file isn't available/linked" ? 'xauth' says it is ~/.Xauthority and I see that everywhere. Anyway, I'm only being curious. -- Per Jessen, Zürich (13.1°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes