Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3682  / 2 Years ago, sat, january 8, 2022, 10:04:58

When I connected to my 11.04 server using PuTTY (from Windows) with X11 forwarding enabled, if I entered the command echo $DISPLAY I'd see localhost:10.0 and when I started an X program, it would appear on my Windows's X server. After upgrading to 11.10, the DISPLAY variable is no longer being set when I log in, so X forwarding doesn't work. I have checked to ensure that X11 forwarding is still enabled in the SSH server config (it is) and the config files haven't actually changed since before the upgrade. So why did the upgrade stop this feature from working? Oh, I can manually set DISPLAY to point to my Windows machine and X works fine, but it isn't being tunneled through the SSH connection like I'd prefer. Help?


More From » 11.10

 Answers
3

For any who stumble across this: Adding AddressFamily inet to /etc/ssh/sshd_config and restarting the ssh service fixed the problem. If you care to wade through X11 forwarding via SSH does not work after upgrade | Bugs : openssh package : Ubuntu you find the solution most of the way down the page.


[#42609] Sunday, January 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
edseager

Total Points: 185
Total Questions: 105
Total Answers: 102

Location: Angola
Member since Wed, Apr 13, 2022
2 Years ago
;