Ubuntu Networking :: Set Display And Xhost: Unable To Open Display "XXX.XXX.X.XXX:0.0"
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
ADVERTISEMENT
May 11, 2010
We rebooted the server an got the following error:
Quote:
RHEL xhost unable to open display ""
Can't login or do anything at the monitor or kb. How ever I can ssh to the server, not sure where to start looking. I have two servers that are the same and checked the xorg.conf on both servers and they looked the same.
View 2 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
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
Jun 10, 2010
I'm experimenting with old linux Distributions again, and while trying tostart an x server, I get the following error message:X: unable to open display ''That makes me think that the config file is incomplete, but I would have no idea how to make it. If there is an auto configuration utility that I do not know about for X, it would be great to hear about. Here are some other specifications that might help:*Host: VMWare Workstation on Windows XP Home*Distribution: Debian 2.2 (potato) (Yes, I know it's old.)*Connection: Local. I've heard of people having difficulties like this on remote connections, but I am on the physical computer
View 7 Replies
View Related
May 5, 2011
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
View 2 Replies
View Related
Nov 6, 2010
Ever since upgrading to Fedora 14, my system has been almost unusable. I can only have a few windows of anything open before I start getting messages about:
Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedxwininfo: unable to open display ':0.0'
I am unable to open any new windows then and lots of programs crash.
When things are still running correctly.
A few minutes later:
View 3 Replies
View Related
Jul 22, 2009
Well this is my first time using redhat 7, the install went fine and webserver, mysql, phpmyadmin are all working......great
The only problem i have is the remote desktop
I have set the password in preferences/remote desktop run command vncpasswd and set password
In services vncserver i get this message......... xsetroot: unable to open display '' Xvnc is stopped and vncserver failed. The error was: xsetroot: unable to open display '' Shutting down VNC server: 1:user1[FAILED]
Starting VNC server: 1:user1 [FAILED]
My vncservers file looks like this
I have tried restarting service using root login and user1
View 5 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
Aug 19, 2011
i recently moved from Ubuntu to Debian(squeeze).. i am very pleased with squeeze except for this bug..I have this python script i wrote to change my wallpaper (through Gconf), the script would be called by cron from time to time.The problem i am facing in Debian is that this script stopped working.I am exporting the $DISPLAY=:0 in Cron, (this is how it worked in Ubuntu)..the cron job i used is below:
-----------
* * * * * export DISPLAY=:0 && /path/to/my/script.py
--------
so the above was not running...I redirected the output and this is what i got as error:
-------------
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /usr/bin/dbus-launch terminated abnormally with the following error: Invalid MIT-MAGIC-COOKIE-1 keyAutolaunch error: X11 initialization failed.)
-------------
[code].....
View 1 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
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
Jan 8, 2010
Hi I am new to ubuntu and am having major problems setting my displays up. my setup is a hd TV to the Left of my pc monitor, i have managed to configure catalyst to let me have a main display with the second display being an extension of the first, the problem is i cannot seem to swap my primary display, at the minute my HDTV has all the taskbars and everything on it while my pc monitor is just a blank background, i would like it so i could start a film playing for my children, then drag it across to the HDTV while i can still use my pc in the background.
View 1 Replies
View Related
Sep 11, 2011
Thats my problem at the moment, i cant open YAST without using the command "xhost +" before on bash.
openSUSE 11.4 64 bits.
View 9 Replies
View Related
Jan 28, 2010
I am using GeForce 7600 GSNot using the Nvidia X driver message you know... I searched all over, and seen this problem on many searches but no resolve issues.I want to be able to connect my tv, I use to be able to when I first installed Ubuntu and now IdK.
View 3 Replies
View Related
Apr 16, 2011
I have a fresh install of OpenSUSE 11.4 64bit and I have installed the AMD Display drivers for my Radeon HD 5970. Everything seems to be working quite well. I have a multiple monitor setup (1280x1024 monitor and a 1920x1080 monitor).
I have my primary display set to 1920x1080, however when I try to enable the second display, I get a CRTC error that the display is over the maximum (1920x1920). If I enable both monitors at lower resolutions, there is no problem.
I have done a fair bit of reading and have been unable to determine where this maximum is set, or how to change it. I'd like to be able to run both monitors at their native resolutions.
View 3 Replies
View Related
Dec 26, 2010
When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only
export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock
[code]....
View 1 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
Jun 29, 2010
I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?
View 14 Replies
View Related
Jan 13, 2010
When I become root and try to run gedit, I get the error:
No protocol specified
(gedit:219: Gtk-WARNING **: cannot open display: :0.0
This does not happen from my user profile....xhost + actually solves the issue....so I guess I just need to add the host root to the list of hosts allowed to access the x server...
I try xhost +root......but that does not work....
View 6 Replies
View Related
Dec 27, 2010
I need to get gksu to run programs. The goal is to be logged in as user1 and run firefox or google-chrome with user2 's settings stored in their own home directory. I'm trying the following with no success:
Code:
user1@hostname:~$ su user2
Password:
user2@hostname:/home/user1$ google-chrome
No protocol specified
(google-chrome:17144): Gtk-WARNING **: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ gedit
No protocol specified
(gedit:17162): Gtk-WARNING **: cannot open display: :2.0
View 1 Replies
View Related
Jan 30, 2011
I was running Ubuntu 10.10 Maverick with no big problems till last 3 days ago.
The update manager checked some updates to install and after installing them, I had no graphic desktop any more. Only the command line.
I tried to recover it by starting the X again.
Code:
But did not worked
So I've tried to install the nVidia driver again. I looked at nVidia Linux drivers site for how to do it and Ubuntu documentation and when I tried to
Code:
I just could not use gedit. It cannot open display. I googled for three days but could not solve it. I found some similar answers here at LQ but none was similar to my situation or worked even when I tried.
View 7 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
Apr 8, 2010
I am still learning the ropes on Ubuntu server. I am trying to set up samba, but when I use the "gedit" command, I get this error:
GTK-WARNING **: cannot open display
I had installed the gedit command by using apt-get and aptitude, but still no luck. I am using virtualbox to test Ubuntu Server 9.10.
View 3 Replies
View Related
Dec 1, 2010
I have installed Fedora 14 Security Spin, and want to display all disks & partitions available in a GUI display. How can I achieve that?
View 1 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
Jan 14, 2011
I am trying to run a java .class file by double-clicking it. So far my attempts at running it have been successful, but I don't' know how to keep the display open to see what the output is.
View 6 Replies
View Related
May 29, 2011
For example, the gparted application menu item doesn't work; using it means that there is almost no filesystem support. The only way to get it to work is to open a terminal, run 'su -', and then open it from there.As another example, I tried creating a nautilus script to open files as root with a command like this:
Code:
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnomesu -c "gnome-open '$uri'"
done
When I try using it, it just fails. Typing out the command in the terminal gives this (tested on a text file):
Code:
No protocol specified
(gedit:13672): Gtk-WARNING **: cannot open display: :0
I'm pretty sure the problem is that it's granting privileges, but not using the full root environment, or something along those lines.
View 2 Replies
View Related
Aug 14, 2010
i 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.
View 2 Replies
View Related