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?
How to boot EasyOS to TTY?
Moderator: BarryK
-
- Posts: 5
- Joined: Wed Dec 22, 2021 9:46 pm
- Been thanked: 1 time
-
- Posts: 5
- Joined: Wed Dec 22, 2021 9:46 pm
- Been thanked: 1 time
Re: How to boot EasyOS to TTY?
Sorry. What I mean is that it defaults to booting to TTY. Is this possible?
-
- Posts: 2042
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 183 times
- Been thanked: 391 times
Re: How to boot EasyOS to TTY?
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.
Re: How to boot EasyOS to TTY?
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.
-
- Posts: 5
- Joined: Wed Dec 22, 2021 9:46 pm
- Been thanked: 1 time