
To be able to have this enabled it is necessary to have the linux system configured to allow X11 forwarding, which is done by leaving the ForwardX11Trusted attribute with the value yes in the /etc/ssh/ssh_config file of the linux server: ForwardX11Trusted yes There are other solutions like Xming that I have not used but that I have read that works very well, such as VcXsrc.
#X11 can't open display windows 10
On my Windows 10 I have Xming installed which is a portable implementation of the Windows X system for Microsoft Windows operating systems to be able to "run" applications with linux remote SOs desktop UI like Ubuntu or CentOS on my Windows desktop having X11 forwarding enabled on the linux OS and specified in the ssh session. I suspect that the problem is on the LAPTOP side.I use Windows 10 as a working operating system but almost all the development operation and system architecture is done through Ubuntu and CentOS computers that I access by ssh, VNC or RDP as needed. In your sshd_config on SERVER and see if that provides any clues. I was suggesting that you try the reverse of what you have tried to do. Good luck and don't giveup, it is cool to work on your server with security I let the other options commented with # in sshd_config and ssh_config. You might try to commant all those lines except I just check my setup for ssh as I did the same manipulation just few days ago and had no problem Posted: Wed 11:18 am Post subject: too many options ? I think I am close to giving up on this one. I tried starting the X server without this option - but it STILL doesn't work. m_beli: I do have "-nolisten tcp" in my default config. The failures to connect from LAPTOP don't appear to generate any useful information in the xorg logs. I also checked logs for SSH and Xorg, but they look fine to me. But happy to try if you could clarify how! I did check USE flags for SSH and Xorg - I can't see anything there that could be related. limn: I'm not sure what you mean by forwarding an xterm from laptop to server. This didn't resolve the problem (and my understanding is that this means connecting directly to the X server rather than using forwarding over SSH anyway) Just an idea, the problem may be elsewhere. I suspect that with tcp listening turned off, ssh forwarding will not work. You can try to do "ps aux" to see how X was started, mine looks like this: If using another DM, look for something similar in it's config. Seems to be the default when using GDM, try to look at /etc/X11/gdm/gcm.conf, find line with "DisallowTCP=true" (can be commented out) and set it explicitly to "DisallowTCP=false". The problem could be that your X server is running with the "-nolisten tcp" option or equivalent. It is unlikely that this is related to your window managers, but you could try using twm instead. Is there anything in your USE flags for OpenSSH or xorg-X11 that might account for this? You might also try setting LogLevel to DEBUG and starting sshd with the -d option. Have you tried trying to forward an xterm from laptop to server? This is dangerous since it will turn access controls off completely, but should solve the problem. I also tried using xhost from LAPTOP, but it didn't help. (I believe this is what the -Y option to ssh does as well.) I tried adding the "ForwardX11Trusted yes" line, but I still get the same error. Thanks for the response! But unfortunately, no go. That will help give permission to specific machines If that does not work try using the xhost command Possibly a security issue so add this to your ssh_config on the client machine at your own risk: SERVER has KDE while LAPTOP runs Fluxbox - could this cause problems? Can anyone tell me what I'm doing wrong? Where can I look for additional information on what's causing this error? (I've tried adding -v verbose flags to SSH but I don't see any obvious errors from that end.) I've been reading the forums and these settings seem to work for many people. Gtk-WARNING **: cannot open display: localhost:10.0 XT error: Can't open display: localhost:10.0 I am unable to get X11 forwarding working. Posted: Sun 6:01 am Post subject: SSH and X11 forwarding Gentoo Forums Forum Index Networking & Security Gentoo Forums :: View topic - SSH and X11 forwarding
