I am a perhaps never will use 'owner' of wine I have a copy. I am trying to run a program on Linspire and get the error: "Make sure that your X server is running" - which it probably is since I am using a gui. and "and that $DISPLAY is set correctly" could someone please explain to me how is set $DISPLAY correctly? and exactly what is correctly? How do I find this out? Where do I look it up Assume that I am new to Linux - Unix, but somewhat smart. Note to documentation people. Telling someone to adjust their framis without giving any indication of where or what their framis is is quite useless to most people (excluding an exhaulted inner circle of the Geek eleit). Microsoft can get away with that. You can not. thank you
Le Sun, 17 Apr 2005 15:19:31 -0700, Doug Nusbaum a ?crit :> "Make sure that your X server is running" - which it probably is since I > am using a gui. > and "and that $DISPLAY is set correctly" >On desktops DISPLAY value is ":0" (export DISPLAY=:0 before starting the application if you start if from the command line). In fact it is "localhost:0" , first part is the network name of the machine which hist the X server and the second is the X server id (one machine can run multiple X server thouhg on a desktop there is little use to do so). The X startup script initialize this at startup so it is a little weird to see the program failing to find it (this is a thing pretty few people mess with). Again if running form the commandline you can check it is properly set by: $ echo $DISPLAY My guess are the problem is something else. Feel free to reask with more of the log from the program, the program name if one can download it, the version of wine (wine --version) you use ... Cheers Alban
--- Doug Nusbaum <Dpaladin@ix.netcom.com> wrote:> I am a perhaps never will use 'owner' of wine I > have a copy. I am > trying to run a program on Linspire and get the > error: > > "Make sure that your X server is running" - which it > probably is since I > am using a gui. > and "and that $DISPLAY is set correctly" > > could someone please explain to me how is set > $DISPLAY correctly? > and exactly what is correctly? How do I find this > out? Where do I > look it up > > Assume that I am new to Linux - Unix, but somewhat > smart. > > Note to documentation people. Telling someone to > adjust their framis > without giving any indication of where or what their > framis is is quite > useless to most people (excluding an exhaulted inner > circle of the Geek > eleit). Microsoft can get away with that. You can > not. > > thank youMorpheus: You take the blue pill and the story ends. You wake in your bed and believe whatever you want to believe. You take the red pill, and you stay in Wonderland, and I show you how deep the rabbit-hole goes. Remember -- all I am offering is the truth, nothing more. __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
Am So, Apr 17, 2005 at 03:19:31 -0700 schrieb Doug Nusbaum:> "Make sure that your X server is running" - which it probably is since I > am using a gui. > and "and that $DISPLAY is set correctly" > > could someone please explain to me how is set $DISPLAY correctly? > and exactly what is correctly? How do I find this out? Where do I > look it upDISPLAY is a variable that tells your system where to show the program you are starting. As X11 is network capable on it's own, you can tell every program where to put it's output. So if you set DISPLAY in a terminal and start a program from there it will be displayed according to the setting of the variable. To show you the value use echo $DISPLAY To set it use e.g. export DISPLAY="computer:0.0" where "computer" should be replaced with your IP or can be omitted if you are sitting in front of this computer. :0.0 tells it which display to use as there can be many of them on one machine. Because of security reasons it could be that you have to add an xhost +localhost to set a program use the display. Note that all of this should not be needed if you log into X11 and start a console from there (like konsole with KDE) as you environment should be set to the right DISPLAY. So if you get your error message it is likely that you try to run a program e.g. as root while being logged in as different user (who because of this is the owner of the terminal).> Note to documentation people. Telling someone to adjust their framis > without giving any indication of where or what their framis is is quite > useless to most people (excluding an exhaulted inner circle of the Geek > eleit). Microsoft can get away with that. You can not.As you can see from the above it is not done with: set your DISPLAY to "hello" and everything works fine. And if you are more familiar with Linux you will know what to do with such an error message. And by the way: Windows error messages are not really known to be very comprehensive or helpful, aren't they? ;-) Regards Joachim von Thadden -- "Never touch a running system! Never run a touching system? Never run a touchy system!!!"
Am Mo, Apr 18, 2005 at 06:29:47 -0700 schrieb Doug Nusbaum:> Wine does not allow a user to run as root. - at least my version does > not, and there is only one other userThis is distribution specific. Your distribution does the right thing.> >As you can see from the above it is not done with: set your DISPLAY to > >"hello" and everything works fine. And if you are more familiar with > >Linux you will know what to do with such an error message. And by the > >way: Windows error messages are not really known to be very > >comprehensive or helpful, aren't they? ;-) > > > No, but being the 8000 pound gorilla, they can pretty much do whatever > they want.That's definitely and sadly true! Regards Joachim von Thadden -- "Never touch a running system! Never run a touching system? Never run a touchy system!!!"