How can I switch cmd screen inside wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Xectali
Newbie
Newbie
Posts: 2
Joined: Thu Mar 07, 2019 1:19 am

How can I switch cmd screen inside wine

Post by Xectali » Thu Mar 07, 2019 1:35 am

I running srcds.exe (CS:GO game server) in wine.

I have the composition like this:
Docker > Wine > srcds.exe
on Ubuntu Server LTS 18.04 .

When normally case, we can operate cmd console just type

Code: Select all

docker attach {name}
But srcds.exe has a characteristic that will running always another screen of new window, when launched srcds.exe.
The SRCDS allocated a new console on and didn't use the stdout/stdin.
Because srcds.exe isn't purely CUI program. Detail: https://forum.facepunch.com/f/nerds/pgp ... cds-exe/1/

So, my question is: How to switch window even though I have no Ubuntu desktop?

User avatar
DarkShadow44
Level 8
Level 8
Posts: 1108
Joined: Tue Nov 22, 2016 5:39 pm

Re: How can I switch cmd screen inside wine

Post by DarkShadow44 » Tue Mar 12, 2019 1:24 pm

No GUI installed and it tries to open a window? That doesn't sound good to me. If that even works properly, did you try a VNC setup already? Just run a vncserver on the docker and connect to it.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2884
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: How can I switch cmd screen inside wine

Post by Bob Wya » Tue Mar 12, 2019 1:56 pm

Xectali wrote:...
But srcds.exe has a characteristic that will running always another screen of new window, when launched srcds.exe.
...
que? :?
That sentence is literally making my head hurt! :cry:

Bob

Gcenx
Level 5
Level 5
Posts: 499
Joined: Mon Dec 25, 2017 12:11 pm

Re: How can I switch cmd screen inside wine

Post by Gcenx » Tue Mar 12, 2019 3:34 pm

Why do you want to use the Windows dedicated server software when Value provide a Linux version

Xectali
Newbie
Newbie
Posts: 2
Joined: Thu Mar 07, 2019 1:19 am

Re: How can I switch cmd screen inside wine

Post by Xectali » Fri Mar 29, 2019 12:48 am

Gcenx wrote:Why do you want to use the Windows dedicated server software when Value provide a Linux version
Because Linux srcds has bad performance, related as threading.

Locked