Error No Display Specified Firefox Centos
Contents |
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, error no display specified firefox selenium I have installed CentOS from a CD and it does not have a GUI envirnment,
Error No Display Specified Firefox Linux
I would like to lauunch Firefox from the termimnal. How do I do it? pls help. Top toracat Forum Moderator Posts: 7150 firefox error no display specified redhat 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 error: cannot open display: TrevorH Forum Moderator Posts: 16830 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
Run Firefox From Command Line Centos
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: 16830 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 active. Once you connect to the remote server, make sure that it's ready to run by runningCode: Select all$ echo $DISPLAY
localhost:10.0
If it does not say something like localhost:x:0 then you probably don't have the necessary sof
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 about Stack Overflow the company Business Learn more about ssh display not set hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question how to set display environment variable in linux _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's
Xorg-x11-xauth
how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't start remote GUI programs on CentOS 6 [closed] up vote 1 down vote favorite 3 I have http://www.centos.org/forums/viewtopic.php?t=16578 set ForwardX11 yes in /etc/ssh/ssh_config which normally enables me to open GUI programs on CentOS5 by ssh -X server But doing the same on CentOS6 I get # firefox -no-remote Error: no display specified # What could be wrong? Update Have tried the following # firefox -no-remote Error: no display specified # echo $DISPLAY # export DISPLAY=localhost:0.0 # echo $DISPLAY localhost:0.0 # firefox -no-remote Error: cannot open display: localhost:0.0 # Update 2 ~$ echo $DISPLAY :0.0 ~$ export DISPLAY=localhost:0.0 http://serverfault.com/questions/357261/cant-start-remote-gui-programs-on-centos-6 ~$ ssh -X root@net2 [root@net2 ~]# xclock Error: Can't open display: [root@net2 ~]# linux centos share|improve this question edited Feb 7 '12 at 10:10 asked Feb 6 '12 at 15:59 Sandra 3,6861856116 closed as off-topic by Magellan, Jenny D, mdpc, Nathan C, Scott Pack Oct 11 '13 at 0:57 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Magellan, Jenny D, mdpc, Nathan C, Scott PackIf this question can be reworded to fit the rules in the help center, please edit the question. add a comment| 2 Answers 2 active oldest votes up vote 9 down vote accepted After changing the ForwardX11 to yes, have you restarted the sshd server? That is, by typing: # /etc/init.d/sshd restart Also you might try getting something simpler like xclock working first, to isolate whether it's firefox related (to prove at least your remote X11 is working fine). # /usr/bin/xclock & You might need to install it first. # yum install xorg-x11-xauth After installing xorg-x11-xauth, exit the X11 window, then log back in as you did above. Then you can do: # yum install xclock # /usr/bin/xclock & You might also need to use xhost. I believe it'
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 http://stackoverflow.com/questions/29461353/centos-6-32bit-firefox-error-no-display-specified-how-do-i-fix-this Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up CentOS 6 32bit - Firefox: Error: no display specified. How do i fix this? up vote error no 0 down vote favorite I just bought a VPS from BlueVM.com i've never owned or used a VPS before. I thought it would be an easy procedure since all i wanted it to do was run Mozilla firefox 24/7. But it's harder than i though it'd be :/ After purchasing i went to the VPS control panela nd then to the command center, with some google search i managed to download error no display & install firefox onto my VPS. According to google all i had to do was type: firefox and it should launch. As the title states above i got this: Error: no display specified How do i fix this? I did some google search and found some people having this problem too, unfortunately the tutorials they provided were not noob-friendly :/ I didn't understand anything. Please help me fix this problem guys :) Another thing! How would it be if i managed to launch firefox, would a firefox window just appear instead of the command center? firefox centos vps centos6 share|improve this question asked Apr 5 '15 at 19:31 Nero 41 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote Firefox will only launched if you have desktop version. You are using VPS which is text based. You can't use firefox in minimal version. share|improve this answer answered Apr 6 '15 at 12:35 Waqas Rana 418 What do i do then? –Nero Apr 6 '15 at 18:43 Follow this link idevelopment.info/data/Unix/Linux/… Then You can install VNC server to access your desktop. –Waqas Rana Apr 8 '15 at 12:51 add a comment| up vote 0 down vote You can see the experience of Travis