|  | @@ -1102,6 +1102,8 @@ function configure_user_interface {
 | 
	
		
			
			| 1102 | 1102 |  		echo 'ExecStart=' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
 | 
	
		
			
			| 1103 | 1103 |  		echo 'ExecStart=-/sbin/agetty --autologin fbone --noclear %I $TERM' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
 | 
	
		
			
			| 1104 | 1104 |  
 | 
	
		
			
			|  | 1105 | +		echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx' >> $rootdir/home/$MY_USERNAME/.profile
 | 
	
		
			
			|  | 1106 | +
 | 
	
		
			
			| 1105 | 1107 |  		# change the desktop background
 | 
	
		
			
			| 1106 | 1108 |  		if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
 | 
	
		
			
			| 1107 | 1109 |  			if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
 |