Wine doesn't start - Something X-Related

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dramaturg76
Newbie
Newbie
Posts: 3
Joined: Wed Oct 05, 2011 8:11 am

Wine doesn't start - Something X-Related

Post by dramaturg76 »

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: Select all

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?
ischou
Level 4
Level 4
Posts: 109
Joined: Sun Nov 28, 2010 7:22 pm

Re: Wine doesn't start - Something X-Related

Post by ischou »

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: Select all

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.
Martin Gregorie

Wine doesn't start - Something X-Related

Post by Martin Gregorie »

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
dramaturg76
Newbie
Newbie
Posts: 3
Joined: Wed Oct 05, 2011 8:11 am

Post by dramaturg76 »

Thanks for the hint, but the PC I use to connect is Windows =( I use Ubuntu only at home.

The issue is, that after that Wine won't start if I run $wine - following error:

Code: Select all

Ubuntu-1104-natty-64-minimal:~$ wine
Warning: there are some errors in winediag output. Run winediag command and check it.
ERROR: Your WINE dir (/home/Stas/.wine) is obsoleted. It can cause some problems.
It is recommended to rename (remove) old /home/Stas/.wine and set new WINE environment.
dramaturg76
Newbie
Newbie
Posts: 3
Joined: Wed Oct 05, 2011 8:11 am

solved

Post by dramaturg76 »

Hey all - so I solved the issue after trial and error:

First you have to make sure you are up to date. I assume you have root privileges:

Code: Select all

 vi /etc/X11/xorg.conf
Insert:

Code: Select all

Section "Device"
 Identifier "Configured Video Device"
Driver  "vesa"
 Option  "NoDDC"
 Option  "IgnoreEDID" "true"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
 Modeline "1280x1024" 108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
 Option  "ConnectedMonitor" "LCD"
 Option  "PreferredMode" "1280x1024"
 Horizsync 31.00-81.00
 Vertrefresh 56.00-75.00
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor  "Configured Monitor"
  SubSection "Display"
   Depth 24
   Modes "1280x1024"
  EndSubSection
 Device  "Configured Video Device"
EndSection
Close and reboot. Now in the User-Profile

Code: Select all

 rm -rf ./.wine/
wine
Now wine should work. At least does for me on a clean Ubuntu 64bit 11.04.[/quote]
Martin Gregorie

Wine doesn't start - Something X-Related

Post by Martin Gregorie »

On Wed, 2011-10-05 at 13:06 -0500, dramaturg76 wrote:
Thanks for the hint, but the PC I use to connect is Windows =( I use
Ubuntu only at home.

The issue is, that after that Wine won't start if I run $wine -
following error:
People have suggested it might be a VNC problem. If Wine is running it
correctly through the local screen & keyboard on the Linux box, try
running an X-server under Windows. Both paid-for:

Exceed http://connectivity.opentext.com/produc ... ducts.aspx

and OSS:

Cygwin/X http://x.cygwin.com
Xming http://www.straightrunning.com/XmingNotes/
XWinLogon http://www.calcmaster.net/visual-c++/xwinlogon/

are available.

I've used Exceed, though quite a while ago, and haven't used any of the
others, but I can say that Cygwin is generally well regarded - at least
its tool kit for providing a Unix/Linux shell and programs on a Windows
box is. Think of Cygwin as Wine in reverse.

Martin

Code:
Ubuntu-1104-natty-64-minimal:~$ wine
Warning: there are some errors in winediag output. Run winediag command and check it.
ERROR: Your WINE dir (/home/Stas/.wine) is obsoleted. It can cause some problems.
It is recommended to rename (remove) old /home/Stas/.wine and set new WINE environment.





User avatar
KenSharp
Level 4
Level 4
Posts: 156
Joined: Mon Jul 13, 2009 8:52 pm

Post by KenSharp »

I'm pretty sure there is a free Windows app that allows X forwarding. Probably PuTTY?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Wine doesn't start - Something X-Related

Post by jjmckenzie »

On 10/22/11 10:44 AM, KenSharp wrote:
I'm pretty sure there is a free Windows app that allows X forwarding. Probably PuTTY?
PuTTY does support X forwarding in the SSH session. X client software
for Windows is not free (at least any I have found that is good enough
to use on a daily basis.)

James
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine doesn't start - Something X-Related

Post by vitamin »

jjmckenzie wrote:On 10/22/11 10:44 AM, KenSharp wrote:
I'm pretty sure there is a free Windows app that allows X forwarding. Probably PuTTY?
PuTTY does support X forwarding in the SSH session. X client software
for Windows is not free (at least any I have found that is good enough
to use on a daily basis.)
Cygwin works for most applications. But it does have issues...

If you really need real *NIX environment - use virtual machine. Works the best.
User avatar
KenSharp
Level 4
Level 4
Posts: 156
Joined: Mon Jul 13, 2009 8:52 pm

Re: Wine doesn't start - Something X-Related

Post by KenSharp »

jjmckenzie wrote:PuTTY does support X forwarding in the SSH session. X client software
for Windows is not free (at least any I have found that is good enough
to use on a daily basis.)

James
My ex used to use free software to forward an X session for her university. I just can't remember what it was! :(
Locked