Firefox Error No Display Specified
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
Error: Cannot Open Display:
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation error no display specified firefox centos Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
Error Cannot Open Display 0.0 Firefox
you, helping each other. Join them; it only takes a minute: Sign up How can I specify a display? up vote 35 down vote favorite 16 When I run some programs over SSH, such as firefox &, error no display specified selenium I get an error Error: no display specified I would like to open many displays, still showing the stdout of each program. Initial Question: How can I specify the display to get a many-displayed program? Pablo Santa Cruz gives me the following code as a solution. I do not understand it. $ export DISPLAY=yourmachine.yourdomain.com:0.0 $ firefox & What are yourmachine and yourdomain.com in the command? x11 share|improve this question edited Jul 25 at 9:26 Yuan Wen how to set x11 display variable in linux 434219 asked Apr 24 '09 at 3:36 Masi 32.6k110335519 add a comment| 6 Answers 6 active oldest votes up vote 44 down vote accepted The way that X works is the same as the way any network program works. You have a server of some description (in this case, the X display server) which runs on a specific machine, and you have X clients (like firefox) that try to connect to that server to get their information displayed. Often (on "home" machines), the client and server run on the same box and there's only one server, but X is powerful enough that this doesn't need to happen. It was built with the server/client separation built in from the start. This allows you to do such wondrous things such as log on to your box (in text mode) halfway around the planet, tell it that the display server is the box you're currently on and, voila, the windows suddenly start appearing locally. In order for a client to interact with a user, it needs to know how to find the server. There are a number of ways to do this. Many clients allow the -display or --displayoption to specify it: xeyes -display paxbox1.paxco.com:0.0 Many will use the DISPLAY environment variable if a display isn't specifically given. You can set this variable like any other: DIS
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
What Is X11 Display
the workings and policies of this site About Us Learn more about firefox error no display specified redhat Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux
Set Display Linux
Questions Tags 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 http://stackoverflow.com/questions/784404/how-can-i-specify-a-display 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 why won't x11 display work through ssh login? up vote 3 down vote favorite 2 I have logged in to a remote server and am trying to display an http://unix.stackexchange.com/questions/138936/why-wont-x11-display-work-through-ssh-login x application(e.g. firefox). but an error message appears. the below are my attempts to open firefox Black@Black-PC ~ $ ssh -X kwagjj@$labserver -p 122 [kwagjj@James5 ~]$ firefox Error: no display specified [kwagjj@James5 ~]$ exit logout Connection to 143.248.146.204 closed. Black@Black-PC ~ $ ssh -Y kwagjj@$labserver -p 122 [kwagjj@James5 ~]$ firefox Error: no display specified [kwagjj@James5 ~]$ I used -X, -Y because I read somewhere that these two options are related with credentials regarding X11 and these switches will do the job for me. Even without the -X, -Y switches, my attempt failed. What does the 'no display speicified' error mean? P.S. The weird thing is that if I connect to the remote server through my PUTTY and repeat the command 'firefox' it works?!?!(firefox is displayed on local computer) P.S. my local computer is Windows 7 so I have Xming running on background in order to allow X11 display. As for the attempt written on the upper part, the commands were typed in at Cygwin terminal. ssh x11 cygwin share|improve this question edited Jun 24 '14 at 23:37 Gilles 371
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://serverfault.com/questions/279036/open-terminal-via-ssh-run-firefox-display-not-found policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered https://ubuntuforums.org/showthread.php?t=1262682 Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can error no ask a question Anybody can answer The best answers are voted up and rise to the top open terminal via ssh run firefox -> display not found up vote 3 down vote favorite I want to run selenium tests on a Hudson slave. The slave (i.e. the machine) that will execute the selenium is a Ubuntu 10.04. Thus it has Gnome. Selenium error no display needs a firefox to run. What Hudson does now is, it creates a ssh connection to the Ubuntu machine and launches selenium there. Selenium tries to start a firefox. And now it blames: Error: cannot open display What needs to be done that the 'ssh shell' gets a display from the X-server? ubuntu ssh firefox x11 selenium share|improve this question edited Jun 10 '11 at 12:51 Caleb 8,58422540 asked Jun 10 '11 at 6:46 nebenmir 118113 I think many people are misunderstanding your question, or I am. To be clear, do you intend for Firefox to run on the Ubuntu machine and display on the Ubuntu machine? I.e. you are not asking how to have Firefox display back to the Hudson server, (which only triggers the test) –Norky Jun 10 '11 at 8:19 have you seen this rather similar question: serverfault.com/questions/108781/… ? –Norky Jun 10 '11 at 10:36 add a comment| 5 Answers 5 active oldest votes up vote 2 down vote accepted Make sure that the remote machine has ssh X11 forwarding enabled: $ grep X11 /etc/ssh/sshd_config X11Forwarding
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [gnome] Error: no display specified Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 10 of 10 Thread: Error: no display specified Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 10th, 2009 #1 TheSgrash View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2008 Beans 4 Error: no display specified Hi people i have a problem... when i write in terminal "xdg-open http://www.google.it" or "gnome-open http://www.google.it" for example, it returns the error: Error: no display specified how can i solve this problem? i understand that it's about the DISPLAY variable (i have it setted to :0.0) help me please... sorry for my bad english Adv Reply September 10th, 2009 #2 wojox View Profile View Forum Posts I Ubuntu, Therefore, I Am Join Date Apr 2009 Beans 8,630 Re: Error: no display specified Try: Code: xdg-open 'http://www.google.it' See if that makes a difference. Is your browser open when you do this? Adv Reply September 10th, 2009 #3 TheSgrash View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2008 Beans 4 Re: Error: no display specified Originally Posted by wojox Try: Co