Skip to content

inahga/qyoobs-vnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qyoobs-vnc

Opens a VNC viewer to another Qube. This is useful for facilitating screensharing of another qube through Google Meet, Zoom, etc.

Download the latest .rpm from the Releases page, and install it with dnf to both the source and destination qube. It is preferable to install it your templates.

sudo dnf install -y /path/to/downloaded/rpm

In Dom0, apply a policy that permits qyoobs-vnc to work. Use the Qubes Policy Editor, or whatever strategy you're using to apply Qubes policies.

# Configure this policy to your taste.
qyoobs.VNC * @anyvm @anyvm ask

Then, run qyoobs-vnc connect. Let's try connecting to the personal VM.

qyoobs-vnc connect personal

You'll get a dom0 prompt to allow the operation. Allow it, then a VNC window with the contents of the target qube should appear.

Maximize and drag the window to another workspace. You should then be able to screenshare the VNC window from your source qube.

If you have multiple monitors, and want to limit the capture to a single monitor, use the --screen option.

qyoobs-vnc connect personal --screen 1

You can also interactively select an entity to capture using the --choose flag.

qyoobs-vnc connect personal --choose

Building

To build from source, install the dependencies libX11-devel and libXinerama-devel.

To build the RPM, install cargo-generate-rpm with cargo install cargo-generate-rpm. Then, build it.

cargo build --release
cargo generate-rpm

The RPM will be present in target/generate-rpm.

Alternatives

Manually

This is basically a wrapper around https://www.d10.dev/blog/qubes-vnc-screenshare/. You can follow those steps instead, if you want.

qubes-video-companion

If qubes-video-companion works for you, you should use that instead. I found it consumed a lot of CPU, and having the screen shared through a camera device is kind of awkward.

Maybe I could have improved that instead, but I don't like writing Python ;)

About

VNC viewer to another Qube. Facilitiates screen sharing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •