how to turn off monitor in multi user mode

hi,

I have installed opensuse 15.3 on my zbook workstation. I like to run it all day but with monitor turned off. By googling I found vbetool may play the role but the one I found
https://software.opensuse.org/download/package?package=vbetool&project=home%3Atiwai
is not for 15.3, and even I installed it successfully it doesn’t work as expected.

when I follow https://superuser.com/questions/1555396/trouble-with-shutting-down-screen-in-ubuntu-server

and run
vbetool dpms off

it returns
Illegal instruction (core dumped)

Any idea?

Thanks

Moved to Hardware

Try saving the following as /etc/X11/xorg.conf.d/50-monitor-dms.conf:

Section "Monitor"
    Identifier	"DefaultMonitor"
	Option		"DPMS"	"on"
	Option		"BlankTime"  "5"
	Option		"StandbyTime"  "10"
	Option		"SuspendTime"  "15"
	Option		"OffTime"  "20"
EndSection

Adjust times as desired according to man xorg.conf.

Thanks for the help. Unfortunately it doesn’t work. I guess that’s because suse boots to multiuser.target without x.

I tried setterm which doesn’t work either.

Finally I found some workaround from 笔记本当服务器,怎么关闭屏幕?-全球主机交流-非常论坛 33rd thread.

insert into /etc/systemd/logind.conf
HandleLidSwitch=ignore

then
restart systemd-logind.service

After that I can close lid and keep laptop running, the screen goes off.

I prefer this because that can keep the screen and keyboard from dust as well.

For thread completeness, when in multi-user, consoleblank= on kernel command line, with an appropriate number of minutes, should work on computers without lids.