Mehrere Putty- und Cygwin / X-Sitzungen funktionieren nicht

539
Irfy

Ich versuche, mehrere Putty-Sitzungen gleichzeitig zu verbinden, und auf meinem Computer muss ein einzelner CygwinX-Server ausgeführt werden. Die erste Putty-Sitzung, die ich eröffne, kann erfolgreich ein Gnome-Terminal starten, was beweist, dass die X11-Weiterleitung funktioniert. Das Problem sind jedoch alle nachfolgenden Putty-Sitzungen, die ich auf anderen Computern starte, während diese erste noch geöffnet ist und kein Gnome-Terminal erfolgreich starten kann.

2
Können Sie die Ausgabe von /var/log/Xorg.0.log (oder gleichwertig) vom X-Server aus posten? Slartibartfast vor 11 Jahren 0
Was ist Ihre DISPLAY-Umgebungsvariable in den SSH-Sitzungen? Ich bin besonders neugierig, ob sie sich von der ersten bis zur nächsten Sitzung unterscheiden. `env | grep DISPLAY` oder `echo $ DISPLAY` holmb vor 8 Jahren 0

1 Antwort auf die Frage

-1
holmb

I assume that you are connecting to the remote host via SSH, and that you have X11 forwarding activated.

In a Cygwin terminal you would then type xhost + to open up access to your X11 server from anyone that can connect to your IP over a network. This turns off access control. It is therefore wise to firewall off anyone that you do not trust.

After that you should be able to launch additional X11 applications that will display on your local X11 server.