Error Opening X Display
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the cannot open display ubuntu workings and policies of this site About Us Learn more about Stack error can't open display localhost Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags error can't open display linux 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
Xhost Unable To Open Display Redhat
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 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 error can't open display xming 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 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,92393236 migrated from serverfault.com Jul 13 '11 at 18:31 This question came from our site for system and network
2010-11-19 17:53:38 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Error: cannot open display: :0.0 [SOLVED] Hi,After my last reebot I've got some problem with Xorg. Everything goes ok, kdm closed display starts, I can log in and...On KDE I can't start any
Error Can't Open Display Localhost 10.0 Putty
application(some parts of KDE doesn't start too(for example krunner)).On fluxbox I can start only few apps(2-3). And when
Xterm Xt Error Can't Open Display Xterm Display Is Not Set
I try to start another one:No protocol specifiedError: cannot open display: :0.0Thanks for all advices. Last edited by lubiebudyn (2010-11-19 19:24:35) Offline #2 2010-11-19 19:01:29 PrivateLooms Member Registered: 2010-11-19 http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi Posts: 5 Re: Error: cannot open display: :0.0 [SOLVED] Try either :export DISPLAY=":0.0"or xhost +your-usernamein the terminal, that is how I solved my problem.P.S: if xhost +your-username doesn't work try xhost + Offline #3 2010-11-19 19:13:56 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Re: Error: cannot open display: :0.0 [SOLVED] PrivateLooms wrote:Try either :export DISPLAY=":0.0"or xhost +your-usernamein the terminal, https://bbs.archlinux.org/viewtopic.php?id=108695 that is how I solved my problem.P.S: if xhost +your-username doesn't work try xhost + Unfortunately:export DISPLAY=":0.0"Doesn't change anything.xhost ...returns:No protocol specified xhost: unable to open display ":0.0" Last edited by lubiebudyn (2010-11-19 19:14:31) Offline #4 2010-11-19 19:14:26 schuay Trusted User (TU) From: Austria Registered: 2008-08-19 Posts: 564 Re: Error: cannot open display: :0.0 [SOLVED] Maybe this? https://bbs.archlinux.org/viewtopic.php?id=108562 Offline #5 2010-11-19 19:24:20 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Re: Error: cannot open display: :0.0 [SOLVED] schuay wrote:Maybe this? https://bbs.archlinux.org/viewtopic.php?id=108562Thanks a lot!I didn't suspect NetworkManager... Offline Pages: 1 Index »Applications & Desktop Environments »Error: cannot open display: :0.0 [SOLVED] Board footer Jump to Newbie Corner Installation Kernel & Hardware Applications & Desktop Environments Laptop Issues Networking, Server, and Protection Multimedia and Games System Administration Other Architectures Announcements, Package & Security Advisories Arch Discussion Forum & Wiki discussion Pacman & Package Upgrade Issues [testing] Repo Forum Creating & Modifying Packages AUR Issues, Discussion & PKGBUILD Requests GNU/Linux Discussion Community Contributions Programming & Scripting Other Languages Artwork and Screenshots Atom topic feed Powered by FluxBB
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 answers to any questions you might have Meta Discuss the workings and policies of this site About http://askubuntu.com/questions/438451/could-not-open-display-null-error-how-can-i-fix-this Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 open display voted up and rise to the top “Could not open display `(null)'” error. How can I fix this? up vote 4 down vote favorite I'm trying to run an appliaction, but when I run it I get a Could not open display `(null'). Error. Why is this? Specifically I was trying to run scratch (which I installed via aws): root@ip-10-251-56-90:/usr/bin# ./scratch Executing: /usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins error can't open /usr/lib/scratch/plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-ALSA /usr/share/scratch/Scratch.image Could not open display `(null)'. display aws share|improve this question edited Mar 30 '14 at 18:26 Seth♦ 22.8k1888139 asked Mar 24 '14 at 9:17 user261504 2112 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote Errors like this mean that you are running a program that needs a graphical display and it can't find one. GUI programs connect to the display defined by the $DISPLAY environmental variable. The general format of the error is Could not open display $DISPLAY Since, in your case, the error says (null), this means that $DISPLAY is not set. You therefore need to: If you are logging in to a remote machine using something like ssh, you will need to export the $DISPLAY of your local machine and tell the remote computer to display GUI programs there. This can be done with the -X or -Y options of ssh: ssh -Y root@10.251.56.90 As explained in man ssh: -Y Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls. -X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file. If this is your local machine, you