General :: Can't Open Display Localhost:0.0?
Mar 31, 2011
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
ADVERTISEMENT
Dec 1, 2010
Im 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
View 2 Replies
View Related
Jul 5, 2011
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 &
View 1 Replies
View Related
Sep 25, 2010
I 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?
View 9 Replies
View Related
Apr 6, 2010
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>.
View 5 Replies
View Related
Jun 25, 2010
FreeNX server is SUSE 11.2 /(i586)
Cliente is windows 7 (64)
NX> 148 Server capacity: not reached for user: usb
View 4 Replies
View Related
Nov 6, 2010
Made some network and hardware changes, and now I can't get the mailserver to work. It seems that sendmail can't loop to itself on 127.0.0.1. When I nmap localhost, I find that port 25 isn't open.
Naturally, nothing has changed on my system except for different routing, interfaces, etc.
So the question for sendmail gurus,is where should I be looking?
View 4 Replies
View Related
Jun 28, 2011
I 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.
View 4 Replies
View Related
Oct 30, 2010
I tried to log on to a remote computer using ssh, but I got an error:
xset: unable to open display
View 4 Replies
View Related
Feb 17, 2010
I 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 Replies
View Related
Oct 25, 2010
/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.
View 14 Replies
View Related
Jan 13, 2010
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.
View 7 Replies
View Related
Apr 15, 2010
I have a problem with one of my new OpenSuse installation. I install ntop on this machine so the port 3000 become open, but when i want to use it on a other pc, it cannot see the open port. I really don't understand why i cannot access this port.
I disabled firewall to make sure everything pass.
Here my ntop on my localhost
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
Here my ntop from another host
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
View 2 Replies
View Related
May 17, 2011
I have worked with xampp on windows. Its my first time with Red Hat Enterprise Linux 5 .
Problem Is In My company we have redhat entprise 5 and its running well with samba server for our intranet. I wants to upgrade the intranet by using joomla. Problem is i have installed the xampp succesfully but when i type [url] it still opens our old intranet's homepage.
View 2 Replies
View Related
Jul 4, 2011
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
View 1 Replies
View Related
Mar 31, 2011
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]....
View 10 Replies
View Related
Mar 31, 2010
I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...
I now get the error as below:
My userdir.conf is like this:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
[Code]....
and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?
View 9 Replies
View Related
Oct 30, 2010
I have a crontab on my vps running every minute that checks to see whether or not a certain port is open on localhost. If the port isn't open, it should run the php script to restart the program. However, I require the use of screen to be able to interact with the program whenever I reconnect to the vps through shell.The problem is, screen is being a pain by saying "Must be connected to a terminal."This is the php script:
Code:
#!/usr/bin/php -q
<?php
[code]....
View 5 Replies
View Related
Feb 15, 2016
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.
View 3 Replies
View Related
Sep 20, 2010
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?
View 1 Replies
View Related
Oct 13, 2010
I did a fresh install of Lucid 32bit and install LAMP via Mark packages by task *LAMP server...Everything worked fine I could view files via firefox php an all worked... I did the system updates ( since clean install ) and went on a software getting spree... Then I tried to get back to my work on web site and I can no longer connect to localhost via firefox... 127.0.0.1 doesn't work either I tried to restart apache2 and still nothing.
View 1 Replies
View Related
Feb 18, 2011
We have a digital signage appliance built on SUSE 11.3 with a LAMP server that uses the flashplayer application to play a .swf file from localhost. It is a AOpen GP7A mini pc that has the nVidia drivers loaded. We have lots of customers that have been running the exact same system for over 6 months (we image the drive for each sale).
For some reason, my last customer is seeing the following problem shown below, and this linux configuration is way over my head. Everything else is working (local LAMP server is working, communicating with our production servers to get information works, etc). I have verified that it is screen 0 that is running (at least it shows with Ctrl-Alt-F7). I thought that it may have occurred because of updating the software with zypper up. I had the customer rebuild from the image being careful not to upgrade the software. The result was the same. The pc is a newer version compared to my bench pc, but there are multiple other customers running that same version just fine. So I am not sure if it is
The command is issued by a php script that is run in a root cron job. As I said, it works great on all other customer pc's including my bench system. I also tried to execute the command on a ssh terminal as the root user with the same result. I also upgraded my bench pc and it still worked properly.
The command being executed is sudo env DISPLAY=:0 XAUTHORITY=/home/svision/.Xauthority flashplayer http://localhost/flash/sign.swf &
the result (when run in terminal) is: No protocol specified (flashplayer:15077): Gtk-WARNING **: cannot open display: :0
View 2 Replies
View Related
Mar 8, 2011
I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?
1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?
2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?
3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.
I have iptables with these rules:
[Code]....
View 1 Replies
View Related
Oct 8, 2009
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
View 2 Replies
View Related
Jul 20, 2011
I have configured an instance in AWS EC2. I am trying to set the display back so I can run x apps. I login using ssh -xy -i...
export DISPLAY=XXX.XXX.X.XXX:0.0
echo $DISPLAY to verify
xhost +
xhost: unable to open display "XXX.XXX.X.XXX:0.0"
I have commented out nolisten tcp as suggested HERE I have modified /etc/gdm/custom.conf as suggested HERE Actually, the last suggested modifying /etc/gdm/gdm.conf, but that file didn't exist, so I added the line: DisallowTCP=false to /etc/gdm/custom.conf I rebooted, and still I get: xhost: unable to open display "XXX.XXX.X.XXX:0.0"
View 2 Replies
View Related
Dec 13, 2010
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 Related
Aug 20, 2010
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
View 3 Replies
View Related
Jan 30, 2011
We're running Ubuntu 10.4 on our server. When I ssh there, I can open xclock and emacs and the GUI appears on my desktop.
But when I try to open evince, I get the following error:
Code:
$ evince
X11 connection rejected because of wrong authentication.
Cannot parse arguments: Cannot open display:
[Code].....
View 2 Replies
View Related
Aug 17, 2009
As root when I try a program it often say it cannot open display How get round?
View 3 Replies
View Related
Feb 7, 2011
Just finnished a fresh install of Squeeze. In a console, as root, when i type gedit i get: # gedit No protocol specified
(gedit:24284): Gtk-WARNING **: cannot open display: :0.0
View 3 Replies
View Related