diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 8e566f38..10f320d3 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1102,6 +1102,8 @@ function configure_user_interface { echo 'ExecStart=' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf echo 'ExecStart=-/sbin/agetty --autologin fbone --noclear %I $TERM' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf + echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx' >> $rootdir/home/$MY_USERNAME/.profile + # change the desktop background if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then