"The graphics driver is missing" on headless server via VNC.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dimgel
Newbie
Newbie
Posts: 4
Joined: Tue Feb 02, 2016 12:04 am

"The graphics driver is missing" on headless server via VNC.

Post by dimgel »

Hi all. I'm gentoo user, but I believe this is more wine-specific than gentoo-specific so I'm asking for help here. Have not found anything valuable about my problem on the internet.

I have some windows GUI application I want to run 24/7 and I have gentoo both at home and on dedicated server. I installed TightVNC + LXDE and it works fine (lxterminal and configuration programs). Then I installed wine 1.8, and this is what it gives me:

$ winecfg
err:winediag:nulldrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nulldrv_CreateWindow The graphics driver is missing. Check your build!

This is NOT a first call; when I called it first time, it initialized wineprefix but after that it shown same errors and crashed.

I disabled opengl and xcomposite via USE-flags, but it didn't help; currently `eix wine` shows this:

Installed versions: 1.8 (04:28:02 AM 02/02/2016)(fontconfig gecko jpeg lcms ncurses nls perl png realtime run-exes ssl threads truetype udisks xml -X -alsa -capi -cups -custom-cflags -dos -gphoto2 -gsm -gstreamer -ldap -mono -mp3 -netapi -odbc -openal -opencl -opengl -osmesa -oss -pcap -pipelight -prelink -pulseaudio -s3tc -samba -scanner -selinux -staging -test -v4l -vaapi -xcomposite -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" ELIBC="glibc" LINGUAS="en ru -ar -bg -ca -cs -da -de -el -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl

I also played with VIDEO_CARDS in make.conf: initially was "dummy" (found a couple of discussioins mentioning it), then "dummy intel nouveau radeon vesa via". But after that I realized that I don't need to install xorg-server at all because TightVNC implements its own: Xvnc. After I uninstalled xorg-server and all its dependencies, edits to VIDEO_CARDS caused no package rebuilds, so this setting is irrelevant.

TightVNC is version 1.3.10-r2 (the only one available in main gentoo portage tree); /etc/conf.d/vnc contains VNC_OPTS="-localhost -nolisten tcp". Maybe I should have searched for TightVNC's community and ask this question there but my choice to ask here is due to the fact that LXDE works. :)

Will be greatful for any help.
-- Dmitry
dimgel
Newbie
Newbie
Posts: 4
Joined: Tue Feb 02, 2016 12:04 am

Re: "The graphics driver is missing" on headless server via

Post by dimgel »

UPD. I've got an idea and now installing full-blown xorg-server (with VIDEO_CARDS="dummy") + x11vnc. Maybe this will give more flexibility and more natural operation than TightVNC which is two-in-one Xvnc. Xorg-server already works (I checked running processes in htop; xorg.conf was taken from here: http://gentoo-en.vfose.ru/wiki/X11VNC#H ... figuration ; /etc/conf.d/xdm DISPLAYMANAGER=lxdm with autologin), x11vnc remains (and possibly different client); will report in 1-2 days.
dimgel
Newbie
Newbie
Posts: 4
Joined: Tue Feb 02, 2016 12:04 am

Re: "The graphics driver is missing" on headless server via

Post by dimgel »

Same errors under xorg-server + xf86-video-dummy + x11vnc. :'(
(BTW this redraws much slower than with TightVNC server, I believe this is the downside of x11vnc being separate from X server, and has problems with drawing mouse pointer.)

Any suggestions? Or should I submit bug report somewhere?
dimgel
Newbie
Newbie
Posts: 4
Joined: Tue Feb 02, 2016 12:04 am

Re: "The graphics driver is missing" on headless server via

Post by dimgel »

Ended up with Win7 under VirtualBox. So real Windows works under headless VNC but wine does not.
Locked