2

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.

2
  • Can you post the output of /var/log/Xorg.0.log (or equivalent) from the X server? Jan 16, 2013 at 16:04
  • What is your 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 or echo $DISPLAY
    – holmb
    Jun 9, 2015 at 13:54

1 Answer 1

-1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .