Suggestion: Disable X

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Dadas
Newbie
Newbie
Posts: 4
Joined: Tue Apr 05, 2011 7:38 am

Suggestion: Disable X

Post by Dadas »

Hello, i have a little suggestion: something like 'wine --no-x'
It should disable any X output
I need something like this, because i want to run Descent 3 dedicated server, however it creates status window so i can't run it in ssh :(
Thanks
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Suggestion: Disable X

Post by vitamin »

Dadas wrote:Hello, i have a little suggestion: something like 'wine --no-x'
It should disable any X output
No. Wine already runs perfectly fine without X for true console apps.
Dadas wrote:i want to run Descent 3 dedicated server, however it creates status window so i can't run it in ssh
Then it can't run without gui. Most "console only" windows programs are not really 100% console only programs. They still use some gui elements, or use parts of windows that can't work without gui elements.
James McKenzie

Suggestion: Disable X

Post by James McKenzie »

On Tue, Apr 5, 2011 at 5:52 AM, Dadas <[email protected]> wrote:
Hello, i have a little suggestion: something like 'wine --no-x'
It should disable any X output
That is already available, like Vitamin said.
I need something like this, because i want to run Descent 3 dedicated server, however it creates status window so i can't run it in ssh :(
Thanks
Some Windows 'command line' programs are actually real Windows
programs and need to use Windows functions. That is why you see the
'status' window. It is a real Window and thus the program really does
run Windows code. Actual 32 bit 'DOS' programs use NO Windows GUI
code and thus do not 'pop up' any Winodws other than the one you
started the program in.

In other words, you are going to have to remote the X session from
Descent 3. man ssh is your friend here on how to 'blow back' the X
session to your local computer. ssh does have this capability, and if
you are running on a local Linux system, X is already there and ready
to help with displaying remote X. You don't have to have Windows
popping up on the remote server....

James McKenzie
Charles Davis

Suggestion: Disable X

Post by Charles Davis »

On 4/5/11 6:52 AM, Dadas wrote:
Hello, i have a little suggestion: something like 'wine --no-x'
It should disable any X output
I need something like this, because i want to run Descent 3 dedicated server, however it creates status window so i can't run it in ssh :(
Try passing -Y when you run ssh, like so:

ssh -Y <hostname>

Then you should be able to run your Descent 3 server without needing to
disable X.

Chip
Dadas
Newbie
Newbie
Posts: 4
Joined: Tue Apr 05, 2011 7:38 am

Post by Dadas »

i know about it, but then when i close ssh connection, server will end too :(
i already tried nohup and screen, it doesnt work
perryh

Suggestion: Disable X

Post by perryh »

"Dadas" <[email protected]> wrote:
... when i close ssh connection, server will end too :(
i already tried nohup and screen, it doesnt work
It sounds as if what you need is a "null" X server: something
that pretends to be an X display, but actually has no display
hardware and just maintains a (small) memory array which it treats
as a simple frame buffer. I'm no X-pert, but it would not surprise
me at all if the X11 distribution contained something like this,
maybe among the examples or contributed software.
Charles Davis

Suggestion: Disable X

Post by Charles Davis »

On 4/6/11 2:06 AM, [email protected] wrote:
"Dadas" <[email protected]> wrote:
... when i close ssh connection, server will end too :(
i already tried nohup and screen, it doesnt work
It sounds as if what you need is a "null" X server: something
that pretends to be an X display, but actually has no display
hardware and just maintains a (small) memory array which it treats
as a simple frame buffer. I'm no X-pert, but it would not surprise
me at all if the X11 distribution contained something like this,
maybe among the examples or contributed software.
It's called 'Xfake'.

Chip
Dadas
Newbie
Newbie
Posts: 4
Joined: Tue Apr 05, 2011 7:38 am

Post by Dadas »

Yay, that is what i need, where can i download amd64 .deb package or soucre? i googled it and found only rpm's
Jim Hall

Suggestion: Disable X

Post by Jim Hall »

On Sat, Apr 9, 2011 at 2:01 AM, Dadas <[email protected]> wrote:
Yay, that is what i need, where can i download amd64 .deb package or
soucre? i googled it and found only rpm's



You may have to compile from source, convert the rpm (if possible), or use
debian tools to install the rpm (may have dependency issues).

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
fracting
Level 1
Level 1
Posts: 7
Joined: Fri Dec 17, 2010 2:09 am

Suggestion: Disable X

Post by fracting »

Hi Dadas,

On Sat, Apr 9, 2011 at 3:01 PM, Dadas <[email protected]> wrote:
Yay, that is what i need, where can i download amd64 .deb package or
soucre? i googled it and found only rpm's
Would you like to try Xvfb ?
Maybe it is an alternative to Xfake.
http://en.wikipedia.org/wiki/Xvfb

Xvfb is in Ubuntu repository.

--
Regards,
Qian Hong
-
Sent from Ubuntu
http://www.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
Dadas
Newbie
Newbie
Posts: 4
Joined: Tue Apr 05, 2011 7:38 am

xvdm

Post by Dadas »

xvfm works great! thank you guys ;)
James McKenzie

Suggestion: Disable X

Post by James McKenzie »

On Wed, Apr 13, 2011 at 10:39 AM, Dadas <[email protected]> wrote:
xvfm works great! thank you guys ;)
Glad you found a solution.

Maybe this may be a subject for the Wine Wiki. I'll lookup the entire
thread and see what I can fashion out of this thread.

James McKenzie
Locked