Skip to content

How to switch getty?

So after reading this article I'm looking to switch from the default agetty to fbgetty for the fact that it has framebuffers which will hopefully allow me to work around a bug where my monitor will cut off the first and last line on the screen as well as the first and last 4 characters or so of any line (it also causes all kinds of graphical glitches in the BIOS setup). This doesn't happen when hooking up to my TV which is the same resolution and refresh rate and X looks fine.

Unfortunately that article doesn't really explain how to actually get fbgetty instead of agetty running on the system. It looks like it probably has something to do with modifying all the getty systemd targets and services but I don't want to just replace all instances of agetty with fbgetty because I'm guessing that will result in breaking the system. Unfortunately this doesn't seem to be a popular modification people make, duckduckgo and google both failed to bring up any relevant results (but a lot of results about getty images and some UCLA professor) so I'm asking for help here.

5 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
59taps

Author

26
posts
98
comments
6
media
View profile

2 comments

probably has something to do with modifying all the getty systemd targets and services

this shouldn't be too many. probably just your already enabled getty@tty1 and if you've got any edit to that. Otherwise you'll be just looking at getty@.service.

systemctl edit getty\@.service

and change your exec line. autovt is just a symlink to that service.

I have not tried this... and,

agetty with fbgetty because I'm guessing that will result in breaking the system.

well if it does break you're right, it will be a pita. I'd have a way to get back if anything happens (usb install would be fine), just in case.

But you might just want to experiment first by editing getty@/daemon_reload live and switching to an unspawned tty and seeing what happens. i am not speaking from any experience here....

1 points
unknown author

Deleted before we saved it.

-1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.