LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-18-2006, 12:48 AM   #1
CamelofCamelot
Member
 
Registered: Aug 2003
Distribution: Slackware, ClusterKnoppix, Gentoo
Posts: 85

Rep: Reputation: 15
wine $DISPLAY messed up for starcraft


So I'm trying to install starcraft. I went to frankscorner and found that I should run:

mkdir ~/starcraft
WINEPREFIX="/root/starcraft" wineprefixcreate
mount /dev/cdrom ~/starcraft/drive_c/cdrom
WINEPREFIX="/root/starcraft" wine ~/starcraft/drive_c/cdrom/install.exe

And it gives me this error:

[00:44][root@lappy:~]# WINEPREFIX="/root/starcraft" wine ~/starcraft/drive_c/cdrom/install.exe
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.

I am running this in an xterm with su - root, so I think that may be affecting it, but I can't run it as a user, because it's on my CD. Any ideas?
 
Old 09-18-2006, 02:33 AM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
Quote:
I am running this in an xterm with su - root, so I think that may be affecting it, but I can't run it as a user, because it's on my CD.
Why can't you use the CD as a normal user?

Just mount the CD as root, then get out of su and become the normal user again. Unless you have some strange options in your fstab that makes the files on the CD only readable by their owner (root), you should be able to read the CD as a normal user even though you must be root to mount it.

And, by all means, don't run wine as root! The only thing that root should be used for is system administration.

Last edited by zhangmaike; 09-18-2006 at 02:35 AM.
 
Old 09-18-2006, 04:22 PM   #3
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
Why do you need to be root to mount a CD? Add the 'users' option to the /etc/fstab entry and anyone can mount/unmount it.
 
Old 09-18-2006, 07:50 PM   #4
CamelofCamelot
Member
 
Registered: Aug 2003
Distribution: Slackware, ClusterKnoppix, Gentoo
Posts: 85

Original Poster
Rep: Reputation: 15
Ok, I did that. It still doesn't work.

$ WINEPREFIX="/home/nick/starcraft" wineprefixcreate
wine: Unhandled page fault on write access to 0x003ffd80 at address 0x608d03af (thread 0009), starting debugger...
wine: Unhandled page fault on write access to 0x003ffd80 at address 0x608d53af (thread 000b), starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000b3a3
wine: Unhandled page fault on write access to 0x003ffd80 at address 0x608d53af (thread 000d), starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000b3a3
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000b3a3

Thanks for the tidbit about /etc/fstab though.
 
Old 09-18-2006, 09:39 PM   #5
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
Well, at least the $DISPLAY thing is solved. It's a different problem now.

Have you tried just installing without using wineprefix?

Just run winecfg, make sure everything looks okay in the drives and drivers, and then run wine nameofinstaller.exe from within the directory that nameofinstaller.exe is located.
 
Old 09-18-2006, 10:11 PM   #6
CamelofCamelot
Member
 
Registered: Aug 2003
Distribution: Slackware, ClusterKnoppix, Gentoo
Posts: 85

Original Poster
Rep: Reputation: 15
Ok, now when I run install.exe, it says in a GUI window: No program start menu found

I went onto winehq.com. I followed the instructions specifically for SC, got identical results. Also, I've noticed that my directories in ~/.wine are all empty, or contain empty directories.
 
Old 09-19-2006, 01:30 AM   #7
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
I'm guessing that there are some files/directories that are missing and need to be created, but because ~/.wine exists, wine is not creating them. Rename ~/.wine to something like old.wine, then run winecfg. It should re-create the .wine directory and add all files necessary automatically.

In winecfg, verify/change settings to your liking. After closing winecfg, verify whether ~/.wine has changed, and try your install.
 
Old 09-19-2006, 01:36 AM   #8
CamelofCamelot
Member
 
Registered: Aug 2003
Distribution: Slackware, ClusterKnoppix, Gentoo
Posts: 85

Original Poster
Rep: Reputation: 15
Same thing happens. Empty directories.
 
Old 09-19-2006, 01:39 AM   #9
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
That's odd.

