RDM 9.0.4 Putty X11 forwarding

avatar

I'm having a issue with RDM and X11 forwarding. Using the build in integration with putty. I just enter my login information and my port forwarding. Then go to the advanced tab and add the -C -D 8080 -X options. After that I open the session and try to run firefox. I get the following message.

Last login: Sat Nov 2 08:12:09
xxxx ~: firefox &
[1] 12676
xxxx ~: The application 'firefox' lost its connection to the display xxxx:10.0;
most likely the X server was shut down or you killed/destroyed
the application.

[1]+ Exit 1 firefox
xxxx ~:


Now if I use plain old putty outside of RDM's control. It works just fine. Now I also couldn't figured out why it's using 10.0 as the selected default window?

Main.png

Advanced.png

All Comments (8)

avatar

Does it work if you configure the session in putty and select it in RDM?

David Hervieux

avatar

I've had mix results.

avatar

Found it! Port forwarding is messing up the X11 forwarding.

avatar

Plus I was using 6000:some-server:3389. Figuring that RDM appends -L or something. Doing just -L6000:some-server:3389 works.

avatar

As another side note. The debug and verbose logging didn't help at all. Maybe this needs to be revisited and looked over again. I also know most of this putty integration isn't documented so well. Now that's last time, I was trying to do something. I'm glad to help and improve it.

avatar

I will check on my side what we can do to improve the debugging and the documentation.

David Hervieux

avatar

So I guess we can mark this as solved?

avatar

LOL. Oh wow. I just found that tcp/6000-6007 are the default x11 ports.