Welcome to FreeSoftwareServers Confluence Wiki

The contents of .startxwinrc need to end in "sleep inf", which most older posts don't mention.

See >> https://superuser.com/questions/435768/how-do-i-prevent-cygwins-xwin-server-automatically-starting-xterm

For me to Autostart Virt-Manager via just starting xwin I have the following inside my .startxwinrc file:

cat << 'EOF' > ~/.startxwinrc
export DISPLAY=:0.0
virt-manager
sleep inf
EOF
chmod +x ~/.startxwinrc
  • No labels

1 Comment