After renaming .wine to wine.old and running winecfg, the following is the output or tree .wine:
Code:
.wine
|-- cachedmetrics.:0.0
|-- dosdevices
|   |-- c: -> ../drive_c
|   `-- z: -> /
|-- drive_c
|   |-- Program Files
|   |   `-- Common Files
|   `-- windows
|       |-- command
|       |   `-- start.exe
|       |-- fonts
|       |-- inf
|       |   `-- wine.inf
|       |-- notepad.exe
|       |-- profiles
|       |   |-- All Users
|       |   |   |-- Application Data
|       |   |   |-- Desktop
|       |   |   |-- Documents
|       |   |   |-- Favorites
|       |   |   |-- Start Menu
|       |   |   |   `-- Programs
|       |   |   |       `-- StartUp
|       |   |   `-- Templates
|       |   `-- zmk
|       |       |-- Application Data
|       |       |-- Cookies
|       |       |-- Desktop -> /home/zmk/Desktop
|       |       |-- Favorites
|       |       |-- Local Settings
|       |       |   |-- Application Data
|       |       |   |-- History
|       |       |   `-- Temporary Internet Files
|       |       |-- My Documents -> /home/zmk
|       |       |-- My Music -> /home/zmk
|       |       |-- My Pictures -> /home/zmk
|       |       |-- My Video -> /home/zmk
|       |       |-- NetHood
|       |       |-- PrintHood
|       |       |-- Recent
|       |       |-- SendTo
|       |       |-- Start Menu
|       |       |   `-- Programs
|       |       |       `-- StartUp
|       |       `-- Templates
|       |-- regedit.exe
|       |-- rundll32.exe
|       |-- system
|       |-- system.ini
|       |-- system32
|       |   |-- advapi32.dll
|       |   |-- advpack.dll
|       |   |-- cmd.exe
|       |   |-- comctl32.dll
|       |   |-- comdlg32.dll
|       |   |-- control.exe
|       |   |-- crypt32.dll
|       |   |-- d3d8.dll
|       |   |-- dbghelp.dll
|       |   |-- ddraw.dll
|       |   |-- drivers
|       |   |-- explorer.exe
|       |   |-- gdi32.dll
|       |   |-- hhctrl.ocx
|       |   |-- imaadp32.acm
|       |   |-- imagehlp.dll
|       |   |-- kernel32.dll
|       |   |-- msadp32.acm
|       |   |-- msg711.acm
|       |   |-- msi.dll
|       |   |-- msiexec.exe
|       |   |-- msvcrt.dll
|       |   |-- notepad.exe
|       |   |-- ntdll.dll
|       |   |-- ole32.dll
|       |   |-- oleaut32.dll
|       |   |-- olepro32.dll
|       |   |-- opengl32.dll
|       |   |-- progman.exe
|       |   |-- regsvr32.exe
|       |   |-- riched20.dll
|       |   |-- riched32.dll
|       |   |-- rpcrt4.dll
|       |   |-- shdocvw.dll
|       |   |-- shell32.dll
|       |   |-- shfolder.dll
|       |   |-- shlwapi.dll
|       |   |-- urlmon.dll
|       |   |-- user32.dll
|       |   |-- version.dll
|       |   |-- wininet.dll
|       |   |-- winmm.dll
|       |   |-- winspool.drv
|       |   |-- winver.exe
|       |   |-- ws2_32.dll
|       |   `-- wsock32.dll
|       |-- temp
|       |-- win.ini
|       |-- winebrowser.exe
|       `-- winhelp.exe
|-- system.reg
|-- user.reg
`-- userdef.reg

45 directories, 58 files
Could you post the output of the same command on your machine?
Code:
$ tree .wine
 
Old 09-19-2006, 05:02 PM   #10
CamelofCamelot
Member
 
Registered: Aug 2003
Distribution: Slackware, ClusterKnoppix, Gentoo
Posts: 85

Original Poster
Rep: Reputation: 15
Code:
$ tree .wine
.wine
|-- cachedmetrics.:0.0
|-- dosdevices
|   |-- a: -> /mnt/floppy
|   |-- c: -> ../drive_c
|   |-- d: -> /home/nick/.wine/drive_d
|   |-- e: -> /mnt/sda2
|   |-- f: -> /mnt/cdrom
|   |-- h: -> /home/nick
|   `-- z: -> /
|-- drive_c
|   `-- windows
|       |-- command
|       |-- fonts
|       |-- inf
|       |   `-- wine.inf
|       |-- profiles
|       |   `-- nick
|       |       |-- Desktop
|       |       |-- My Documents
|       |       |-- My Music
|       |       |-- My Pictures
|       |       `-- My Video
|       |-- system
|       |-- system32
|       |   `-- drivers
|       |-- temp
|       `-- win.ini
|-- drive_d
|   |-- autorun.inf -> /mnt/cdrom/autorun.inf
|   |-- bw.ico -> /mnt/cdrom/bw.ico
|   |-- install.exe -> /mnt/cdrom/install.exe
|   |-- isp -> /mnt/cdrom/isp
|   |-- setup.exe -> /mnt/cdrom/setup.exe
|   |-- smackw32.dll -> /mnt/cdrom/smackw32.dll
|   `-- support -> /mnt/cdrom/support
|-- system.reg
`-- user.reg

25 directories, 12 files
 
Old 09-19-2006, 05:21 PM   #11
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
OK, I'm certain that this is at least part of your problem. You are missing many system files and directories that wine requires to function. wine should be installing them automatically, though.

What version of wine are you using?
Code:
wine --version

Last edited by zhangmaike; 09-19-2006 at 05:25 PM.
 
  


Reply



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
wine and starcraft Zero-0-Effect Linux - Games 3 02-25-2011 04:50 AM
starcraft with wine zexter Linux - Software 15 03-08-2007 07:05 PM
Starcraft in WINE Nebetsu Linux - Games 6 03-08-2007 07:03 PM
Problems running Starcraft with Wine, display and operation. blastradius Linux - Games 0 12-13-2005 12:01 PM

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

All times are GMT -5. The time now is 06:34 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