Error Cannot Open Display 0.0 Firefox
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn cannot open display ubuntu more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags error can't open display localhost Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, error can't open display linux helping each other. Join them; it only takes a minute: Sign up Error: cannot open display: localhost:0.0 - trying to open Firefox from CentOS 6.2 64bit and display on Win7 up vote 8 down vote favorite 3 I
Xhost Unable To Open Display Ubuntu
am on a Windows7 machine and I'm trying to get firefox to open on the centOS machine, but be displayed on my current screen. When typing firefox in terminal, I am getting the following error: Error: cannot open display: localhost:0.0 To setup the display I used the command $ export DISPLAY=localhost:0.0 Some site suggested using the following, but it didn't work either: $ export DISPLAY=:0.0 I am using PuTTY and I have the Enable X11 forwarding check error can't open display xclock box checked and XMing is running on Windows. Additionally, the sshd_config on centOS file seems to be setup properly as well: $ cat /etc/ssh/sshd_config |grep -i x11 #X11Forwarding no X11Forwarding yes #X11DisplayOffset 10 X11UseLocalhost yes I've looked over numerous pages and searched StackOverflow as well, but none have managed to help me in any way. Thank you in advance. x11 x11-forwarding share|improve this question asked Sep 10 '12 at 17:11 SaiyanGirl 5,32662342 This question might be more suitable at superuser.com. Besides, in Xming there is XLaunch utility, which allows to connect to remote server and launch an application without explicitly using PuTTY and such. Have you tried it? Does it works? –aland Sep 10 '12 at 17:16 2 try it without setting the DISPLAY variable... you shouldn't actually need that –10flow Sep 10 '12 at 17:33 @aland I've looked on the Internet to see what the XLaunch Utility is, I don't know what you mean when you say I should try to launch the application without PuTTY. I just noticed that XMing has a Command Processor, but I don't know how to use it. - Also, I'm not too sure how to migrate my question. –SaiyanGirl Sep 10 '12 at 17:37 @scott654 When I try that, I get the following: Error: no display specified. All the suggestions on the Inter
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the xhost unable to open display redhat workings and policies of this site About Us Learn more about Stack
Error Can't Open Display Localhost 10.0 Putty
Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags
Xterm Xt Error Can't Open Display Xterm Display Is Not Set
Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it http://stackoverflow.com/questions/12356425/error-cannot-open-display-localhost0-0-trying-to-open-firefox-from-centos-6 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 top X client forwarded over SSH “cannot open display: localhost:11.0” up vote 13 down vote favorite 2 I have enabled X forwarding on remote machine where SSH server is running: # grep -i http://unix.stackexchange.com/questions/108679/x-client-forwarded-over-ssh-cannot-open-display-localhost11-0/109322 forward /etc/ssh/sshd_config X11Forwarding yes # On local machine, I have started SSH client with -X flag which instructs the SSH server, running on remote machine, to set up a X-server proxy. In addition, it creates the $DISPLAY variable which points to this proxy and calls the xauth to install a proxy key which authenticates to this X-server proxy on remote machine: # echo "$DISPLAY" localhost:11.0 # xauth list | grep 11 A58/unix:11 MIT-MAGIC-COOKIE-1 39324086672d1ae35e373476c3891a77 # However, X clients on remote machine do not start properly: # wireshark (wireshark:10083): Gtk-WARNING **: cannot open display: localhost:11.0 # xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Xt error: Can't open display: %s # X forwarding doesn't use xhost so at least this can be excluded. I tried to find some useful log entries both on m
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. 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 top How do I fix a “cannot open display” error when opening open display an X program after ssh'ing with X11 forwarding enabled? up vote 50 down vote favorite 22 After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to my Ubuntu 10.04 VM (running on VMware Fusion). When I run gedit .bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display: set | grep DISPLAY returns nothing. But if I error can't open ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. echo $DISPLAY returns "localhost:10.0". I tried export DISPLAY=localhost:10.0 while sshed into my VM and then running gedit .bashrc, but I get: (gedit:9625): Gtk-WARNING **: cannot open display: localhost:10.0 What could be different in the configuration of the two difference Ubuntu machines that would explain why one works and the other doesn't? Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem. ssh display xorg gtk share|improve this question edited Feb 9 '14 at 12:20 Pablo Saratxaga 1133 asked Jul 13 '11 at 18:13 Daryl Spitzer 2,91893236 migrated from serverfault.com Jul 13 '11 at 18:31 This question came from our site for system and network administrators. 2 Does the Ubuntu 10.04 box have the proper tools for X11 installed? Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the same problem. (See above.) –Daryl Spitzer Jul 13 '11 at 18:29 Yes. Just to be sure, I restarted the VM (and reconnected through SSH afterward). –Daryl Spitzer Jul 13 '11 at 18:38 3 Maybe try passing the -vv option to ssh when you connect, this prints verbose debug messages, you should see several comments about X11 forwarding while connecting. –Zoredache Jul 1