I was trying to get scrcpy (screen copy) to run on a fake display using the xf86-dummy-driver.
I created an xorg dummy-1080p.conf in root with contents
Code: Select all
Section "Monitor"
Identifier "Monitor1"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
# https://arachnoid.com/modelines/
# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
EndSection
Section "Device"
Identifier "Card1"
Driver "dummy"
VideoRam 256000
EndSection
Section "Screen"
DefaultDepth 24
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Depth 24
Modes "1920x1080_60.00"
EndSubSection
EndSection
then from tty1 opened it up
Code: Select all
sudo X :1 -config /root/dummy-1080p.conf
Then I tested with
Code: Select all
DISPLAY=:1 startx
A new instance of fatdog desktop started up in tty4 ... im guessing this is already multiseat on one display and keyboard....just need to attach devices with xinput.
But I want scrcpy to startup and I want samsung dex to see it as an external display thus triggering dex. So logout out of the desktop
and statt scrcpy on the server on display 1
Code: Select all
DISPLAY=:1 scrcpy
It runs but I don't get dex.......YET!!
Any tips welcome.
EDIT: I've got a new instance of the fatdog desktop even running a different window manager, but in fact /tmp is the same for both tty4 and tty8