[Wine] Wine doesn't start - Something X-Related

Martin Gregorie martin at gregorie.org
Wed Oct 5 10:05:46 CDT 2011


On Wed, 2011-10-05 at 09:18 -0500, ischou wrote:
> dramaturg76 wrote:
> > Hello, 
> > 
> > For work I need a large DB once or twice a month and I installed a Ubuntu-Server 64bit box headless and put the Windows-Software there. I thought that I would VNC into it, when I need it.
> > 
> > But if I run Wine after installation I got this error:
> > 
> > 
> > Code:
> > err:process:__wine_kernel_init boot event wait timed out
> > err:process:__wine_kernel_init boot event wait timed out
> > X Error of failed request:  XF86VidModeExtensionDisabled
> >   Major opcode of failed request:  129 (XFree86-VidModeExtension)
> >   Minor opcode of failed request:  6 (XF86VidModeGetAllModeLines)
> >   Serial number of failed request:  81
> >   Current serial number in output stream:  81
> > err:process:__wine_kernel_init boot event wait timed out
> > X Error of failed request:  XF86VidModeExtensionDisabled
> >   Major opcode of failed request:  129 (XFree86-VidModeExtension)
> >   Minor opcode of failed request:  6 (XF86VidModeGetAllModeLines)
> >   Serial number of failed request:  81
> >   Current serial number in output stream:  81
> > 
> > 
> > 
> > 
> > I really would like to use Wine, but it seems it does not start
> =( Any suggestions?
>
> It seems like some required X11 extension is missing from VNC's X
> server.  
> 
> It looks like wine or your application is requesting "video modes".
> Does the windows program that you're trying to start have some
> specific required color depth or resolution?  If so, you could try to
> start the VNC X server with the need resolution/color depth?
> 
> If you are capable of remote display of X, you could try running
> Xephyr to start an X session instead of VNC, since Xephyr tends
> include more X extensions.
> 
If you're sitting in front of a Linux box and using ssh to login to the
machine where Wine is running, all you have to do is enable X11
forwarding for ssh. To do this:

- edit /etc/ssh/ssh_config on the machine(s) where you'll run the ssh
  client, setting the 'ForwardX11' and 'ForwardX11Trusted' directives
  to "yes" (default is no).

- edit /etc/ssh/sshd_config on the machine where you'll run Wine,
  setting the 'ForwardX11Trusted' directive to "yes" (default is no).

Restart sshd so the configuration change will take effect. Then use ssh
to login to the system where you want to run the Wine app and start it
from the command line. The app's window(s) will pop up on your local
screen. 

I regularly run Wine apps remotely like this.


Martin




More information about the wine-users mailing list