On a terminal as root or with sudo you type:
nano /usr/bin/windowsvm
Then inside nano:
#!/bin/bash
VirtualBox -startvm windowsvm
Where windowsvm you type the name of your virtual machine.
Then:
chmod 755 /usr/bin/windowsvm
And now you create a new xsession:
nano /usr/share/xsessions/windowsvm.desktop
And youpaste thiw:
[Desktop Entry]
Encoding=UTF-8
Name=Seven
Comment=WindowsVM
Exec=/usr/bin/windowsvm
Icon=
Type=Application
Restart sddm and you are ready.
Ξέρω και γαμώ τα Κομπιούτερ ({,})
Original post @ https://www.ihack.gr/2013/03/login-seven-gdmkdm.html