You are not logged in.

#1 2024-07-08 03:27:38

Xsofito
Member
Registered: 2024-01-29
Posts: 49

[Solved] Xorg virtual monitor using amdgpu virtual monitor

Hi
I'm using my pc using ssh, I usually use it with sunshine and moonlight, so I turn on the computer, wait for it to autostart Xorg and manually turn off the monitor so the light doesn't bothers.
After having to reboot my pc using ssh, the pc rebooted with the monitor turned off, so it's detected as connected but cannot use it to start Xorg.

I'm trying to make a virtual monitor with the virtual_monitor kernel parameter from amdgpu, configure it, and use it to start X and stream sunshine.

Following this reddit post I made:

lspci -D

...
0000:12:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c3)
...
/boot/loader/entries/arch.conf

...
options ... amdgpu.virtual_display=0000:12:00.0,1

Rebooting and checking monitors:

for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done

Virtual-1: connected

So I tried configuring the Xorg display:

/etc/X11/xorg.conf.d/10-headless.conf 

Section "Monitor"
        Identifier "Virtual-1"
        HorizSync 28.0-80.0
        VertRefresh 48.0-75.0
        Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection

Section "Device"
        Identifier "AMDgpu"
        Driver "amdgpu"
        BusID "PCI:12:0:0"
        Screen 0
EndSection

Section "OutputClass"
     Identifier "AMD"
     MatchDriver "amdgpu"
     Driver "amdgpu"
EndSection

Section "Screen"
        Identifier "dummy_screen"
        Device "AMDgpu"
        Monitor "Virtual-1"
        SubSection "Display"
        EndSubSection
EndSection

I know that this conf file probably is wrong, cuz I made it using examples from multiple arch wiki pages and some others I found online.
After this I cannot get xrandr to detect any display, I also tried following the arch wiki headless monitor conf file but I must be missing on something.

Any help is welcome

Last edited by Xsofito (2024-07-10 12:02:53)

Offline

#2 2024-07-08 12:39:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

No idea about the amdgpu parameter.

For clarity: you did install xf86-video-dummy ?

If not, install it then try the file at https://wiki.archlinux.org/title/Xorg#M … figuration .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-07-08 13:34:11

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

I've got the driver installed, but when using the dummy conf file I can start X and sunshine, but the plasma session I usually use doesn't has video output. I even get the message saying that plasma is running in that Xorg session but cannot get video output.
If I open the sunshine stream after starting plasma I only get to see the tty but I certainly know plasma is running.

That's why I was trying to connect the dummy monitor to the graphic card in the previous conf file, to get video output, still not working.

Offline

#4 2024-07-09 11:55:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

The dummy monitor can't be 'attached' to a real gpu as far as I know .

You were close though. It is possible to link an X monitor to a specific output device .
Look up man xorg.conf for "Monitor-outputname"

Try something like

/etc/X11/xorg.conf.d/10-headless-test.conf


Section "Monitor"
        Identifier "My-virtual-amdgpu-output"
        HorizSync 28.0-80.0
        VertRefresh 48.0-75.0
        Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection

Section "OutputClass"
	Identifier	"AMDgpu"
	MatchDriver	"amdgpu"
	Driver		"amdgpu"
	Option		"Monitor-Virtual-1"	"My-virtual-amdgpu-output"
EndSection

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-07-09 12:41:40

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

Section "Monitor"
        Identifier "My-virtual-amdgpu-output"
        HorizSync 28.0-80.0
        VertRefresh 48.0-75.0
        Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection

Section "OutputClass"
	Identifier	"AMDgpu"
	MatchDriver	"amdgpu"
	Driver		"amdgpu"
	Option		"Monitor-Virtual-1"	"My-virtual-amdgpu-output"
EndSection

Section "Screen"
        Identifier "dummy_screen"
        Device "AMDgpu"
        Monitor "Virtual-1"
        SubSection "Display"
        EndSubSection
EndSection

Using this conf I get to see the plasma loading screen, but after loading the process ends with no mayor errors and the server ends it's execution.
I had to add the Screen section otherwise the X server wouldn't even run.

The Xorg log when I manage to saw the plasma loading screen is this.

Last edited by Xsofito (2024-07-09 12:44:25)

Offline

