How to boot EasyOS to TTY?
Hello. I have to turn off distractions, that's why it's important for me that the graphical interface doesn't load automatically. How do I boot to TTY in EasyOS?
Discussion, talk and tips
https://forum.puppylinux.com/
Hello. I have to turn off distractions, that's why it's important for me that the graphical interface doesn't load automatically. How do I boot to TTY in EasyOS?
select 1 at the first pause after the bootloader runs
Or in the menu:
"Shutdown -> Rectify -> Reboot to commandline"
Sorry. What I mean is that it defaults to booting to TTY. Is this possible?
antithesis wrote: Mon Jun 05, 2023 11:30 amSorry. What I mean is that it defaults to booting to TTY. Is this possible?
I am sure there is an edit you can make to make it the default, but I am not sure the best place.
Easy, and Puppy for that matter, are optimized for the desktop and thus working from tty would at best need a few tweaks to be a pleasant way to access your shell.
If you look in /root/.profile, if /root/bootcnt.txt exists then X will not start.
This mechanism comes from the Puppy days. It has this code:
Code: Select all
if [ -f /root/bootcnt.txt ];then #161009 created by /usr/bin/wmreboot
mv -f /root/bootcnt.txt /tmp/bootcnt.txt
echo 'Type "xwin" to start X server'
fi
...so you could comment-out that mv
Note, when you select "Reboot to commandline" in the menu, /usr/bin/wmreboot runs and does this:
Code: Select all
[ "${1}" == "nox" ] && touch /root/bootcnt.txt #161009 see /root/.profile at bootup.
That's very straightforward. Thanks for the help, guys.