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