I'm trying to connect multiple Putty Sessions at once, and have a single CygwinX server running on my machine. The first putty session i open is able to successfully launch a gnome-terminal, proving that the X11 forwarding is working. However, the problem is any subsequent Putty sessions I launch to other machines while this first one is still open, won't successfully launch a gnome-terminal.
1 Answer
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.
DISPLAY
environment variable in the SSH sessions? I am especially curious if they differ from the initial session to the subsequent sessions.env | grep DISPLAY
orecho $DISPLAY