Skip to content

Scaleable login screen

matt335672 edited this page Sep 6, 2022 · 1 revision

Description

Version of xrdp after the v0.9.x series contain some support for scaling the login screen for high resolution monitors.

Screenshots

Here is a screenshot of the login screen at the time of writing on a normal screen:-

image

Here is a screenshot of the same login screen on a higher DPI screen:-

image

How does it work?

When the connection is made to xrdp, the monitor for the login screen is determined. The DPI for the monitor is calculated, and this value is used to scan the fv1_select field in xrdp.ini to locate a font for the login screen.

The selected font is loaded, and the body size of the font glyphs (relative to the sans10.fv1 font) is used to scale the login screen from the parameters given in xrdp.ini.

Questions

Why isn't my login box scaling?

The scaling logic requires the RDP client to send over the physical size of the monitor used for the login screen. This is normally only done for a full-screen or multi-monitor session. If you use a custom session size this information is not available, and a DPI is assumed from the xrdp.ini parameter default_dpi.

I want an even bigger login box. What can I do?

This version of xrdp comes with a utility xrdp-mkfv1 which can be used to make a font as large as you like. Once you have done this, you can provide a setting for fv1_select which will load your font.

I want to use a custom font on the login box. What can I do?

See the answer to the previous question.

Clone this wiki locally