I NEED START WINE WITHOUT DISPLAY

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bfharreguy
Level 2
Level 2
Posts: 16
Joined: Thu Jun 19, 2008 3:30 pm

I NEED START WINE WITHOUT DISPLAY

Post by bfharreguy »

Hi!!
I look for wine execute without display but i don't make solution, for any appies wine need display, i have a ubuntu server, but this is not execute, server x, in this server i can't execute wine because this is no Display
"Make sure that your X server is running and that $DISPLAY is set correctly."

How to execute a application with wine without display

bye
Dutchy
Level 1
Level 1
Posts: 8
Joined: Wed May 28, 2008 7:32 am

I NEED START WINE WITHOUT DISPLAY

Post by Dutchy »

Why do you want to run wine without a display?

On Thu, Jun 19, 2008 at 10:52 PM, bfharreguy <[email protected]> wrote:
Hi!!
I look for wine execute without display but i don't make solution, for any appies wine need display, i have a ubuntu server, but this is not execute, server x, in this server i can't execute wine because this is no Display
"Make sure that your X server is running and that $DISPLAY is set correctly."

How to execute a application with wine without display

bye




bfharreguy
Level 2
Level 2
Posts: 16
Joined: Thu Jun 19, 2008 3:30 pm

Post by bfharreguy »

i execute universal share downloader, this program can use with web interface, and i don't need display!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: I NEED START WINE WITHOUT DISPLAY

Post by vitamin »

bfharreguy wrote:Hi!!
I look for wine execute without display but i don't make solution, for any appies wine need display, i have a ubuntu server, but this is not execute, server x, in this server i can't execute wine because this is no Display
"Make sure that your X server is running and that $DISPLAY is set correctly."

How to execute a application with wine without display

bye
If you get that message that means something (program or Wine itself) needs to create window. And Wine can not create window without a display.

You can always use things like NX X server which is "virtual" X display. But there is nothing you can do with Wine - it have to have the display to run your program.
bfharreguy
Level 2
Level 2
Posts: 16
Joined: Thu Jun 19, 2008 3:30 pm

Post by bfharreguy »

But what happend with Xvfb or any virtual x-server
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

bfharreguy wrote:But what happend with Xvfb or any virtual x-server
That's what NX X server is.
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

vitamin wrote:
bfharreguy wrote:But what happend with Xvfb or any virtual x-server
That's what NX X server is.
Hey vitamin,
no need to use NX X server at all...

Im actually on a SSH session (without X) and running wine. Hint :

[syl@wine windows]$ set |grep DISPLAY
[syl@wine windows]$ wine cmd
CMD version 1.0-rc4

C:\windows>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

I NEED START WINE WITHOUT DISPLAY

Post by austin987 »

On Fri, Jun 20, 2008 at 9:29 AM, Usurp <[email protected]> wrote:
vitamin wrote:
bfharreguy wrote:
But what happend with Xvfb or any virtual x-server
That's what NX X server is.
Hey vitamin,
no need to use NX X server at all...

Im actually on a SSH session (without X) and running wine. Hint :

[syl@wine windows]$ set |grep DISPLAY
[syl@wine windows]$ wine cmd
CMD version 1.0-rc4

C:\windows>





Will work for console apps, but if the app claims to want a GUI (for a
tray icon, for instance), that won't work.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Usurp wrote:
vitamin wrote:
bfharreguy wrote:But what happend with Xvfb or any virtual x-server
That's what NX X server is.
Hey vitamin,
no need to use NX X server at all...

Im actually on a SSH session (without X) and running wine. Hint :

[syl@wine windows]$ set |grep DISPLAY
[syl@wine windows]$ wine cmd
CMD version 1.0-rc4

C:\windows>
Read what I said above. Wine need X if anything tries to create a window. Even invisible windows count. Which means anything using OLE or services...
spastor
Newbie
Newbie
Posts: 1
Joined: Thu Dec 19, 2013 11:03 am

Re: I NEED START WINE WITHOUT DISPLAY

Post by spastor »

Hi all,

I know that this is an old post. Just wanted to note that I had a similar problem running makensis.exe with WINE (yes, I am completely aware of the existence of a Linux version of the NSIS compiler, but still want to do it with WINE). I fixed it by installing "xvfb" and running the following:

xvfb-run wine makensis.exe my_script.nsi
Locked