Running wine as a server

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
thomasphansen
Newbie
Newbie
Posts: 2
Joined: Thu Sep 29, 2011 3:47 pm

Running wine as a server

Post by thomasphansen »

Hello, I'm new to this forum, but have been using wine for a long time.

Is there a way of running wine as a server, so that many linux users could run instances of the same application without the need of running several instances of wine?

My scenario is:

I've got a linux machine working as a server for 14 thin clients. Each client runs (as different users, via ssh -X -C) a windows application through wine. It's working rather well, except that the application takes a long time to start. I understand that this happens because each time a client starts the application, a new instance of wineserver is started, and as soon as the client disconnects, this wineserver goes down. I've thinked about using the "-p" option to start wineserver, but I'd need to start 14 wineservers (one for each user), which would blow up my server (actually, only 3 clients are allowed to connect simultaneously, so running 14 wineservers dry out all my memory).

What I would like is: all my instances of my application connecting to a single wineserver, and each instance running as a different user.

Is that possible?

Thanks, guys!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Running wine as a server

Post by vitamin »

thomasphansen wrote:Is there a way of running wine as a server, so that many linux users could run instances of the same application without the need of running several instances of wine?
No, this is not currently possible. Wine is a single user application. It does not support sharing of the same instance by multiple users. Let alone multiple simultaneous users.
thomasphansen
Newbie
Newbie
Posts: 2
Joined: Thu Sep 29, 2011 3:47 pm

Re: Running wine as a server

Post by thomasphansen »

vitamin wrote:
thomasphansen wrote:Is there a way of running wine as a server, so that many linux users could run instances of the same application without the need of running several instances of wine?
No, this is not currently possible. Wine is a single user application. It does not support sharing of the same instance by multiple users. Let alone multiple simultaneous users.
Ok, Thank you!
Locked