The officially official Devuan Forum!

You are not logged in.

#1 2022-10-28 21:42:18

recklessswing
Member
Registered: 2020-12-18
Posts: 31  

[SOLVED] Slim not showing on my main screen, laptop's own screen is broken

I have a laptop, it's own screen has lightning problems. So I use another monitor. But when logging with slim, it shows the login text on the laptop screen, I can barely see that screen. I want that thing shown on the monitor I plugged.

Offline

#2 2022-10-29 00:38:46

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,152  

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

If you go into the display setting, you should be able to set the external monitor to be the primary.

Offline

#3 2022-10-29 06:58:50

berni51
Member
From: Middle of Germany
Registered: 2018-12-20
Posts: 87  
Website

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

Probably calling xrandr in your .xsession or .xinitrc may help.

Here my example on an older Thinkpad T410S:

xrandr --output VGA-1 --primary
xrandr --output LVDS-1 --off

But before simply call xrandr without any parameters, to figure out what the names for your outputs is. In above example VGA-1 is the external monitor and LVDS-1 the laptops own screen.


The good ol' days will not return, and the rocks might smelt and the sea may burn.

Offline

#4 2022-10-29 19:21:48

recklessswing
Member
Registered: 2020-12-18
Posts: 31  

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

fsmithred wrote:

If you go into the display setting, you should be able to set the external monitor to be the primary.

Bro you don't get it. I am talking about login screen... Not the display screen after the login screen.

Offline

#5 2022-10-29 19:23:33

recklessswing
Member
Registered: 2020-12-18
Posts: 31  

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

berni51 wrote:

Probably calling xrandr in your .xsession or .xinitrc may help.

Here my example on an older Thinkpad T410S:

xrandr --output VGA-1 --primary
xrandr --output LVDS-1 --off

But before simply call xrandr without any parameters, to figure out what the names for your outputs is. In above example VGA-1 is the external monitor and LVDS-1 the laptops own screen.

Sadly this didn't work. I want this to work on slim login screen. I assume this .xinitrc is run when login is complete, so it's useless.

Offline

#6 2022-10-29 20:50:55

berni51
Member
From: Middle of Germany
Registered: 2018-12-20
Posts: 87  
Website

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

At first I had to enter name and password blind, then the screen was switched to the corresponding output. Then I enabled in slim.conf the sessionstart_cmd  with the name of an executable script file, where the same xrandr commands are called. Worked fine on my old Thinkpad.


The good ol' days will not return, and the rocks might smelt and the sea may burn.

Offline

#7 2022-10-30 09:42:26

Camtaf
Member
Registered: 2019-11-19
Posts: 245  

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

There are keys at the top of your laptop keyboard which set which monitor is used.

Options are usually internal (laptop), external, or both.


Edit: You could also remove the laptop screen completely if it's broken, I did this on one of mine.

Last edited by Camtaf (2022-10-30 09:44:30)

Offline

#8 2022-10-30 23:17:16

recklessswing
Member
Registered: 2020-12-18
Posts: 31  

Re: [SOLVED] Slim not showing on my main screen, laptop's own screen is broken

berni51 wrote:

At first I had to enter name and password blind, then the screen was switched to the corresponding output. Then I enabled in slim.conf the sessionstart_cmd  with the name of an executable script file, where the same xrandr commands are called. Worked fine on my old Thinkpad.

This would probably work, but can't try. Changed to lightdm already. Works already.

Offline

Board footer