[GELÖST] Gtk-WARNING cannot open display:

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
BrotherJ
Beiträge: 323
Registriert: 15.11.2018 07:56:18

[GELÖST] Gtk-WARNING cannot open display:

Beitrag von BrotherJ » 21.02.2021 18:07:05

Hallo zusammen,

auf einem neu installierten Debian Buster will ich über SSH den virt-manager starten, bekomme aber nur

Code: Alles auswählen

Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(virt-manager:5299): Gtk-WARNING **: 18:02:26.699: cannot open display:
aus Ausgabe. Auch

Code: Alles auswählen

~$ xauth generate :0 . trusted
xauth:  file /home/brotherj/.Xauthority does not exist
xauth: (argv):1:  unable to open display ":0".
funktioniert nicht. Ebensowenig wie

Code: Alles auswählen

export DISPLAY="127.0.0.1:1.0"
virt-manager 
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(virt-manager:5303): Gtk-WARNING **: 18:03:56.660: cannot open display: 127.0.0.1:1.0

Code: Alles auswählen

X11Forwarding yes
X11DisplayOffset 10
sind gesetzt und der Login erfolgt mit

Code: Alles auswählen

ssh -X user@IP.Adresse
Welche Lösung gäbe hierzu?

Beste Grüße

BrotherJ
Zuletzt geändert von BrotherJ am 21.02.2021 19:08:14, insgesamt 1-mal geändert.

BrotherJ
Beiträge: 323
Registriert: 15.11.2018 07:56:18

Re: Gtk-WARNING cannot open display:

Beitrag von BrotherJ » 21.02.2021 19:07:46

Ich sag mal, dass das zusätzliche Freigeben von

Code: Alles auswählen

AllowAgentForwarding yes
AllowTcpForwarding yes
in der /etc/ssh/sshd_config plus einem Service-Restart das Problem gelöst hat.

Antworten