Article 57HWY Can't figure out how to convince Xorg to create a fake virtual screen to the left of my real screen

Can't figure out how to convince Xorg to create a fake virtual screen to the left of my real screen

by
Sol33t303
from LinuxQuestions.org on (#57HWY)
I'm currently trying to setup a fake second monitor to run a VNC client fullscreen in, which will connect to my laptop, so my laptop effectively turns into a second screen for my desktop. However I can't seem to convince Xorg to create the second fake monitor (xrandr -q doesn't show anything about any second screen).

I'm running Gentoo on my desktop with a GTX 1080 ti (proprietary drivers) and Ryzen 2700x. I'm also running i3-gaps.

Here is Xorgs current log: https://pastebin.com/QVcRzsDd

Here is my xorg.conf: (Commented out is another configuration I tried, the uncommented part beneath the commented part is my current attempt that would be showing up in the log and is based on a sample on the holy Arch Wiki. Everything above that is what nvidia-xconfig decided I should use for my GPU and my real display. Here is the Arch wiki article, the config snippet is directly under monitor settings)

Code:# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.57

# Nvidia Screen
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

# Dummy monitor for VNC
#Section "Device"
# Identifier "Fake Video Device"
# Driver "dummy"
#EndSection

#Section "Monitor"
# Identifier "Fake Monitor"
# HorizSync 31.5-48.5
# VertRefresh 50-70
# option "LeftOf" "Monitor0"
#EndSection

#Section "Screen"
# Identifier "Fake Screen"
# Monitor "Fake Monitor"
# Device "Fake Video Device"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Modes "1920x1080"
# EndSubSection
#EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen 1 "dummy_screen"
EndSection

Section "Monitor"
Identifier "dummy_monitor"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
option "LeftOf" "Monitor0"
EndSection

Section "Device"
Identifier "dummy_card"
VideoRam 256000
Driver "dummy"
EndSection

Section "Screen"
Identifier "dummy_screen"
Device "dummy_card"
Monitor "dummy_monitor"
SubSection "Display"
EndSubSection
EndSectionlatest?d=yIl2AUoC8zA latest?i=w3LAv6kE0gQ:ChSRUxQEtZg:F7zBnMy latest?i=w3LAv6kE0gQ:ChSRUxQEtZg:V_sGLiP latest?d=qj6IDK7rITs latest?i=w3LAv6kE0gQ:ChSRUxQEtZg:gIN9vFww3LAv6kE0gQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments