Zum Inhalt springen

Bash Scripts: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Vierlex (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 67: Zeile 67:
   chrtsetup -c ubuntu                                  # undo mounts performed to setup the chroot
   chrtsetup -c ubuntu                                  # undo mounts performed to setup the chroot
   chrtsetup -pe ubuntu                                  # mount, enter but do not clean up after
   chrtsetup -pe ubuntu                                  # mount, enter but do not clean up after
   chrtsetup -y localhost:0.0 --run="xterm" ubuntu      # configure the xsession and start xterm inside the chroot
   chrtsetup -x localhost:0.0 --run="xterm" ubuntu      # configure the xsession and start xterm inside the chroot
EOF
EOF


Zeile 114: Zeile 114:
     export DISPLAY=$1  
     export DISPLAY=$1  
     xhost +localhost
     xhost +localhost
     [ $Y ] && /usr/local/bin/wmname LG3D
     [ $Y ] && wmname LG3D
}
}


Zeile 196: Zeile 196:


[[Kategorie:CLI]]
[[Kategorie:CLI]]
[[Kategorie:Howto]]