LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2004, 10:05 PM   #1
rj686
Member
 
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83

Rep: Reputation: 15
Talking 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

Last edited by rj686; 10-06-2004 at 10:06 PM.
 
Old 10-06-2004, 11:17 PM   #2
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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.
 
Old 10-07-2004, 12:39 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 10-07-2004, 06:24 AM   #4
rj686
Member
 
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83

Original Poster
Rep: Reputation: 15
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




Last edited by rj686; 10-07-2004 at 06:31 AM.
 
Old 10-07-2004, 03:22 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 10-07-2004, 03:28 PM   #6
rj686
Member
 
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83

Original Poster
Rep: Reputation: 15
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?
 
Old 10-10-2004, 01:12 PM   #7
lethal
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
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...
 
Old 10-10-2004, 03:40 PM   #8
mmarshall
Member
 
Registered: Apr 2004
Location: Bedford, Texas (DFW area)
Distribution: ArchLinux
Posts: 41

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
problems with windows programs in linux (QEMU, WINE, or linux alternative) bulldogzerofive Linux - Software 2 08-18-2005 05:49 PM
Wine And Linux golan69 Linux - Software 1 07-30-2004 09:45 PM
wine on linux 2.4.22 randomx Linux - Software 5 09-22-2003 04:35 PM
WINE for linux desa Linux - Software 2 04-12-2001 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration