Skip to content

erikologic/vnc_virtual_display_linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

vnc_virtual_display_linker

A Python script to create a second virtual monitor for connecting with VNC

This script will let you connect an external device to your X11 server as a second monitor through VNC
i.e. use your tablet to extend your desktop

I have it working using Ubuntu 16.04 and an Android tablet

WARNING

This project is NOT MAINTAINED anymore.
Maintainers or pull requests are welcome!

INSTALLATION:

sudo apt install x11vnc

then create a password!
x11vnc -storepasswd

TROUBLESHOOTING xrandr: cannot find output "VIRTUAL1"

#4 (comment)

USAGE

  • place the script anywhere
  • you might have to grant exec permissions: chmod +x vnc_virtual_display_linker.py
  • launch the script ./vnc_virtual_display_linker.py
  • on the menu:
    • press a to activate the adbc connection
    • press n to create a new virtual monitor
    • press s to start the VNC server with the default configuration
      • ctrl-c to stop the server
    • follow the instructions on the screen for more functionalities

Once the server has started, on your device:

ADB SUPPORT

You should be able to connect most Android tablets/phones with an USB cable to the VNC server thanks to the ADB platform.

First, you need to install the proper tools:
sudo apt install adb android-tools-adb android-tools-fastboot

Then you have to:

  • connect your device (i.e. the tablet) to the PC with an USB cable
  • turn on USB debugging on your device
  • activate the ADB support in the vnc_virtual_display_linker menu
  • connect with your device to localhost as server address

About

A Python script to create a second virtual monitor for connecting with VNC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages