Jun 8, 14 4:04am
quoteObviously installing the entire X Server purely for this on the box is highly undesirable. Luckily, it it possible to fool the application into thinking a real display exists by using Xvfb (X Virtual Frame Buffer) to spawn a "display" that performs all graphical operations in memory. This is very handy when we don't care about the actual graphical output and just want the utility to get on with its job and close, which is precisely what mIRCStats does. Go ahead and install that using your preferred method for your distribution. On Debian, Xvfb resides in the stable repository so it's as simple as: apt-get install xvfbdynamite@debian:~/mircstats$ wine mircstats
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
quoteAt least that was the theory. In practice, I encountered the following crash at this point from WINE itself:dynamite@debian:~$ xvfb-run wine /home/dynamite/mircstats/mircstats.exe -l "/home/dynamite/mircstats/*.log" -html "/var/www/services.pwnsu.com/neoseeker.html"
quoteIt seemed to still be having problems spawning the window. It was at this point that I delved into the default mIRCStats Config/settings.cfg file and switched the default starting mode of the application to spawn a tray icon instead of trying to launch a window:wine: Unhandled page fault on read access to 0xfffffffe at address 0x0000:0x7bc4a744 (thread 0009), starting debugger...
Minimized = Tray
Automode = Yes Countdown = No
quoteNote: It is important to enclose the cmdline variables passed to mIRCStats within quotation marks otherwise you may see behavior like the wildcard * not be interpreted correctly.0 * * * * xvfb-run wine /home/dynamite/mircstats/mircstats.exe -l "/home/dynamite/irclogs/pwnsu/*neoseeker*" -html "/var/www/services.pwnsu.com/neoseeker.html" > /dev/null 2>&1