Created
December 16, 2014 10:01
-
-
Save NikoWoot/53a04fccaf7372fef5e6 to your computer and use it in GitHub Desktop.
Launch virtualbox in other graphical terminal (vty)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# FIXME : Lancement via la commande sudo, lance virtualbox en tant que Root (donc ne pas marche pas) | |
# FIXME : sudo X, bug parfois et plante le terminal (fonctionne avec un sudo avant) | |
sudo X :3 -ac -terminate & # Lance sur un nouveau serveur X affichage 3 | |
sleep 2 # Attend 2 secondes que le serveur soit prêt | |
DISPLAY=:3 virtualbox --startvm $1 --fullscreen # Lance l'application dans une autre Xsession |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment