1

I would like to create virtual display (extended to the actual display) then cast this display over wifi to another laptop (basically trying to use the display of another laptop as secondary monitor/display)

I am actually a KDE Plasma - wayland but I could not create virtual displays in wayland s I had to switch to X11, but X11 is very buggy at rendering elements and the screen glitches a lot, especially VS code. Anyway. this is what I did in X11

xrandr --addmode VIRTUAL1 1920x1080
xrandr --output VIRTUAL1 --mode 1920x1080 --right-of eDP-1

and then streamed the video output of secondary monitor using gstream over wifi.

Now I switched to gnome as I read that it supports virtual displays in wayland as mentioned here

mutter --wayland --headless --virtual-monitor 1920x1080

But this is the output I received :

libmutter-Message: 01:15:18.252: Running Mutter (using mutter 43.8) as a Wayland display server
libmutter-Message: 01:15:18.337: Added device '/dev/dri/card1' (nvidia-drm) using no mode setting.
libmutter-Message: 01:15:18.357: Added device '/dev/dri/card0' (i915) using no mode setting.
libmutter-Message: 01:15:18.359: Created gbm renderer for '/dev/dri/card1'
libmutter-Message: 01:15:18.359: Created gbm renderer for '/dev/dri/card0'
libmutter-Message: 01:15:18.359: Boot VGA GPU /dev/dri/card0 selected as primary
libmutter-Message: 01:15:18.372: Added virtual monitor Meta-0
libmutter-Message: 01:15:18.376: Using public X11 display :3, (using :4 for managed services)

(mutter:40503): libmutter-WARNING **: 01:15:18.376: WL: unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running

libmutter-Message: 01:15:18.376: Using Wayland display name 'wayland-1'

(mutter:40503): libmutter-WARNING **: 01:15:18.440: Lost or failed to acquire name org.gnome.Mutter.ScreenCast

(mutter:40503): libmutter-WARNING **: 01:15:18.440: Lost or failed to acquire name org.gnome.Mutter.RemoteDesktop

I am okay with using either Gnome or KDE, but don't want to shift from wayland. Thank you!

Additional info :

$ gnome-shell --version
GNOME Shell 43.9
$ mutter --version
mutter 43.8

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.