Not exactly. Ubuntu made some changes to the core init system a while
back so now we are in this fragmented place where different distros
accomplish the same task through very different means.
Setting up the TTY is handled by the Init system. Most modern systems
set up multiple virtual terminals ( 'VT' or TTY) and as a convention,
VT7 is reserved for use by X. It doesn't have to be 7, and many
graphical distros reserve both 7 and 8 in order to provide both a
graphical login and the actual desktop. This is nothing more than a
configuration option set by the distro (in your case ubuntu). Init
systems can typically be configured for either server or desktop use
cases but that is up to the distro.
All of the advice you've received thus far has been from users of
traditional Init based distros. Ubuntu doesn't use init and instead
relies on systemd to bring up the system. You should adjust your search
terms to look for configuration options for systemd. I don't know how
much documentation the systemd community provides for this, but it lands
firmly within their jurisdiction and is not unique to ubuntu.
It sounds like most people here are savvy with init (and not systemd) so
a good search query for the internet might be something like "systemd
configure VT1".
Because systemd is a much more recent part of the linux infrastructure,
you will have a harder time finding documentation for fringe use cases
such as yours. I'm curious to know if what you are trying to do is even
possible with systemd. As some have already mentioned your task is
trivial with a sysv init system.
-Ben
On 8/31/20 12:32 PM, Chuck Hast wrote:
So I guess some gui gooo seeped into the server goo....
Did not think that would matter for a server that has no
graphics but I guess there is always the possibility that
someone would install it, so I guess that is why it is left
that way?
On Mon, Aug 31, 2020 at 2:04 PM Tomas Kuchta <[email protected]>
wrote:
There is no tty7 because that is reserved for graphics/X/Wayland terminal.
So, tty6 is typically the last terminal available to user.
Tomas
On Mon, Aug 31, 2020, 10:45 Chuck Hast <[email protected]> wrote:
had to move it to tty6 for some reason tty7 did not stick. I think
there must be somewhere that defines how many tty there are
on the machine, I am trying to remember where I saw it.
On Mon, Aug 31, 2020 at 10:23 AM Chuck Hast <[email protected]> wrote:
Oh yeah, I did NOT do the Hollywood thing...
On Mon, Aug 31, 2020 at 10:19 AM Chuck Hast <[email protected]> wrote:
Thank you guys, that did it. every other search sent me down
paths to deal with the GUI type terminal... Now I have HTOP
but it is on tty7 where I wanted it in the first place. Just swapped
the 1 for a 7 and off it went.
On Mon, Aug 31, 2020 at 8:10 AM David Bridges <[email protected]>
wrote:
The very first hit for me when searching for the terms below on
duckduckgo more than likely has the information you need since it has
information for Ubuntu and also information for systems using init or
systemd.
start htop on tty on boot
As with most things there are more than one way to do this.
On Sun, 2020-08-30 at 22:31 -0500, Chuck Hast wrote:
Well went against the wall on that one. No inittab... Shows
you how much I have looked there lately.
Not sure now where to do the work on the console, has
to be in there.
On Sun, Aug 30, 2020 at 9:43 PM Chuck Hast <[email protected]>
wrote:
OK, I will go through all of it, has been a long time, did that
sort of thing when we set up amateur radio packet switches,
had a screen that brought up the switch info. That has been
a LOT of years ago. moved to SW WA in 2012, I think I did
the last packet radio sw setup back 3-4 years before that.
Yes, it is Ubuntu server and it is systemd... I will look for the
config file.
On Sun, Aug 30, 2020 at 2:47 PM King Beowulf <
[email protected]
wrote:
On 8/30/20 8:10 AM, Chuck Hast wrote:
That finished nailing it. I am going to work on it this
afternoon, but
that data brought it all back. Funny, my searches all brought
up
doing this in a terminal screen in the GUI, command line only
gets
no respect...
On Sun, Aug 30, 2020 at 3:20 AM Tom <
[email protected]
wrote:
On Fri, 28 Aug 2020 18:41:20 -0500
Chuck Hast <[email protected]> wrote:
There that brought a bunch of stuff back (old sux) and I
started seeing light flashes, as I knew I had done it in
the
past but just could not remember how.
This is a server box so there is no X on it. I will
take a
look at screen/tmux, and see how that does. Thank you
very much.
Hi there. Just place where you see /sbin/agetty in
/etc/inittab with
the path to the program you want to launch instead. like
/usr/bin/top
Be aware you will need more that just replacing agetty command
in
inittab. If you do not and stdout and stdin redirects, you
will
not
have keyboard functionality. See my original post to this
thread.
-Ed
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
--
Chuck Hast -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
--
Chuck Hast -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
--
Chuck Hast -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
--
Chuck Hast -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug