[opensuse] wine without X
On Linux I build packages for a number of platforms. This includes windows. I use the INNO Setup Compiler to make Windows installables. I run it from a Makefile that in turn runs wine. INNO can run in a command line mode designed specifically for doing this type of build on Windows systems. It works equally well on the Linux command line via wine. So far, so good. No problems. Sometimes when I do a build, X is not running. I am setting up a continuous integration system, and there is a good chance that X may not always be available. The problem is that wine insists on a display device. X, for example. If X is not running, I get this error from wine: 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: 85 Current serial number in output stream: 85 I think the exact error is not too important. The point is it wants to access X. However, it will not be making any windows, or need to read from an input device. So I would imagine that some sort of virtual display would suffice. Is it possible to have wine either (1) not try to access a display device, or (2) use some sort of virtual frame buffer that can be set up in a Makefile? Any pointers would be appreciated. (My eventual solution is InstallJammer, where I can define packages once and make them for multiple platforms. Our current Linux installer is an in-house job that uses Tcl/tk. InstallJammer is also Tcl/Tk, so our install scripts can be kept.) -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Apr 01, 2010 at 09:18:33AM +0200, Roger Oberholtzer wrote:
On Linux I build packages for a number of platforms. This includes windows. I use the INNO Setup Compiler to make Windows installables. I run it from a Makefile that in turn runs wine. INNO can run in a command line mode designed specifically for doing this type of build on Windows systems. It works equally well on the Linux command line via wine. So far, so good. No problems.
Sometimes when I do a build, X is not running. I am setting up a continuous integration system, and there is a good chance that X may not always be available. The problem is that wine insists on a display device. X, for example. If X is not running, I get this error from wine:
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: 85 Current serial number in output stream: 85
I think the exact error is not too important. The point is it wants to access X. However, it will not be making any windows, or need to read from an input device. So I would imagine that some sort of virtual display would suffice. Is it possible to have wine either (1) not try to access a display device, or (2) use some sort of virtual frame buffer that can be set up in a Makefile?
Any pointers would be appreciated.
I used the virtual framebuffer X server with Wine successfully: Replace :1 by :x of a free x server slot. Xvfb :1 & export DISPLAY=:1 metacity & # not really necessary wine fooapp.exe Atfer being done just kill the Xvfb. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 01 Apr 2010 08:22:23 Marcus Meissner wrote:
Replace :1 by :x of a free x server slot.
Xvfb :1 & export DISPLAY=:1 metacity & # not really necessary wine fooapp.exe
Atfer being done just kill the Xvfb.
Ciao, Marcus
There's a first time for everything i spose and as far as i know i have changed n othing but now :x in an mail is showing up as a big bright red pair of lips fe cryin out loud whatever next Pete . -- Powered by openSUSE 11.2 Milestone 2 (x86_64) Kernel: 2.6.30-rc6-git3-4- default KDE: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) "release 1" 09:38 up 3 days 23:49, 3 users, load average: 0.03, 0.01, 0.00
On Thu, 2010-04-01 at 09:40 +0100, Peter Nikolic wrote:
On Thursday 01 Apr 2010 08:22:23 Marcus Meissner wrote:
Replace :1 by :x of a free x server slot.
Xvfb :1 & export DISPLAY=:1 metacity & # not really necessary wine fooapp.exe
Atfer being done just kill the Xvfb.
Ciao, Marcus
There's a first time for everything i spose and as far as i know i have changed n othing but now :x in an mail is showing up as a big bright red pair of lips fe cryin out loud whatever next
Which mail reader? You have enabled emoticons, I guess :) :) :)
Pete .
-- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 01 Apr 2010 10:18:04 Roger Oberholtzer wrote:
On Thu, 2010-04-01 at 09:40 +0100, Peter Nikolic wrote:
On Thursday 01 Apr 2010 08:22:23 Marcus Meissner wrote:
Replace :1 by :x of a free x server slot.
Xvfb :1 & export DISPLAY=:1 metacity & # not really necessary wine fooapp.exe
Atfer being done just kill the Xvfb.
Ciao, Marcus
There's a first time for everything i spose and as far as i know i have changed n othing but now :x in an mail is showing up as a big bright red pair of lips fe cryin out loud whatever next
Which mail reader? You have enabled emoticons, I guess :) :) :)
Pete .
Humm culprit found it seems because i am using Kopete to chat with family on facebook it has somehow enabled emoitcons globally ho humm Pete . -- Powered by openSUSE 11.2 Milestone 2 (x86_64) Kernel: 2.6.30-rc6-git3-4- default KDE: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) "release 1" 16:15 up 4 days 6:25, 3 users, load average: 0.51, 0.31, 0.16
On Thu, 2010-04-01 at 16:16 +0100, Peter Nikolic wrote:
Humm culprit found it seems because i am using Kopete to chat with family on facebook it has somehow enabled emoitcons globally ho humm
Kopete can chat with facebook? I have to try this. The browser pop-ups are a PITA... Thanks for the incidental pointer. Any tricks to do this? Or is it something that just works? -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/04/10 08:18, Roger Oberholtzer wrote:
On Thu, 2010-04-01 at 16:16 +0100, Peter Nikolic wrote:
Humm culprit found it seems because i am using Kopete to chat with family on facebook it has somehow enabled emoitcons globally ho humm
Kopete can chat with facebook? I have to try this. The browser pop-ups are a PITA... Thanks for the incidental pointer. Any tricks to do this? Or is it something that just works It used to be that it needed a special plugin (look for kopete-protocol-facebook in KDE:KDE4:Community or KKFD) but just recently Facebook actually converted to using Jabber/XMPP for chat. So any Jabber client can actually do Facebook chat quite well, including Kopete.
Instructions to set up clients are at http://www.facebook.com/sitetour/chat.php Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 08 Apr 2010 08:18:57 Roger Oberholtzer wrote:
On Thu, 2010-04-01 at 16:16 +0100, Peter Nikolic wrote:
Humm culprit found it seems because i am using Kopete to chat with family on facebook it has somehow enabled emoitcons globally ho humm
Kopete can chat with facebook? I have to try this. The browser pop-ups are a PITA... Thanks for the incidental pointer. Any tricks to do this? Or is it something that just works?
yes works very well indeed ,, you need to find you facebook chat name and enter it it will be XXXXXXXXXXXXX@chat.facebook.com and choose the correct connection type if you look on google there is a page dedicated to using Kopete with facebook If you cant find it i will go thru my settings and post them Pete . -- Powered by openSUSE 11.2 Milestone 2 (x86_64) Kernel: 2.6.30-rc6-git3-4- default KDE: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) "release 1" 14:46 up 11 days 4:57, 2 users, load average: 0.74, 0.44, 0.18
On Thu, 2010-04-01 at 09:22 +0200, Marcus Meissner wrote:
I used the virtual framebuffer X server with Wine successfully:
Replace :1 by :x of a free x server slot.
Xvfb :1 & export DISPLAY=:1 metacity & # not really necessary wine fooapp.exe
Atfer being done just kill the Xvfb.
When I see this, I seem to recall having this question long ago. And this answer. Perhaps it is just Deja Vu. Or age... I will see how to fit this in a Makefile rule. Probably an external script wrapper. Thanks
Ciao, Marcus
-- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Marcus Meissner
-
Peter Nikolic
-
Roger Oberholtzer
-
Tejas Guruswamy