Debian :: X: Unable To Open Display '' (two Single Quotes)?
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
I am not sure If anybody has faced this issue, my keyboard is less responsive when pressing the double quote/single quote key, I have to press it twice for it to print the quote( and that too it prints some other data and not exactly a double-quotes). Initially I thought it was issue with my keyboard, but later I see that it is working fine in Windows XP. It looks some kind of setting issue. If you check the below two examples, example a) is the double quote printed in Ubuntu, it doesnt exactly looks like a double-quotes and b) is the one printed in Windows.
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 have the following command, which works fine:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece /backup/PROD/"$9";"}'The output is:catalog backuppiece /backup/PROD/PROD_29mi42vn_1_1;BUT... I want single quotes in the result. One before /back.. and one before the ;Like this:catalog backuppiece '/backup/PROD/PROD_29mi42vn_1_1';How do I do that? I tried using ' but it does not work.The following command works, but I get an error message, which prevents me from using the command in a bash file:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece '''/backup/PROD/"$9"''';"}'awk: warning: escape sequence `'' treated as plain `''
I want to grep for $_POST['whatever']. I've done enough googling and trying different things (and failing) to where I felt it appropriate to post here. How do I identify the single quotes as literals? slashes don't seem to do it.
I have a problem with my keyboard. I�m unable to type single or double quotes, at least not the regular sort that you need to write code in almost any programming language ever invented -which makes it pretty useless.A demonstration.Single left and right tilted quotes:Double quotes: m not able to type a single straight quote at all.I just want my keyboard layout to be standard US like everyone elses so I can get on with my work so does anybody know how to just reset it to a normal layout?
Can anyone offer a code snippet to recursively go through directories and replace any single or double quotes quotes found in a filename with another character (e.g. "_").If any of the filenames contain a single quote or double quote, then replace it with an underscore.
After I assign a string to a variable, I know that the print function will remove the single quotes around the value, but is there a way to assign a variable without the quotes around the value? for example:
a = open('/usr/lib', 'r+') b = f.read() c = x.replace('.xx','yy') d = ?
c returns the value with quotes around it print c returns the value without the quotes Is there a way to assign a new variable (d) which will equal c without the quotes? I need a new variable which has the quotes omitted because from there the script will take the value of the last variable (which is a path to a file), and tar up that file. It won't recognize the path to the file if the value has quotes around it.
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:
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.) -------------
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"
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 have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?
I'm trying to add my own personal database of quotes for the fortune app to call when i open a terminal. I was able to successfully create the data base from a text file along the lines of this thread [URL] And it works when i type :$ fortune mydatabase The problem is, when i open a terminal i dont believe fortune knows to look for the new database, and im yet to see one of my quotes appear. If anyone can point me in the right direction as to where the command is issued to run fortune when i open the terminal
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.
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
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?
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.
In bash I need to use some equivalent of double quotes inside double quotes (or the other way around.)I need to run the following statement to get the output of foo and store it in a variable while passing foo the $file which probably contains spaces.
Code: variable=$(foo "$file") The problem is that foo might return an empty string and if it does I need to catch it
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.
I've read through tutorials on xrg.conf and xrandr but I have a hard time sorting it all out.I have two questions:You have installed a distro and you're looking at a desktop, but its off center on the monitor and its in low graphics mode, and possibly the wrong refresh rate. [ I've been in this situation with multiple distros, but lets use Ubuntu for the example.]1) How do you determine the actual current resolution?2) What are the steps -in order- to configure the (single) (desktop computer) display?
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
I am unable to open .rar file on debian lenny. unrar-free has been installed but it does not open the .rar file. Is there another software i need to install?
I'm trying to get my Intel HM55 GMA HD graphics card to work in Debian Lenny.As the vanilla Xorg didn't have any support for it, I manually compiled the last stable Xorg source (1.7.1 - such a pain) and the Intel driver. But when I try to launch X, I get the following message :
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory) (EE) intel(0) : /dev/agpgart is either not available, or no memory is available for allocation. Please enable agpgart.
Sometimes, I am unable to open the CD drawer whether there's a disc in it or not. I have a Dell laptop which gives me approx 4 methods to open the drawer:
1. Press the eject button on the drawer, 2. Type 'eject' from a command line, 3. Press 'fn + f10' on the keyboard,