Menu

#41 let load config.xlaunch with a command line parameter of xlaunch.exe

open
nobody
None
5
2022-05-23
2019-04-08
efa
No

xlaunch.exe generate a config file: config.xlaunch
For next load should be good a command line parameter to reload prev config.
I cannot find documentation of command line parameters for xlaunch.exe

Discussion

  • tischda

    tischda - 2022-05-23

    This works for me:
    "C:\Program Files\VcXsrv\xlaunch.exe" -run C:\usr\etc\config.xlaunch

     
  • efa

    efa - 2022-05-23

    here work with:
    D:\ProgramFiles\VcXsrv\vcxsrv.exe -multiwindow -ac -wgl
    does not work with:
    D:\ProgramFiles\VcXsrv\vcxsrv.exe -multiwindow -ac -wgl -run D:\AMBIENTE\Documents\configVcXsvc.xlaunch
    it open a dialog box with an error (see attach), seems it do not recognize the new argument.

    Is there a command arguments help, so I can avoid doing test & try ?
    thank you

     
  • efa

    efa - 2022-05-23

    the "XWin.log" file say:
    Welcome to the VcXsrv X Server
    Vendor: The VcXsrv Project
    Release: 1.20.9.0

    OS: Windows NT 6.2 build 9200 (64-bit)
    Contact: marha@users.sourceforge.net

    Unrecognized option: -run
    Usage...
    Vcxsrv [:<display>]</display> [option]
    ...

    but follow the usage help.
    -run is not listed.
    What version of VcXsrv are you using?

     
  • efa

    efa - 2022-05-23

    OK, understood. As you sayd, I had to use 'xlaunch.exe' and not 'vcxsrv.exe'.
    Thank you for pointing this out.

     

Log in to post a comment.