Problems with Wine and Steam

OK, so I used this link to get Steam installed using Wine. Went through the install and logged in with what seemed like no issues. The problem I’m having is that I can’t get Steam to re-open after closing it. I’ve tried running the below command with no success:

wine "C:/Program Files/Steam/Steam.exe"

And get “No such file or directory exists” on the return. I’m pretty sure that’s the location that it should have been installed to. Any help would be greatly appreciated.

No one know about this one? Is there some more information that I can provide. I’m just not sure where to start.

The directory is down in the hidden directory .wine, so it should be
something like;

wine "~/.wine/C:/Program Files/Steam/Steam.exe"
cd ~/.wine/C:/Program Files/Steam/
wine steam.exe

Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel
up 22:27, 2 users, load average: 0.05, 0.03, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21

I actually got it figured out. During the install from the link I posted in the original post, you must be su. This creates a ~/.steam directory running the 32-bit environment. Then to launch, you have to also be su, and type

wine "/root/.steam/drive_c/Program Files/Steam/Steam.exe"

If someone knows a better way or could improve on it, please let me know. This wasn’t something I could dig up via Google.

DonJuan692006 wrote:
> to launch, you have to also be su,

maybe that is the right way to do it, but i can tell you i will not be
running _any_thing windoz on my computer as root…no sir, no thank you!

why oh why would it ever be required to run wine as root??

it just sounds like a train wreck waiting to happen!!

CAVEAT: [posted via NNTP w/openSUSE 10.3]

I think this is may not be entirely right. AFAIK you have to launch as su because you installed with root credentials, and your wine directory is created by default in the current user home directory, in this case root. This is a linux thing, not wine. When you run wine “program.exe” the program.exe will be run by the default (admin) windows user, but the wine binary is (and should always be) run as the current user, so that a haywire winapp can’t hose your entire system - in a worst case scenario, of course.

So, I’d try to “install” wine (i.e., run winecfg for the first time) and scripts as your normal user, so that the .wine (or .steam) directory is created under your home directory, not root’s.

Now it is possible the script requires root privileges, but, again, AFAIK there is no good/sane reason to run wine as root.

“No such file or directory exists”

Try skip the “Program Files” folder and install in c:/steam/
Then just run “wine c:/steam/steam.exe” it should work.