Cannot Open Display Error Linux
Contents |
a remote server, I'm getting the "cannot open display:" error, as shown below. How do I fix this? For example,
Xclock Error Can't Open Display Linux
while launching the gedit on remote server, I got the following message. ubuntu cannot open display (gedit:3658): Gtk-WARNING **: cannot open display: I get similar message when I try to open any GUI application. For
Unix Cannot Open Display
example, launching Oracle Installer on remote server also gives the "cannot open display" error. Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in fedora cannot open display this article. 1. Allow clients to connect from any host using xhost+ Execute the following command to disable the access control, by which you can allow clients to connect from any host. $ xhost + access control disabled, clients can connect from any host 2. Enable X11 forwarding While doing ssh use the option -X to enable X11 forwarding. $ ssh error can't open display localhost username@hostname -X Enable trusted X11 forwarding, by using the -Y option, $ ssh username@hostname -Y 3. Open GUI applications in that host After opening ssh connection to the remote host as explained above, you can open any GUI application which will open it without any issue. 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 application to be displayed. Tweet >Add your comment If you enjoyed this article, you might also like.. 50 Linux Sysadmin Tutorials 50 Most Frequently Used Linux Commands (With Examples) Top 25 Best Linux Performance Monitoring and Debugging Tools Mommy, I found it! – 15 Practical Linux Find Command Examples Linux 101 Hacks 2nd Edition eBook Awk Introduction – 7 Awk Print Examples Advanced Sed Substitution Examples 8 Essential Vim Editor Navigation Fundamentals 25 Most Frequently Used Linux IPTables Rules Examples Turbocharge PuTTY with 12 Powerful Add-Ons Tagged as: export DISPLAY, xhost+ Command, xhost+ Examples { 11 comments… add one } hari June 25, 2010,
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
Xhost Unable To Open Display Redhat
reebot I've got some problem with Xorg. Everything goes xhost unable to open display ubuntu ok, kdm starts, I can log in and...On KDE I can't start any application(some
Closed Display
parts of KDE doesn't start too(for example krunner)).On fluxbox I can start only few apps(2-3). And when I try to start another one:No http://www.thegeekstuff.com/2010/06/xhost-cannot-open-display/ 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 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: https://bbs.archlinux.org/viewtopic.php?id=108695 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, 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 Inst
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 http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi Business Learn 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 https://www.youtube.com/watch?v=4Z4b1w6YDO4 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” 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 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 cannot open display 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,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 severa
Xclock : Error: Can't open display Wiki SAP Basis.com SubscribeSubscribedUnsubscribe145145 Loading... Loading... Working... Add to Want to watch this again later? Sign in to add this video to a playlist. Sign in Share More Report Need to report the video? Sign in to report inappropriate content. Sign in Transcript 6,023 views 9 Like this video? Sign in to make your opinion count. Sign in 10 2 Don't like this video? Sign in to make your opinion count. Sign in 3 Loading... Loading... Transcript The interactive transcript could not be loaded. Loading... Loading... Rating is available when the video has been rented. This feature is not available right now. Please try again later. Published on Jul 14, 2015Putty : Error: Can't open displayFor More videos visit:http://www.wikisapbasis.com/Subscribe To My Channel:https://www.youtube.com/user/sapbasis...Follow Me On Social Media:https://www.facebook.com/Wikisapbasis/ Category Education License Standard YouTube License Show more Show less Loading... Advertisement Autoplay When autoplay is enabled, a suggested video will automatically play next. Up next X11 Forwarding using Putty on Windows - Duration: 5:17. Joseph Jozwik 90,473 views 5:17 xhost - Duration: 3:02. Liem Trinh 1,225 views 3:02 Install Oracle 12c in Linux 7.x Step by Step - Duration: 30:40. Mr_Chicken 16,608 views 30:40 Setting up an X Server - Duration: 10:42. Christopher Ostrowski 3,408 views 10:42 how to launch any graphical application on linux or X11 forwarding or Xming launch - Duration: 2:21. OpenGyanHouse 924 views 2:21 How to install Oracle 11g on Linux - Duration: 18:20. TechLair 92,350 views 18:20 Run PuTTY + Xming via ssh to login Raspberry Pi remotely with GUI - Duration: 5:42. Andr.oid Eric 37,382 views 5:42 X11 Forwarding using Putty on Windows - Duration: 4:43. VIRTUAL NETWORKING CONCEPTS 624 views 4:43 Linux - SSH with GUI (cannot open display FIX) - Duration: 1:59. Rootkit Gaming 252 views 1:59 How to setup a SSH server in Windows 8.1 - Duration: 3:19. Lucky PC Solutions 15,775 views 3:19 How to fix Putty Connection refused issue - Duration: 3:06. Krishna Chaitanya 29,235 views 3:06 X11 Forwarding (Mac) - Duration: 5:43. Overflow Security 2,336 views 5:43 MicroNugget: Running X11 Over SSH - Duration: 3:04. CBT Nuggets 3,384 views 3:04 We Can't Stop - Miley Cyrus (Boyce Avenue feat. Bea Miller cover) on Apple & Spotify - Duration: 4:30. boyceavenue 92,357,339 views 4:30 Using PuTTY and Xming to get a linux GUI to a Microsoft Desktop - Duration: 4:21. MrLinuxInfo 92,671