![]() ![]() Repetier Server can be run on Windows, Linux and Mac OS. Booting will show 4-5 lines which can not be removed.Compatibility with multiple operating systems Then set permissions and activate sudo chmod a+x /etc/init.d/asplashscreen usr/bin/fbi -T 1 -noverbose -a /etc/splash.pngĮcho "Error: argument '$1' not supported" >&2Įcho "Usage: asplashscreen " >&2 # Short-Description: Show custom splashscreenĮcho 0 > /sys/class/graphics/fbcon/cursor_blink It will look something like this: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quietĬreate file /etc/init.d/asplashscreen sudo nano /etc/init.d/asplashscreen #! /bin/sh You can design your own boot screen or use one of us:Īdd “quiet” to the end of the line of /boot/cmdline.txt. If you installed from NOOB installer, your autostart may be /etc/xdg/lxsession/LXDE-pi/autostart instead. Xset s noblank # don't blank the video device Xset -dpms # disable DPMS (Energy Star) features. In case you do not want the screen to blank after a while add to /etc/X11/xinit/xinitrc and /etc/xdg/lxsession/LXDE/autostart the following lines: xset s off # don't activate screensaver In file /etc/rc.local add the following line just in front of the line with “exit 0”. Then mark it as executable: chmod 755 startserver.shĮcho "pi ALL=NOPASSWD: /usr/bin/pkill" > /etc/sudoers.d/pi_pkill Write a script in home directory startserver.sh: #!/bin/bashĮcho "X Server crashed with exit code $?. ![]() In file /etc/inittab look for a line like that: 1:2345:respawn:/sbin/getty -noclear 38400 tty1Ĭomment it with a “#” in front and add the following line after it: 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |