Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.