On 9/30/2020 3:23 AM, Thomas Schweikle wrote:
> Tried it. Does not work. X11 is fired up and terminates immediately. I am 
using:
> ~/.startxwinrc:
> #!/bin/bash
> xterm &
> exec sleep infinity
>
> changing "exec sleep infinity" to wait does not change anything. 
"~/.startxwinrc" is mode 0755:
> -rwxr-xr-x  1 sct-muc user     42 30. Sep 09:12 .startxwinrc
>
> And XLaunch is started with:
> C:\cygwin\bin\run.exe /bin/xlaunch -p /usr/bin -run 
/home/sct-muc/.config/XLaunch/config.xlaunch
>
> config.xlaunch holds:
> <?xml version="1.0" encoding="UTF-8"?>
> <XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="True"
>   Display="0" RemoteProtocol="" LocalProgram="xterm" RemoteProgram="xterm"
>   RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False"
>   XDMCPIndirect="False" Clipboard="True" ExtraParams="" Wgl="True"
>   DisableAC="False" XDMCPTerminate="False" SSHKeyChain="False"
>   SSHTerminal="True" ExtraSSH=""/>

My config.xlaunch seems substantially different:

<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="StartProgram" LocalClient="True" Display="0" RemoteProtocol="" LocalProgram=".startxwinrc" RemoteProgram="xterm" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ExtraParams="-unixkill -listen tcp -clipboard -resize -engine 1 -emulate3buttons 100" Wgl="False" DisableAC="True" XDMCPTerminate="False" SSHKeyChain="False" SSHTerminal="True" ExtraSSH=""/>

Note that I set to start the .atartxwinrc program locally.  Also note the
extra parameters to the X server (though certainly not all of those are
relevant, just preferences).

You can also examine your /var/log/xwin/XWin.0.log file for clues.

Regards - Eliot Moss
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to