Can I boot to tty/console only?
-
I know this is probably a long shot. But I was wondering if it was possible to boot UT to console mode only. I think it would be pretty cool to have a standalone handheld terminal device in the form factor of a smartphone. I also realize that if it did work, there would be no on-screen keyboard and I would need to use a wired keyboard. Still want to try it.
Ctrl+Alt+F2-F6 doesn't do anything like it does on other Linux distros. On most Debian builds, I would run sudo systemctl set-default multi-user.target, would that work here?
-
@harrisonpatm What would be the benefit of that instead of launching the terminal app?
-
@ikoz Reduced power usage. Preference for command line. Processor is freed up from serving a GUI, thus can get more done with less resources. Aesthetics, fun, learning. Want to see what UT is capable of, compared to a standard Linux distro
-
@harrisonpatm said in Can I boot to tty/console only?:
can get more done
Such as what? And how would you pick up a phone call?
-
@Moem said in Can I boot to tty/console only?:
And how would you pick up a phone call?
I wouldn't. I should clarify, my interest in UT is the possibility of a fully functional Linux distro in the form factor of a pocketable phone (plus a small keyboard). I don't intend to use the phone/SIM function. It's pretty amazing what we can do with computers today, and I'm appreciative of the great work that has been done with this project.
So, any ideas as to whether this might work?
-
In any case, it seems like it doesn't work "out of the box," so to speak. Running sudo systemctl set-default multi-user.target and rebooting, the phone boots to the Google splash screen (I'm using a Pixel 3A XL), and just stays on the splash screen, screen staying on. With the phone on, I am still able to ssh into it, run sudo systemctl set-default graphical.target, reboot, and Ubuntu Touch boots normally after that.
Any ideas?
-
@harrisonpatm you probably want to try postmarket OS on your device for your particular usecase.
-
@arubislander Considered it, as well as Droidian/Mobian, but UT is really quite good, I like it a lot. I'm only exploring what else I can squeeze out of it, I don't think there's anything wrong with that.
-
@harrisonpatm Nothing wrong with that at all. You just may be largely on your own as most of us are mostly using our phones as phones.
-
@harrisonpatm UT cannot boot to console right now because a framebuffer isn't implemented. If you really want to you can give it a try, but be aware that this will never be supported as it is impractical.
-
@ikoz Thank you, I appreciate it
-
@harrisonpatm said in Can I boot to tty/console only?:
I'm only exploring what else I can squeeze out of it, I don't think there's anything wrong with that.
Indeed, quite so! However, this is not the envisioned usage of the OS. You might be able to get it to boot into a console if you manage to disable the splash screen and also stop lomiri-greeter from launching. But you would need an external wired keyboard to operate the device, unless the Bluetooth service is also started early on.
While it may not be exactly what you asked, you might be interested in a post I wrote on installing LXD and running LXD containers on your UT device.
-
@arubislander said in Can I boot to tty/console only?:
While it may not be exactly what you asked, you might be interested in a post I wrote on installing LXD and running LXD containers on your UT device.
I'll be trying this now, thanks for the advice