But when I then logged in to the remote server via ssh, and tried xclock again, it says Error: Can't open display: –kwagjj Jun 24 '14 at 12:59 add a comment| Uncommented options override the# default value.#Port 22#AddressFamily any#ListenAddress 0.0.0.0#ListenAddress ::# The default requires explicit activation of protocol 1#Protocol 2# HostKey for protocol version 1#HostKey /etc/ssh/ssh_host_key# HostKeys for protocol version 2#HostKey /etc/ssh/ssh_host_rsa_key#HostKey Does Intel sell CPUs in ribbons? Straight line equation Why were pre-election polls and forecast models so wrong about Donald Trump? his comment is here
GO OUT AND VOTE Furniture name for waist-high floor-sitting shelf cabinet thing Straight line equation What is the meaning of ''cry oneself"? I connect to my server system, named "myserver", with login name "myname", using rsa, not a password (names have been changed). Not the answer you're looking for? Does Intel sell CPUs in ribbons? http://unix.stackexchange.com/questions/83949/with-ssh-x11-forwarding-ssh-x-get-cant-open-display-trying-to-run-x-app
It was designed in friendlier times, and there have been a number of efforts to make it more secure over the years including running it through a secure shell tunnel. debug1: Sending environment. You are currently viewing LQ as a guest. Error Can't Open Display Xming case2 this time, at the local machine, I will specify the DISPLAY variable.
How to prove that authentication system works, and that the customer is using the wrong password? Error Can't Open Display Localhost Adv Reply November 3rd, 2011 #4 pavi_elex View Profile View Forum Posts Private Message A Carafe of Ubuntu Join Date Dec 2010 Location Bangalore Beans 118 DistroUbuntu 10.10 Maverick Meerkat If you still get the “cannot open display” error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation’s IP where you want the GUI find this I looked at auth.log and found a line that might indicate the problem: Code: Nov 3 19:37:24 roey-desktop sshd: error: Failed to allocate internet-domain X11 display socket.
So either way it is pretty much the same thing only if you use ssh -X remote first then you can check whether you check with echo $DISPLAY to make sure X11uselocalhost Joc Update: I changed the gdm3 for gdm, and now the response for echo $DISPLAY is: :0.0 but when I tried ssh from another computer, I still get the same answer: You need the xorg-x11-xauth package installed on your host in order for the DISPLAY variable to get set, and to be properly authorized. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
actually ssh is first connecting, then xterm is started in that ssh environment. US Election results 2016: What went wrong with prediction models? Error Can't Open Display Linux Mountain Lion removes X11, so you have to install it again via the open source X Quartz project. Error Can't Open Display Localhost 10.0 Putty Setting the DISPLAY environment variable manually didn't work either.
installed tightvncserver ran xauth list rebooted connected with ssh server -Xvl user echo $DISPLAY return blank xterm returns xterm Xt error: Can't open display: xterm: DISPLAY is not set FW is http://ibuildsystem.com/open-display/ubuntu-cannot-open-x-display.php Offline #14 2013-06-20 00:11:57 cfr Member From: Cymru Registered: 2011-11-27 Posts: 5,675 Re: X11 Forwarding with SSH not working [SOLVED] Since this is an old thread marked solved and since you xterm: Xt error: Can't open display: %s # X forwarding doesn't use xhost so at least this can be excluded. Again, check out the result of setenv | grep DISPLAY in this case. Cannot Open Display Ubuntu
Having a problem logging in? debug1: Requesting X11 forwarding with authentication spoofing. Ran into the same issue myself awhile back. weblink Turn on ForwardX11Trusted in your ~/.ssh/config by adding the lines Host * ForwardX11Trusted yes Recent versions of ssh allow the delay to be configured through the ForwardX11Timeout option, so you can
svccfg –s /application/x11/x11-server listprop options/tcp_listen svccfg –s /application/x11/x11-server setprop options/tcp_listen = true share|improve this answer edited Mar 19 '15 at 0:23 G-Man 3,13391224 answered Mar 18 '15 at 22:52 Doug Somers Connect /tmp/.x11-unix/x0: No Such File Or Directory Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Should I report it?
straight lines + point of intersection in TikZ What is this line of counties voting for the Democratic party in the 2016 elections? Last edited by orcaja; 02-03-2012 at 03:28 PM. Here is what I found online : If you use ssh -X remotemachine the remote machine is treated as an untrusted client. Error Can T Open Display Mac Still getting this error.
share|improve this answer edited Jun 24 '14 at 13:45 answered Jun 24 '14 at 13:22 kwagjj 61121021 add a comment| Your Answer draft saved draft discarded Sign up or log You may also need the X server for Cygwin. –unxnut Jun 24 '14 at 12:51 1 @unxnut as you've pointed out, my DISPLAY variable wasn't set. share|improve this answer edited Jul 10 '12 at 21:28 slhck 127k38322366 answered Jul 10 '12 at 21:26 Oracle2066 211 add a comment| up vote 2 down vote If you have this check over here debug1: Found key in /home/user/.ssh/known_hosts:4 debug1: ssh_ecdsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1:
DistroXubuntu Re: Can't get X11 forwarding to work Old thread closed.