Command line App within Linux command line?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
skyride
Newbie
Newbie
Posts: 3
Joined: Mon Feb 02, 2009 8:06 pm

Command line App within Linux command line?

Post by skyride »

Hey guys.

I currently run a VPS which I run a couple of game servers on. It is currently running 2x Team Fortress 2 servers under Ubuntu Server 8.10 (no X). However to this list of servers I would like to add a Garrys mod server. If you are not aware, garry's mod is very popular HL2 mod which provides a sandbox style enviroment for the source engine. However due to the laziness of Garry himself, it remains the only source based game which does not have linux binaries. This means that I will need to run the Windows version under Wine.

I am at the stage where the server is fully installed and configured. It runs in command line and using the -Y option in SSH I can run the server and have it work. However as this comes up in the normal Wine CMD window, the server would close as soon as I exit SSH. My problem is this, how could I force the server to run within the normal linux shell version of cmd as opposed to an external window?

Regards, Adam
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Command line App within Linux command line?

Post by austin987 »

On Mon, Feb 2, 2009 at 7:13 PM, skyride <[email protected]> wrote:
Hey guys.

I currently run a VPS which I run a couple of game servers on. It is currently running 2x Team Fortress 2 servers under Ubuntu Server 8.10 (no X). However to this list of servers I would like to add a Garrys mod server. If you are not aware, garry's mod is very popular HL2 mod which provides a sandbox style enviroment for the source engine. However due to the laziness of Garry himself, it remains the only source based game which does not have linux binaries. This means that I will need to run the Windows version under Wine.

I am at the stage where the server is fully installed and configured. It runs in command line and using the -Y option in SSH I can run the server and have it work. However as this comes up in the normal Wine CMD window, the server would close as soon as I exit SSH. My problem is this, how could I force the server to run within the normal linux shell version of cmd as opposed to an external window?

Regards, Adam





When you exit SSH, you're closing that shell. Try using screen to open
a persistent shell, and launch wineconsole under that.

--
-Austin
skyride
Newbie
Newbie
Posts: 3
Joined: Mon Feb 02, 2009 8:06 pm

Post by skyride »

Yes, I know im closing the shell. I use screen for the 2 TF2 servers. My point is that this gmod server insists, regardless of what I do, on opening a new cmd window, the .exe file found in wine and thus needs X to render. Using the -Y command tunnels it to my PC but unless Im wrong (which i really do hope i am) screen can't handle those windows.
skyride
Newbie
Newbie
Posts: 3
Joined: Mon Feb 02, 2009 8:06 pm

Post by skyride »

anyone?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

skyride wrote:anyone?
You have to get virtual X server going on you server.
Locked