#6 2024-07-09 13:12:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

Check the output of pacman -Qs xf86-video , remove all of it EXCEPT xf86-video-amdgpu .
(The others may not be harmful but do clutter up logs and you don't need them)

In the screen section (which was forgotten by me) replace
Monitor "Virtual-1" with Monitor "My-virtual-amdgpu-output"


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2024-07-09 13:45:34

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

After removing the extra drivers and changing the monitor name in the config Xorg fails to start.
Here's the log: Xorg.0.log

Offline

#8 2024-07-09 14:27:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

The log is truncated and pastebin.com is not very popular here.
See https://wiki.archlinux.org/title/List_o … n_services for alternatives.

63  [ 84962.523] (II) LoadModule: "amdgpu"
   64  [ 84962.523] (WW) Warning, couldn't open module amdgpu
   65  [ 84962.523] (EE) Failed to load module "amdgpu" (module does not exist, 0)

Looks like you did remove xf86-video-amdgpu , please re-install it.

There are also permission errors mentioned, reboot and try again.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2024-07-09 14:39:37

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

My bad for the pastebin log. Thanks for the info.

I reinstalled the video-amdgpu package and rebooted. Still not working but no permission errors on tty are found.

Xorg.0.log

Offline

#10 2024-07-09 14:53:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

[   116.474] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy

[   116.491] (EE) AMDGPU(0): [drm] device is not DRM master.
[   116.491] (II) AMDGPU(1): [KMS] Kernel modesetting enabled.
[   116.491] (EE) AMDGPU(1): [drm] device is not DRM master.

Looks like something goes wrong before X starts.

append systemd.unit=multi-user.target to your boot commandline to ensure nothing graphical is started unless you order it.

Post the output of lspci -k , journalctl -b and your /ect/mkinitcpio.conf .
(second comand needs to be run as root / with root rights) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2024-07-09 15:13:58

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

lspci -k

journalctl -b

/etc/mkinitcpio.conf

MODULES=(amdgpu)
BINARIES=()
FILES=()
HOOKS=(systemd autodetect keyboard keymap modconf block filesystems fsck)

Before running this commands I added the amdgpu module to the initframs following this. The commands and logs in this reply are after adding the module and rebooting. (Still not working)

Offline

#12 2024-07-09 19:43:03

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

The boot goes straight into the graphical.target, but lightdm doesn't show up and also not the amdgpu.virtual_display parameter - also not in the boot for the xorg log!
As for the xorg log, the configs in this thread are bogus on multiple levels (no idea about the "Monitor-Virtual-1" option, I'll have to look this up)

There's a screen section referenceing a Device, but there's a and OutputClass and a Device w/ a wrong BusID (should be "18@0:0:0" or "18:0:0" and it's likely pointless anyway
Remove that, if the kernel parameter adds a fake output, X11 should™ pick it up by itself - then post then updated X11 log.

Offline

#13 2024-07-09 20:05:16

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

lightdm doesn't show up and also not the amdgpu.virtual_display parameter

I do not use lightdm, I autostart X using startx from zsh .zprofile file.
About the amd parameter, I removed it testing some configs files and forgot to add it again, mb.

Here's the journalctl -b output

and the Xorg log

EDIT:
Looking at the journal log I noticed I write wrong the amdgpu virtual_display parameter, so I corrected that, here is the journal without all the "parameter not valid" errors: journalctl -b

Last edited by Xsofito (2024-07-09 21:05:07)

Offline

#14 2024-07-09 21:32:14

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

Sorry, I dragged another thread into this one big_smile

[   250.455] (**) |-->Screen "dummy_screen" (0)

there's still some xorg config around?

[   250.510] (EE) modeset(0): drmSetMaster failed: Permission denied
Jul 09 16:58:32 archlinux kernel: amdgpu: `' invalid for parameter `virtual_display'
Jul 09 16:58:32 archlinux systemd-modules-load[181]: Failed to insert module 'amdgpu': Invalid argument
Jul 09 16:58:33 archlinux kernel: amdgpu: `' invalid for parameter `virtual_display'
Jul 09 16:58:37 Xsoft kernel: amdgpu: `' invalid for parameter `virtual_display'
Jul 09 16:58:38 Xsoft kernel: amdgpu: `' invalid for parameter `virtual_display'
Jul 09 16:59:23 Xsoft kernel: audit: type=1105 audit(1720555163.772:94): pid=866 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Jul 09 16:58:30 archlinux kernel: Command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=c2c73b39-833a-44e1-8453-21aa34457b7c zswap.enabled=0 rw rootfstype=ext4 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0 amdgpu.virtual_display systemd.unit=multi-user.target

You set amdgpu.virtual_display w/o any value, I was only referring to the BusID in the xorg config being wrong.
F***5
But the new journal seems to lack the parameter completely again?
Also we'll need an updated Xorg log.

Last edited by seth (2024-07-09 21:34:05)

Offline

#15 2024-07-09 21:52:51

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

there's still some xorg config around?

the new journal seems to lack the parameter completely again?

I must have messed up my logs and show the old xorg logs and the old journal, sorry.

Here's the journal

And here the Xorg log
I get permission errors for tty, even after rebooting the pc. I know that Xorg shouldn't be run as administrator, but I tried it to see what happens:
The server starts, so I tried connecting with sunshine, but I only got a black screen, moving the mouse (no mouse drawn in the screen) I get plasma errors.
Here is the log with sudo: Xorg.0.log

Offline

#16 2024-07-10 09:42:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

I know that Xorg shouldn't be run as administrator, but I tried it to see what happens:

Here is the log with sudo: Xorg.0.log

Running startx while logged in as root is doable (and can be a reasonable way to test basic functionality)  , but using sudo startx can have all kind of bad results .

Please post the output of

$  ls -lR /dev/dri
$ ls -l /dev/tty*

(Separate commands to keep output more readable)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#17 2024-07-10 11:19:05

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

The ssh login won't get you control over the tty.
Try to https://wiki.archlinux.org/title/Getty# … al_console and https://wiki.archlinux.org/title/Start_X_at_login

Alternatively you'll have to run the X11 as root, nb. that's NOT THE SAME! as logging in as root and startx, let alone sudo startx!
https://wiki.archlinux.org/title/Xorg#Xorg_as_Root

Offline

#18 2024-07-10 11:19:16

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

ls -lR /dev/dri


/dev/dri:
total 0
drwxr-xr-x  2 root root         80 Jul  9 18:40 by-path
crw-rw----+ 1 root video  226,   1 Jul  9 18:40 card1
crw-rw-rw-  1 root render 226, 128 Jul  9 18:40 renderD128

/dev/dri/by-path:
total 0
lrwxrwxrwx 1 root root  8 Jul  9 18:40 pci-0000:12:00.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Jul  9 18:40 pci-0000:12:00.0-render -> ../renderD128
ls -l /dev/tty*


crw-rw-rw- 1 root tty  5,  0 Jul 10 08:16 /dev/tty
crw--w---- 1 root tty  4,  0 Jul  9 18:40 /dev/tty0
crw------- 1 soft tty  4,  1 Jul  9 18:40 /dev/tty1
crw--w---- 1 root tty  4, 10 Jul  9 18:40 /dev/tty10
crw--w---- 1 root tty  4, 11 Jul  9 18:40 /dev/tty11
crw--w---- 1 root tty  4, 12 Jul  9 18:40 /dev/tty12
crw--w---- 1 root tty  4, 13 Jul  9 18:40 /dev/tty13
crw--w---- 1 root tty  4, 14 Jul  9 18:40 /dev/tty14
crw--w---- 1 root tty  4, 15 Jul  9 18:40 /dev/tty15
crw--w---- 1 root tty  4, 16 Jul  9 18:40 /dev/tty16
crw--w---- 1 root tty  4, 17 Jul  9 18:40 /dev/tty17
crw--w---- 1 root tty  4, 18 Jul  9 18:40 /dev/tty18
crw--w---- 1 root tty  4, 19 Jul  9 18:40 /dev/tty19
crw--w---- 1 root tty  4,  2 Jul  9 18:40 /dev/tty2
crw--w---- 1 root tty  4, 20 Jul  9 18:40 /dev/tty20
crw--w---- 1 root tty  4, 21 Jul  9 18:40 /dev/tty21
crw--w---- 1 root tty  4, 22 Jul  9 18:40 /dev/tty22
crw--w---- 1 root tty  4, 23 Jul  9 18:40 /dev/tty23
crw--w---- 1 root tty  4, 24 Jul  9 18:40 /dev/tty24
crw--w---- 1 root tty  4, 25 Jul  9 18:40 /dev/tty25
crw--w---- 1 root tty  4, 26 Jul  9 18:40 /dev/tty26
crw--w---- 1 root tty  4, 27 Jul  9 18:40 /dev/tty27
crw--w---- 1 root tty  4, 28 Jul  9 18:40 /dev/tty28
crw--w---- 1 root tty  4, 29 Jul  9 18:40 /dev/tty29
crw--w---- 1 root tty  4,  3 Jul  9 18:40 /dev/tty3
crw--w---- 1 root tty  4, 30 Jul  9 18:40 /dev/tty30
crw--w---- 1 root tty  4, 31 Jul  9 18:40 /dev/tty31
crw--w---- 1 root tty  4, 32 Jul  9 18:40 /dev/tty32
crw--w---- 1 root tty  4, 33 Jul  9 18:40 /dev/tty33
crw--w---- 1 root tty  4, 34 Jul  9 18:40 /dev/tty34
crw--w---- 1 root tty  4, 35 Jul  9 18:40 /dev/tty35
crw--w---- 1 root tty  4, 36 Jul  9 18:40 /dev/tty36
crw--w---- 1 root tty  4, 37 Jul  9 18:40 /dev/tty37
crw--w---- 1 root tty  4, 38 Jul  9 18:40 /dev/tty38
crw--w---- 1 root tty  4, 39 Jul  9 18:40 /dev/tty39
crw--w---- 1 root tty  4,  4 Jul  9 18:40 /dev/tty4
crw--w---- 1 root tty  4, 40 Jul  9 18:40 /dev/tty40
crw--w---- 1 root tty  4, 41 Jul  9 18:40 /dev/tty41
crw--w---- 1 root tty  4, 42 Jul  9 18:40 /dev/tty42
crw--w---- 1 root tty  4, 43 Jul  9 18:40 /dev/tty43
crw--w---- 1 root tty  4, 44 Jul  9 18:40 /dev/tty44
crw--w---- 1 root tty  4, 45 Jul  9 18:40 /dev/tty45
crw--w---- 1 root tty  4, 46 Jul  9 18:40 /dev/tty46
crw--w---- 1 root tty  4, 47 Jul  9 18:40 /dev/tty47
crw--w---- 1 root tty  4, 48 Jul  9 18:40 /dev/tty48
crw--w---- 1 root tty  4, 49 Jul  9 18:40 /dev/tty49
crw--w---- 1 root tty  4,  5 Jul  9 18:40 /dev/tty5
crw--w---- 1 root tty  4, 50 Jul  9 18:40 /dev/tty50
crw--w---- 1 root tty  4, 51 Jul  9 18:40 /dev/tty51
crw--w---- 1 root tty  4, 52 Jul  9 18:40 /dev/tty52
crw--w---- 1 root tty  4, 53 Jul  9 18:40 /dev/tty53
crw--w---- 1 root tty  4, 54 Jul  9 18:40 /dev/tty54
crw--w---- 1 root tty  4, 55 Jul  9 18:40 /dev/tty55
crw--w---- 1 root tty  4, 56 Jul  9 18:40 /dev/tty56
crw--w---- 1 root tty  4, 57 Jul  9 18:40 /dev/tty57
crw--w---- 1 root tty  4, 58 Jul  9 18:40 /dev/tty58
crw--w---- 1 root tty  4, 59 Jul  9 18:40 /dev/tty59
crw--w---- 1 root tty  4,  6 Jul  9 18:40 /dev/tty6
crw--w---- 1 root tty  4, 60 Jul  9 18:40 /dev/tty60
crw--w---- 1 root tty  4, 61 Jul  9 18:40 /dev/tty61
crw--w---- 1 root tty  4, 62 Jul  9 18:40 /dev/tty62
crw--w---- 1 root tty  4, 63 Jul  9 18:40 /dev/tty63
crw--w---- 1 root tty  4,  7 Jul  9 18:40 /dev/tty7
crw--w---- 1 root tty  4,  8 Jul  9 18:40 /dev/tty8
crw--w---- 1 root tty  4,  9 Jul  9 18:40 /dev/tty9
crw-rw---- 1 root uucp 4, 64 Jul  9 18:40 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 Jul  9 18:40 /dev/ttyS1
crw-rw---- 1 root uucp 4, 74 Jul  9 18:40 /dev/ttyS10
crw-rw---- 1 root uucp 4, 75 Jul  9 18:40 /dev/ttyS11
crw-rw---- 1 root uucp 4, 76 Jul  9 18:40 /dev/ttyS12
crw-rw---- 1 root uucp 4, 77 Jul  9 18:40 /dev/ttyS13
crw-rw---- 1 root uucp 4, 78 Jul  9 18:40 /dev/ttyS14
crw-rw---- 1 root uucp 4, 79 Jul  9 18:40 /dev/ttyS15
crw-rw---- 1 root uucp 4, 80 Jul  9 18:40 /dev/ttyS16
crw-rw---- 1 root uucp 4, 81 Jul  9 18:40 /dev/ttyS17
crw-rw---- 1 root uucp 4, 82 Jul  9 18:40 /dev/ttyS18
crw-rw---- 1 root uucp 4, 83 Jul  9 18:40 /dev/ttyS19
crw-rw---- 1 root uucp 4, 66 Jul  9 18:40 /dev/ttyS2
crw-rw---- 1 root uucp 4, 84 Jul  9 18:40 /dev/ttyS20
crw-rw---- 1 root uucp 4, 85 Jul  9 18:40 /dev/ttyS21
crw-rw---- 1 root uucp 4, 86 Jul  9 18:40 /dev/ttyS22
crw-rw---- 1 root uucp 4, 87 Jul  9 18:40 /dev/ttyS23
crw-rw---- 1 root uucp 4, 88 Jul  9 18:40 /dev/ttyS24
crw-rw---- 1 root uucp 4, 89 Jul  9 18:40 /dev/ttyS25
crw-rw---- 1 root uucp 4, 90 Jul  9 18:40 /dev/ttyS26
crw-rw---- 1 root uucp 4, 91 Jul  9 18:40 /dev/ttyS27
crw-rw---- 1 root uucp 4, 92 Jul  9 18:40 /dev/ttyS28
crw-rw---- 1 root uucp 4, 93 Jul  9 18:40 /dev/ttyS29
crw-rw---- 1 root uucp 4, 67 Jul  9 18:40 /dev/ttyS3
crw-rw---- 1 root uucp 4, 94 Jul  9 18:40 /dev/ttyS30
crw-rw---- 1 root uucp 4, 95 Jul  9 18:40 /dev/ttyS31
crw-rw---- 1 root uucp 4, 68 Jul  9 18:40 /dev/ttyS4
crw-rw---- 1 root uucp 4, 69 Jul  9 18:40 /dev/ttyS5
crw-rw---- 1 root uucp 4, 70 Jul  9 18:40 /dev/ttyS6
crw-rw---- 1 root uucp 4, 71 Jul  9 18:40 /dev/ttyS7
crw-rw---- 1 root uucp 4, 72 Jul  9 18:40 /dev/ttyS8
crw-rw---- 1 root uucp 4, 73 Jul  9 18:40 /dev/ttyS9

Offline

#19 2024-07-10 11:20:57

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

crw------- 1 soft tty  4,  1 Jul  9 18:40 /dev/tty1

You're however owning the tty in whatever context you got that output from.

Offline

#20 2024-07-10 11:40:15

Xsofito
Member
Registered: 2024-01-29
Posts: 49

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

The ssh login won't get you control over the tty.

Auto starting X at login solved it and I am able now to get to sunshine and use the desktop.

Is this because ssh login has restricted permissions over the system?

However, thanks for the help, marking the thread as solved.

Offline

#21 2024-07-10 12:15:54

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Xorg virtual monitor using amdgpu virtual monitor

It's because ssh doesn't log into the TTY but a PTS
I guess you could work around that and either unconditionally change the owner of the TTY or use a pam module to execute chmod on it, but since you probably want to start the X11 server anyway, the autologin is less hackish and also more convenient.

Offline

Board footer

Powered by FluxBB