in Systemd target (graphical) -
xrandr --output HDMI-1 --off is turning off the hdmi and the monitor is showing no signal detected, its working perfectly
in target(multi-user) -
xrandr --output HDMI-1 --off is showing cantopen display, which is no suprise , given xserver is not running.
I want to ask that is there any method via sys or anything else to turn off the hdmi output in systemd target (multi-user)?
turn hdmi port off
-
- Posts: 43
- Joined: Tue Apr 24, 2018 1:14 pm
- languages_spoken: english
- ODROIDs: ODROID-XU4
- Has thanked: 0
- Been thanked: 1 time
- Contact:
turn hdmi port off
- These users thanked the author Indranil Sarkar for the post:
- wcairns (Tue Aug 27, 2019 1:03 am)
-
- Posts: 1500
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 167 times
- Been thanked: 194 times
- Contact:
Re: turn hdmi port off
Hi Indranil Sarkar,Indranil Sarkar wrote: ↑Mon Aug 26, 2019 7:52 pmin target(multi-user) -
xrandr --output HDMI-1 --off is showing cantopen display, which is no suprise , given xserver is not running.
I want to ask that is there any method via sys or anything else to turn off the hdmi output in systemd target (multi-user)?
I use the following method to control display using xrandr via serial console.
First, log in with user id "odroid"
Code: Select all
$ xrandr
Can't open display
$ export DISPLAY=:0
$ xrandr
Screen 0: minimum 320 x 200, current 320 x 200, maximum 4096 x 4096
HDMI-1 connected primary
1920x1080 60.00 50.00
1920x1080i 60.00 50.00
.....
.....
$ xrandr --output HDMI-1 --off
(then, my hdmi monitor turns off)

Who is online
Users browsing this forum: No registered users and 1 guest