Skip to content

On FreeBSD there are always multiple VTs - #461

Merged
jpeisach merged 1 commit into
ubuntu:mainfrom
madpilot78:FreeBSD_fix_vt_multi_seat
Aug 15, 2026
Merged

On FreeBSD there are always multiple VTs#461
jpeisach merged 1 commit into
ubuntu:mainfrom
madpilot78:FreeBSD_fix_vt_multi_seat

Conversation

@madpilot78

Copy link
Copy Markdown
Contributor

This patch is now required on FreeBSD. Before the vt_can_multi_seat() function was unused, and this was not noticed.

The patch was provided by Tijl Coosemans tijl@FreeBSD.org

@jpeisach

Copy link
Copy Markdown
Collaborator

That's.. it? You don't want to check any files for yourself?

@madpilot78

Copy link
Copy Markdown
Contributor Author

The FreeBSD kernel includes the vt driver by default and that driver is always able to provide multiple ttys.

I'm not even sure if a functional kernel can be built without the vt driver, but such a kernel would not be able to run Xorg or wayland or any king of graphic system anyway.

So, there is little to lookup. If the kernel is able to run Xorg or wayland multiple ttys are a possibility.

The user could configure just one vty, but the driver is anyway able to handle more.

This patch makes polkitd work correctly on FreeBSD, it failed if the function returned false.

@jpeisach

Copy link
Copy Markdown
Collaborator

I'll trust you guys on this. I don't use FreeBSD so.. yeah

@jpeisach
jpeisach merged commit 4785319 into ubuntu:main Aug 15, 2026
2 checks passed
@madpilot78
madpilot78 deleted the FreeBSD_fix_vt_multi_seat branch August 16, 2026 15:55
@jpeisach jpeisach added this to the 1.33.1 milestone Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants