LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   new to linux...............wine? (https://www.linuxquestions.org/questions/linux-software-2/new-to-linux-wine-239638/)

rj686 10-06-2004 10:05 PM

new to linux...............wine?
 
ok im new to linux (SUSE 9.1) but ive tried to read the tutorials on starting/installing wine i've logged into root and the tutorial i read said to start Sax2 (which is supposed to b my x window er sumthing) but everytime i type the command startx i get this error:

linux:/home/RJ # startx


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


and im not sure what to do from here :-/ im really new to installing programs on linux and if someone could help me id really apreatiate it, Mayb its worth the money to just purchase the SUSE book off their site :-/


oh and i know im a noobie but everyones gotta start sometime

95se 10-06-2004 11:17 PM

Are you already in X? i.e. are you using linux to post this from a GUI? IF so, you've already started X and there is no point in running it again (you can skip the part that tells you to run startx). I think they put that in there just in case your not in X already. Just try using wine for something, or read on. I use cedega, I don't know how similar the command line stuff is to that.

Electro 10-07-2004 12:39 AM

Type "top -bn1". Use CTL+PGUP and CTL+PGDOWN to scroll the console until you see X on the right side. If you do, hit CTL+ALT+F5 or CTL+ALT+F7 (I do not know for SUSE). This will get you back into X. If you see blank than hit CTL+ALT+F1 and login as root or type su. After you login as root type "init 3". This will (should) stop X. Then type "init 5". X will then load up and probably put you in the login manager. After you login, open up konsole, xterm, rxvt, or any terminal program. Type "wine notepad". You should see some things being displayed. After that, WINE should load up notepad. Now you can start pulling some hairs getting other Windows programs to work in WINE. WINE is not for novice Linux users. I suggest taking a few months learning Linux. You will be glad you did because it makes it easier to config WINE.

rj686 10-07-2004 06:24 AM

yes dude i was in x (95se) and i did init 3 and init 5 and i think i did something wrong...........when i just run wine from terminal it doesnt load the graphics driver for some reason, so i just stare at a blank program manager that will do NOTHING lol. ill try to take some time to learn linux but i guess i dont really know where to start....because loading windows games (like starcraft) are high up on my list and a really dont want to pay for cadega


linux:/home/RJ # wine progman
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.
linux:/home/RJ # wine program.exe
wine: cannot find 'program.exe'
linux:/home/RJ # wineprogram.exe
bash: wineprogram.exe: command not found
linux:/home/RJ #

thats teh error i get when i just open up root console and try to run wine




Electro 10-07-2004 03:22 PM

You will have to load X Window Server (startxt) first before you run WINE. Battlenet does not work well with WINE. I still suggest you take some time to learn Linux before doing anything with WINE. Linux is not about running Windows with WINE.

Cadega uses some code from WINE, so you do not need to buy Cadega.

rj686 10-07-2004 03:28 PM

ive tried starting x i get this error

linux:~ # startx


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

and when i run wine i can get in the program manager but this is what Konsole says when i am in it


linux:~ # wine progman
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj
err:x11drv:X11DRV_BITMAP_Pixmap handle (nil) returned no obj



p.s. im sorry im a noob do you have any suggestions on tutorials or something to help me learn linux?

lethal 10-10-2004 01:12 PM

u already in X probably...

hey anyone know where i can get cadega or pointoplay to download?
they site need to register, but i heard about something free if CVS,but all i get is forum links or broke links to documents and nothing more...

mmarshall 10-10-2004 03:40 PM

First of all, AFAIK, you should not use root for running wine. Wine is designed to work as a normal user.

Try just running as a normal user; my guess is that will solve your problems with the X server.

MWM


All times are GMT -5. The time now is 12:06 AM.