Redhat 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 more error no display specified firefox about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Error: Cannot Open Display:
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping error no display specified firefox centos 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 get an error error cannot open display 0.0 firefox 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 asked Apr 24 '09
How To Set X11 Display Variable In Linux
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 DISPLAY # in .profile export DISPLAY=paxbox1.paxco.com:0.0 # in
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 hiring developers set display linux or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ xorg-x11-xauth Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it
Error No Display Specified Selenium
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 http://stackoverflow.com/questions/784404/how-can-i-specify-a-display vote favorite 2 I have logged in to a remote server and am trying to display an 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 http://unix.stackexchange.com/questions/138936/why-wont-x11-display-work-through-ssh-login 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 374k696801129 asked Jun 24 '14 at 12:43 kwagjj 61121021 Have you tried to display something locally from your Cygwin terminal? For example, you could find a local X utility such as xclock and run it to see what happens. If you cannot display locally, the remote display won't work. You may also need the X server for Cygwin. –unxnut Jun 24 '14 at 12:51 1 @unxnut as you've pointed out, my DISPLAY variable wasn't set. so I set it up with export DISPLAY=:0.0' and executed xclock` and the xclock appeared. But when I then logged in to the remote server via ssh, and tried xclock again, it says Error: Can't open display: –kwagjj Jun 24 '14 at 12:59 add a comment| 3 Answers 3 active oldest v
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta http://serverfault.com/questions/357261/cant-start-remote-gui-programs-on-centos-6 Discuss the workings and 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 https://ubuntuforums.org/showthread.php?t=1262682 Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: error no 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 Can't start remote GUI programs on CentOS 6 [closed] up vote 1 down vote favorite 3 I have set ForwardX11 yes in /etc/ssh/ssh_config which normally enables me to open GUI programs on CentOS5 error no display 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 ~$ 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,6861956116 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, S