ttydrv, was: re: Is it possible to call DLL functions from a Linux program?

Uwe Bonnes bon at
Mon Apr 14 08:00:24 CDT 2003

>>>>> "Vincent" == Vincent B,Ai(Bron <vberon at> writes:

    Vincent> Le lun 14/04/2003 ,b`(B 07:35, Uwe Bonnes a ,bi(Bcrit :
    >> >>>>> "Vincent" == Vincent B,bi(Bron <vberon at>
    >> writes:
    Vincent> I know for sure that even without X loaded (telinit 3 or ssh
    Vincent> w/o X), it's possible to use commandline Windows programs, with
    Vincent> either x11drv or ttydrv specified in the config.
    Vincent> Eg, "wine -- p3_corr.exe p3_1.ent p3_1.sor" works fine through
    Vincent> ssh.
    >>  Vincent,
    >> I am quite sure that x11drv and an unset DISPLAY variable don't
    >> work. I submitted a patch to fall back to ttydrv yesterday.

    Vincent> Hmmm... This here seems to say the opposite (or if there's
    Vincent> something obvious I missed, please point it to me):

    Vincent> [vincent at papineau3 correcteur]$ set [..]
    Vincent> BASH_VERSION='2.05b.0(1)-release' COLORS=/etc/DIR_COLORS
    Vincent> [..]  [vincent at papineau3 correcteur]$ grep -C 2 ttydrv
    Vincent> ~/.wine/config [vincent at papineau3 correcteur]$ grep -C 2 x11drv
    Vincent> ~/.wine/config "Path" =
    Vincent> "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\" "Profile"
    Vincent> = "c:\\windows\\Profiles\\Administrator" "GraphicsDriver" =
    Vincent> "x11drv" ;"ShowDirSymlinks" = "1" ;"ShowDotFiles" = "1" [..]
    Vincent> [vincent at papineau3 correcteur]$ wine -- p3_corr.exe p3_1.ent
    Vincent> p3_1.sor 2 [vincent at papineau3 correcteur]$

Are you sure that you don't have a Wine-server running in the background,
perhaps because you started the wineserver explicit in the background or
because there is another wine process running or there is a crashed wine
process stuck?

But for me with even another wine-process in the background and with xst
expilicit a CUI application:
> setenv XILINX l:\\webpack-5.2
hertz:~/work/projekte/alice/pasa-astf/fpga/pasamain> unsetenv DISPLAY
hertz:~/work/projekte/alice/pasa-astf/fpga/pasamain> /spare/bon/wine/wine -- /spare/bon/webpack-5.2/bin/nt/xst -quiet -ifn __projnav/pasamain.xst -ofn pasamain.syr
x11drv: Can't open display: 

Uwe Bonnes                bon at

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list