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? |
Quote:
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. |
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.
|
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. |
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. |
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. |
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. |
Same thing happens. Empty directories.
|
That's odd.
After renaming .wine to wine.old and running winecfg, the following is the output or tree .wine: Code:
.wine Code:
$ tree .wine |
Code:
$ tree .wine |
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 |
All times are GMT -5. The time now is 11:04 PM. |