Putty 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 Learn
Error No Display Specified Firefox
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags error: cannot open display: Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 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 &, I error no display specified firefox centos 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 434219 how to set x11 display variable in linux asked Apr 24 '09 at 3:36 Masi 32.8k112336519 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: DISPLAY=paxbox1.paxco.com:0.0; export
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 Us Learn more
Set Display Linux
about Stack Overflow the company Business Learn more about hiring developers or posting xorg-x11-xauth ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site
Firefox Error No Display Specified Redhat
for system and network administrators. 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 http://stackoverflow.com/questions/784404/how-can-i-specify-a-display the top Launch firefox on remote server using SSH with a command line parameter up vote 0 down vote favorite 3 Is there a way to launch firefox on a remote server using SSH this way ? : ssh username@ip_address [command line] When I run: ssh username@ip_address -Y (or -X) firefox (I want to launch firefox on the remote -Ubuntu Desktop- from my local -Ubuntu Server), I get this error: http://serverfault.com/questions/601394/launch-firefox-on-remote-server-using-ssh-with-a-command-line-parameter Error: no display specified Important note: I want to run this command from an Ubuntu Server to an Ubuntu Desktop operating system. ssh command-line-interface remote-desktop share|improve this question edited Jun 3 '14 at 9:34 asked Jun 3 '14 at 8:21 user223514 You want the Ubuntu server (A) to issue a command to the Ubuntu Desktop (B) machine to run B's firefox on B's own display, correct? –Kos Jun 3 '14 at 13:33 yes, that is exactly what i want to do –user223514 Jun 3 '14 at 13:34 Then SSH X forwarding isn't for you, it's helpful if you want to run firefox on B but have it displayed in X11 installed on A. You probably don't even have X11 in A because it's a server –Kos Jun 3 '14 at 13:41 @Kos yes, you are right, I installed X11 server, but this means I am no longer using Ubuntu Server (but this is not a problem in my case). Thank you –user223514 Jun 3 '14 at 13:45 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote You can use X Forwarding to do that. Make sure that firefox is installed on your server, the
●1 ●1 ●1 I use PuTTY to ssh into my instance via the associated floating ip address. When in the PuTTY terminal I https://ask.openstack.org/en/question/32660/display-not-specified/ try to invoke a firefox web interface. However I end up getting: Error: no display specified I have been on several websites that have told me I need to install http://www.centos.org/forums/viewtopic.php?t=16578 Xming so I can access a web interface. I am aware I am a newbie and honestly it took me forever to catch on to the floating ip address concept. error no Because prior to that I was trying to use the instance ip address. So my question is: Is there an openstack function that I can "click" so I can access firefox installed on the server and displayed on my desktop? or... Do I definitely need Xming? edit retag flag offensive close merge delete add a comment 1 answer Sort by ยป error no display oldest newest most voted 0 answered 2014-06-19 09:52:56 -0500 Lawrence Lo 81 ●1 ●3 http://www.linkedin.co... http://serverfault.com/questions/3572... Hope this helps. edit flag offensive delete link more CommentsThank you.newbieintern( 2014-06-19 10:19:38 -0500 )editadd a comment Your Answer Please start posting anonymously - your entry will be published after you log in or create a new account. Add Answer [hide preview] Get to know Ask OpenStack Resources for moderators Question Tools Follow 1 follower subscribe to rss feed Stats Asked: 2014-06-19 08:22:05 -0500 Seen: 2,653 times Last updated: Jun 19 '14 Related questions Cannot SSH Instance on Ubuntu 12.04 LTS cannot ssh into ubuntu instance. Connection reset by peer ubuntu instances refuse ssh Unable to create key pair: Keypair data is invalid: failed to generate fingerprint (HTTP 400) Cannot SSH to Docker Instance on Kilo [closed] Keypair creation is failing CentOS - SSH Private Key - Permission denied Mitaka: Manila Share Create Error. No key path is available. May be non-existent key path is provided Router namespace issue;cannot connect to Openstack instances allocating disk Feedback About This Page Report a bug Open
from CLI General support questions including new installations Post Reply Print view Search Advanced search 12 posts 1 2 Next sandy12 Posts: 5 Joined: 2010/11/22 14:54:49 Firefox in CentOS from CLI Quote Postby sandy12 » 2010/11/22 16:47:16 Hi, I have installed CentOS from a CD and it does not have a GUI envirnment, I would like to lauunch Firefox from the termimnal. How do I do it? pls help. Top toracat Forum Moderator Posts: 7151 Joined: 2006/09/03 16:37:24 Location: California, US Contact: Contact toracat Website Firefox in CentOS from CLI Quote Postby toracat » 2010/11/22 22:26:22 Browsers like firefox require GUI. If you'd like to run a text-based browser, try lynx. Top TrevorH Forum Moderator Posts: 16929 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Firefox in CentOS from CLI Quote Postby TrevorH » 2010/11/23 00:09:28 It is possible to use a local X server and use X11 forwarding over ssh to display GUI apps like this. Possible but not desirable But if you have a web page that needs a GUI browser on that system then sometimes you have no choice. Top sandy12 Posts: 5 Joined: 2010/11/22 14:54:49 Re: Firefox in CentOS from CLI Quote Postby sandy12 » 2010/11/24 14:29:36 @toracat thanks for the reply.. I have tried lynx, but I need a gui browser.. any help on how to get to that?@TrevorH Thanks. ..I have a web page that needs a GUI browser could you please walk me through the procedure you mention ( X server x11 SSH ???@##$^& for me Top TrevorH Forum Moderator Posts: 16929 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Firefox in CentOS from CLI Quote Postby TrevorH » 2010/11/24 16:28:24 Method varies depending on what o/s you run on your own machine. If it's Windows then you need to install an X server first - Cygwin has a free one and once installed you just open a cygwin bash command prompt and type `startx` which gets it running. Then you need to enable X11 forwarding on whatever ssh client you are using - for putty it's a setting in Connection -> SSH -> X11 and you need to check the box that says "Eanble X11 forwarding" then make a new connection with that setting acti