0

I'm dualbooting Windows and Suse Linux Professional, I've followed all the steps to install Wine (I think) but when I try to open a windows program through wine in the root console I get the following error:

linux:/home/lxuser # /usr/bin/wine /windows/C/Office10/setup.exe
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

wine: Could not load graphics driver 'x11drv'.
Make sure that your X server is running and that $DISPLAY is set correctly.

why? what's wrong? how can I fix this? any help is greatly appreciated.

Thanks!

2
Contributors
4
Replies
5
Views
13 Years
Discussion Span
Last Post by hexstar
0

Are you running this as root, but logged in as a normal user?

If so, you might want to try entering

xhost +localhost

as a regular user, then try running it. What that command does is allows other users on the system (root, in this instance) to connect to your running X server. It's just one example of when root isn't as all-powerful as everyone wants you to think....

0

Sorry for double posting but I need to bump this topic to get a reply with the following...when I run the suggested command "xhost +localhost" I get the following message:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

What should I do? I desperately need to get Wine to work, I'm using the most recent package (I think) and am running Suse Pro 9.1

Thanks!

0

can't edit my last post for some reason :s ...anyways, I figured it out *yay*, turns out I had to run it in X Terminal under myself instead of the Super User console I was using, so for those of you who are viewing this thread wondering about this error message too, you have to enter the command(s) alc6379 posted in X Terminal under yourself, not in the Super User Console or under root - thanks everyone for your help! :D

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.