wineconsole request x11 driver

Questions about Wine on Linux
Locked
info2000
Newbie
Newbie
Posts: 2
Joined: Sun Aug 11, 2013 7:06 pm

wineconsole request x11 driver

Post by info2000 »

Hi, i compile wine in debian without x and freetype support.
Them, i try to run innosetup compiler in command line mode (iscc.exe) and request x11 drivers

wineconsole ./ISCC.exe myscript.iss
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!

But if i wrote wineconsole --help i get messages referred below, that are incongruents with my compile params

Code: Select all

root@abc:/wine-apps# wineconsole --help

Application tried to create a window, but no driver could be loaded.
The X11 driver is missing.  Check your build!

err:systray:initialize_systray Could not create tray window

err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80
004005

err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
wineconsole: Unrecognised command line option

Usage:
  wineconsole [options] <command>

Options:
  --backend={user|curses}  Choosing user will spawn a new window, curses will
                           try to setup the current terminal as a Wine console.
  <command>                The Wine program to launch in the console.

Example:
  wineconsole cmd
Starts the Wine command prompt in a Wine console.

root@abc:/wine-apps# err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80
004005

err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder

err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80
004005


What i'm doing wrong?
thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wineconsole request x11 driver

Post by dimesio »

The app you are trying to run tried to create a window and couldn't because you compiled Wine without X11 support.
root@abc:/wine-apps# wineconsole --help
Never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root
info2000
Newbie
Newbie
Posts: 2
Joined: Sun Aug 11, 2013 7:06 pm

Re: wineconsole request x11 driver

Post by info2000 »

wineconsole can't tried to create a window, because is the command line tool of wine.
If you see, i'm requesting the help of wineconsole, not run any other app
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wineconsole request x11 driver

Post by dimesio »

wineconsole ./ISCC.exe myscript.iss
Application tried to create a window, but no driver could be loaded.
Your app is trying to create a window. It may be an internal one, but that nonetheless requires X.
http://wiki.winehq.org/FAQ#head-d4e6691 ... 913c4626ad
winspool
Level 2
Level 2
Posts: 19
Joined: Fri Feb 22, 2008 3:39 pm

Re: wineconsole request x11 driver

Post by winspool »

info2000 wrote:Hi, i compile wine in debian without x and freetype support.
> Them, i try to run innosetup compiler in command line mode (iscc.exe) and request x11 drivers
> wineconsole ./ISCC.exe myscript.iss
> Application tried to create a window, but no driver could be loaded.
> The X11 driver is missing. Check your build!
Wine has three options to run apps in command line mode:
  • On the bare linux console (wine)
  • On the linux console with curses (wine wineconsole --backend=curses)
  • In a win32 window (wine wineconsole --backend=user)
For wineconsole, the user backend is the default, that's why your command line tried to open a window.
The linux console should work:

Code: Select all

wine  ./ISCC.exe  myscript.iss
Attention: N E V E R, Never run wine as root

--
Regards, Detlef
Locked