How to show login screen on primary display?

Solus 3.99 (Budgie) is running on a notebook connected to my TV via HDMI. The notebook’s lid is always closed and the TV is the only screen I use. I successfully configured Solus to only use the TV as display, and it works well when logged in: everything is displayed on the TV — with the exception of the login screen which is still displayed on the (closed) notebook screen. I can enter my password blindly and after login solus uses the TV screen only just as desired. Is there any way I can make the login screen also appear on the TV screen instead of the closed notebook screen?

Level 1 Asked on March 3, 2018 in General.
Add Comment
1 Answer(s)

I found a solution. In retrospect I should have phrased the question differently, more like “how to change primary display of lightdm in a multi-monitor setup”

It turns out the configuration of the primary monitor inside Solus (after login) doesn’t affect the lightdm login screen.

To change to primary monitor used by lightdm, I added  to 

 /etc/lightdm/lightdm.conf
 

the lines:

 [Seat:*]
display-setup-script=xrandr --output HDMI-3 --primary
 

(I had to create the “lightdm” folder and “lightdm.conf” file)

Of course “HDMI-3” is specific to my setup and can be something different for another  user. Available outputs can be discovered by running  

 xrandr
 
without arguments.

Level 1 Answered on March 3, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.