Last active
October 9, 2019 08:54
-
-
Save lassekongo83/c217ed74073522afaa612f322d1e870b to your computer and use it in GitHub Desktop.
.xinitrc for launching GNOME without GDM in VirtualBox
This file contains 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/sh | |
if [ -d /etc/X11/xinit/xinitrc.d ] ; then | |
for f in /etc/X11/xinit/xinitrc.d/?* ; do | |
[ -x "$f" ] && . "$f" | |
done | |
unset f | |
fi | |
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh & | |
/usr/bin/VBoxClient-all & | |
export XDG_SESSION_TYPE=x11 | |
exec gnome-session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment