General :: Error: Can't Open Display: Hostnmae:0.0
Feb 17, 2010I have installed RHEL 4.6. But X server is not running. Wen i executed xclock Error: Can't open display: hostnmae:0.0
View 4 RepliesI have installed RHEL 4.6. But X server is not running. Wen i executed xclock Error: Can't open display: hostnmae:0.0
View 4 RepliesI have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:
From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0
I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:
From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>
I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.
I get these error messages: Error: Can't open display: <ip of display>
Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.
/usr/bin/xterm Xt error: Can't open display: %s
I tried to connect to remote server ,which is installed Centos 5.4 x86, through Xmanager on windows 7, and got this error.
Quote:
/usr/bin/xterm Xt error: Can't open display: %s
At the remote server, I turned on firewall and after this I got the above-mentioned error message.
I do this accrding to instruction on remote server.
Quote:
2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
After adding these ports "/etc/sysconfig/iptable" as the enoder mentioned, /etc/init.d/iptables restart
3. Reboot the remote host and start Xmanager <- I could not restart remote server.
I also had ever tried all methods they mentioned, but my problem is still there. I am using a MAC OS X 10.6 ssh a remote redhat server. I hope to see X of redhat on my own MAC. Below is what I've done: 'MAC_ip' stands for my mac; 'redhat_ip' stands for redhat server.
1) ssh to redhat server
2) change to root
3) type command: DISPLAY=MAC_ip:0.0
4) type command: export
5) Back to MAC
6) change to root
7) type command: xhost +Redhat_ip
8) vim /etc/ssh_config, add X11Forwarding yes
9) Back to redhat, type: xclock
I got below message: Error: Can't open display: MAC_ip:0.0 I also tried some methods to login as others suggested:
[Code]....
I use kubuntu (8.04) which does not have a root account.
[sudo] password for ts:
However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.
Error: Can't open display: localhost:0.0
Press ENTER or type command to continue
When I open startx it works fine bur I get an "cannot open display" error foe gnome-session. I already tried export DISPLAY=:0. ANY suggestions?
View 4 Replies View Relatedi have just installed a redhat linux entprise 5 on my machine. I am trying to install a software and when i run the #install.ksf , my installation gets aborted and my install.log file shows this,
Error: Can't open display !
Environment variable 'DISPLAY' must be defined.
i just downloaded Nethack from [URl], and moved the extracted files to /usr/games. Then i changed the permissions in /usr/games/lib/nethackdir so i could access the lib files.
Nethacks runs in X, and it runs in terminal when im root. But for some strange reason it does not run in CLI when im not root, i get the message "Error: Can't open display:".
When trying to run X apps from terminal command line I getCannot open X display `:0.0'error.I tried export DISPLAY=0.0What do I need to do to permently fix this problem?
View 1 Replies View RelatedI was trying to remotely log in to my desktop which uses 11.3 from my laptop via ssh. For some reason I get an empty field for the command echo $DISPLAY. and as a result an xclock command results in error: can't open display. I tried to set it to localhost:10.0 and I get: Error: Can't open display: localhost:10.0
I've tried :0.0 and I get: Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0.0 ssh used to work about a week ago before I performed various security updates. I was wondering what' the solution to this. I checked the /etc/ssh/sshd_config file and ssh_config file both have X11 forwarding on. Can anyone with more experience out there give me any ideas?
When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty. However, when I then try to execute ./dbca I receive the following:
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: localhost:10.0
I notice the following when logging in to the server as well.
Last login: Fri Mar 19 13:51:19 2010 from 10.47.48.33 /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority. These are the same steps I take successfully on all the servers. The above file exists on the servers I can initiate the GUI, but not on <server1>.
I have this problem. Whenever I issue command below,
Code:
ssh -X user@hostA
xclock
[code]....
I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx
but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set
So I just installed 32-bit Squeeze. I've done exactly two things since booting into the first install: pt-get install gtk+2.0, and ./firefox, so unless gtk did something, this might be an easily fixable problem with Debian itself. After installing gtk and trying to run firefox via command line, it tells me
Code: Error: cannot open display: :0 I googled a bit and couldn't come up with a solid solution, but the problem seems to be around other places. Any idea how to fix this?
For awhile I have had this issue with the command line and every time I try to complete any command that requires GTK graphics, It always returns the error "Error: cannot open display: 0:" The "EXPORT display" command that I normally use to fix this issue is not working. The only issue that I can think might be the cause for this could be my upgrade to natty (which was in fact a clean installation), or when I edited plymouth so that the startup and shutdown animations would match my laptop's native resolution (by the way I would also appreciate it if I could do the same with the startup animation, only the shutdown really works). If anybody know how I could resolve this issue I would greatly appreciate it. Oh and for specifics on my machine, I am using an ASUS N82 with an NVIDIA GEFORCE GT335M graphics card, running Ubuntu 11.04.
View 3 Replies View RelatedI am running hummingbird exceed on Workstation with an ip address of a.b.c.d, and connecting to a sun machine with IP address x.y.z.w running Solaris with XDMCP. From the sun machine, we commonly telnet to other sun and linux machines and run X applications.
We have just installed ubuntu 10.04, and I can telnet into that machine no problem.
However, running xterm on the ubuntu machine fails:
xterm Xt error: cannot open display a.b.c.d:0.0
Well after messing with compiz Opacity I managed to make all panels and windows transparent. Only thing I see is desktop background and icons. Tried ctrl+although+f1 and running gconftool-2 --recursive-unset /apps/compiz
Then a reboot. Same issue. Next ran metacity --replace I get: Windows manager error: Unable to open X display
I wrote a simple code using Open Inventor(OpenGL) classes to print a Sphere in a .png file.I tested it on Windows and it worked well.But when I run it on Fedora 10, I got the following error with no output .png file:
Coin error in glxglue_init(): Couldn't open NULL display. Coin warning in SoOffscreenRenderer::renderFromBase(): Could not set up an offscreen OpenGL context.
Segmentation fault
FreeNX server is SUSE 11.2 /(i586)
Cliente is windows 7 (64)
NX> 148 Server capacity: not reached for user: usb
Gnome Forum have told me that changing the appearance of gdm I run: sudo -u gdm dbus-launch gnome-appearance-properties but I get this error: (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: can not open display:
View 3 Replies View RelatedIm using the Redhat 5, when m trying to connect from X-start it showing error:
Can't open display: localhost:0.0
Where as /etc/ssh/sshd_config settings are correct
Also ssh is running
$DISPLAY is set to localhost
still it is not started any x-service
I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command - export DISPLAY={ipaddress}:0.0I then run xclock and get the following error - Xlib: connection to "{ipaddress}:0.0" refused by serverXlib: No protocol specifiedError: Can't open display: {ipaddress}:0.0The strange thing is that on my bosses pc (who has got almost the exact same setup ie. PuTTy & Xming) is works perfectly.
View 2 Replies View RelatedI recently installed opensuse 11.4 on a remote server. It has GNOME installed as a desktop. The problem I am experiencing is that when logged in through VNC, most of the GUI apps are not functioning, especially ones that require root privs. Example: The Add/Create users context does not function. After you supply root pw, nothing happens. If you launch it from a terminal, you see this:
jjmuw@g01:~> xdg-su -c /sbin/yast2 users
Xlib: extension "RANDR" missing on display "::1:1.0".
No protocol specified
No protocol specified
[code]....
(y2base:4872): Gtk-WARNING **: cannot open display: ::1:1.0
Followed by a hang. This is also affecting things like the Xen configuration contexts (creating/managing VMs).
I have transmission-daemon running on a remote computer, which I can access via ssh. Daemon is managed with an /etc/init.d script, and the problem is that when I'm logged into the remote computer over ssh, any attempt to start/stop/restart the daemon results in "Cannot open display:" error.
Code:
Cannot open display:
I've read a number of topics on similar issues with X applications, but the question that is bugging me -- why would a CLI app request access to display?
There's also Webmin web-interface available, and everything works just fine if I use it to control the transmission-daemon. I should also probably mention that some time ago the script worked ok, but mysteriously broke, though no significant changes to the system had been made (i.e. only tweaks to separate applications' config files).
The script in /etc/init.d looks like this:
Code:
I tried to log on to a remote computer using ssh, but I got an error:
xset: unable to open display
I'm SSH'ed in to my Ubuntu 11.04 machine and trying to take a screen shot of a virtual display where I'm running (hopefully) Firefox. I get the error
Code:
selenium@selenium:~$ xwd -display localhost:15.0 -out ~/desk.xwd -root
xwd: unable to open display 'localhost:15.0'
I know that I have displayed the right display variable because in an earlier script that runs at system bootup I have
Code:
export DISPLAY=localhost:15.0
/usr/bin/Xvfb :15 -ac -screen 0 1024x768x16 &
I try to change locale for a program to run my native language with root. I don't know what I made, but can't open gui programs from konsole with root account.
It appear this error:
Code:
When type locale, it appear:
Code:
Yesterday I make run level 4 to skip typing startx in console, and login directly to KDE.
I with one problem to open files on terminal. By example, I open the thunar on terminal, see the error:
gustavo@universe /media/montagem $ thunar
(process:7902): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Maximum number of clients reachedThunar: Cannot open display:
gustavo@universe /media/montagem $ ^C
I installed Open Office 4 on Debian 8 but when I run the program I get this error message.
root@localhost:/home/paul# openoffice4
No protocol specified
No protocol specified
/opt/openoffice4/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
Open Office works fine when I run the command "startx" in the Konsole but so far I haven't been able to configure it.
I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen.
If I start the screen session from the local machine, wmctrl works fine, including if I completely close the terminal window and issue the wmctrl commands when connecting to the screen remotely via ssh.
Conversely, if I connect remotely with ssh and start a screen, wmctrl doesn't work (returns "Cannot open display") even if I attach that screen session locally from the Ubuntu Terminal.
I guess there is some hidden screen parameter that doesn't get set in a way that allows accessing the display when it's launched remotely -- any ideas what it is and how to modify it from within a remote ssh-screen session so that that the script can access the windows?