{"id":13441878,"url":"https://github.com/dianariyanto/virtual-display-linux","last_synced_at":"2025-03-20T13:31:13.584Z","repository":{"id":39642887,"uuid":"223023877","full_name":"dianariyanto/virtual-display-linux","owner":"dianariyanto","description":"Create virtual display / monitor on linux OS for extended display via teamviewer or vnc server without any real Monitor is Plugged In.","archived":true,"fork":false,"pushed_at":"2022-02-28T13:52:18.000Z","size":559,"stargazers_count":516,"open_issues_count":16,"forks_count":44,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-08-01T03:37:53.769Z","etag":null,"topics":["linux-os","monitor","remmina","teamviewer","vdl-monitor","vnc","xrdp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dianariyanto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-20T20:43:33.000Z","updated_at":"2024-07-24T19:35:12.000Z","dependencies_parsed_at":"2022-07-20T03:32:48.992Z","dependency_job_id":null,"html_url":"https://github.com/dianariyanto/virtual-display-linux","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianariyanto%2Fvirtual-display-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianariyanto%2Fvirtual-display-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianariyanto%2Fvirtual-display-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianariyanto%2Fvirtual-display-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dianariyanto","download_url":"https://codeload.github.com/dianariyanto/virtual-display-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221768371,"owners_count":16877634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux-os","monitor","remmina","teamviewer","vdl-monitor","vnc","xrdp"],"created_at":"2024-07-31T03:01:39.170Z","updated_at":"2024-10-28T02:30:23.208Z","avatar_url":"https://github.com/dianariyanto.png","language":"Shell","funding_links":[],"categories":["HarmonyOS","others"],"sub_categories":["Windows Manager"],"readme":"# Virtual Display Linux (VDL Monitor)\n\nJust a simple bash script that create some virtual display / monitor on linux OS for extended display via *TeamViewer* or *VNC server*\n\nYes, you can add fake display monitor without real monitor attached!\n\n⚠️⚠️⚠️⚠️ DISCLAIMER: Do with your own risk! ⚠️⚠️⚠️⚠️\n\n![Virtual Monitor Linux](https://raw.githubusercontent.com/dianariyanto/virtual-display-linux/master/Screenshot2.png)\n\n![Virtual Display Linux (VDL Monitor)](https://raw.githubusercontent.com/dianariyanto/virtual-display-linux/master/Screenshot.png)\n\nI'm using this simple script for extend my desktop pc to \"2 external monitor\" via teamviewer.\n\n\n# Device support\n\nCurently this **VDL Monitor only work for intel CPUs with integrated graphics only**, sorry 😞\n\nIf you are using an Nvidia GPU, you can follow [this instruction](https://github.com/dianariyanto/virtual-display-linux/issues/9#issuecomment-786389065). \n\nOr if you already made a mistake when trying this script on a device without an integrated intelhd gpu, which makes your device stuck on a black screen with blinking cursor, [this instruction](https://github.com/dianariyanto/virtual-display-linux/issues/16) might be useful for you to fix this problem.\n\nIf you encounter a similar problem, you just need to delete `/usr/share/X11/xorg.conf.d/20-intel.conf` created by vdl-monitor to get your device booted normally again.\n\n\n\n# Quick Setup\n\n1. Install teamviewer on both devices. (You also can use VNC to)\n2. `cd ~`\n3. `git clone https://github.com/dianariyanto/virtual-display-linux.git`\n4. `cd virtual-display-linux`\n6. `sudo chmod +x vdl-monitor`\n5. Change your own resolution setup `vdl-monitor.conf`\n6. `./vdl-monitor`\n7. For first running, you will prompt to reboot or relogin current session\n8. `cd ~/virtual-display-linux/`\n9. `./vdl-monitor`\n10. Done.\n\n```shell\ndianariyanto@lenovo:~$ cd virtual-display-linux/\ndianariyanto@lenovo:~/virtual-display-linux$ ./vdl-monitor \nStart configuration\nadd resolution 1368x768\nstart display VIRTUAL1 to 1368x768\nScreen 0: minimum 8 x 8, current 2968 x 900, maximum 32767 x 32767\nLVDS1 connected primary 1600x900+1368+0 (normal left inverted right x axis y axis) 310mm x 170mm\n   1600x900      60.00*+  59.82  \n   1400x900      59.88  \n   1368x768      60.00    59.88    59.85  \n   1360x768      59.80    59.96  \n   1280x800      59.81    59.91  \n   1152x864      60.00  \n   1280x720      59.86    60.00    59.74  \n   1024x768      60.00  \n   1024x576      60.00    59.90    59.82  \n   960x540       60.00    59.63    59.82  \n   800x600       60.32    56.25  \n   864x486       60.00    59.92    59.57  \n   800x450       60.00  \n   640x480       59.94  \n   720x405       59.51    60.00    58.99  \n   640x360       59.84    59.32    60.00  \nDP1 disconnected (normal left inverted right x axis y axis)\nDP2 disconnected (normal left inverted right x axis y axis)\nDP3 disconnected (normal left inverted right x axis y axis)\nHDMI1 disconnected (normal left inverted right x axis y axis)\nHDMI2 disconnected (normal left inverted right x axis y axis)\nHDMI3 disconnected (normal left inverted right x axis y axis)\nVGA1 disconnected (normal left inverted right x axis y axis)\nVIRTUAL1 connected 1368x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm\n   1368x768      60.00* \nVIRTUAL2 disconnected (normal left inverted right x axis y axis)\n\nDone, Check your VDL Monitor on System Setting \u003e Display\ndianariyanto@lenovo:~/virtual-display-linux$ \n\n```\n\nCheck teamviewer client and select your virtual display act as external monitor.\n\nYou now success Add Fake Display with No Monitor is Plugged In!\n\n# VNC + Android Setup\n\n### Dependencies :\n\n##### On the linux machine :\n- x11vnc\n- android-tools\n- libnotify\n\n##### On the android phone/tablet :\n- [VNCviewer](https://play.google.com/store/apps/details?id=com.realvnc.viewer.android), or any other vnc viewer for android\n\n### Installation steps :\n1. Enable developer mode on the android phone/tablet by entering int settings -\u003e info and tapping on the release number 5 times  \n2. Enable USB-debugging in developer settings on the android device  \n3. Plug an USB cable between your two devices  \n3. b) Depending on the android version you may need to go to your notifications, and look for a notification about the USB connection to allow debugging.  \n4. Run `adb shell` on your Linux machine and approve the request on your android device  \n5. Configure the variables in the script, `internal` is your computer monitor, you should get it with `xrandr`. `screen1` and `virtual1` are the resolutions of the screens  \n6. start the script  \n7. open the VNC app on your android device  \n8. connect to `http://127.0.0.1:5900`  \n\n## Confirmed\n\n* Elementary OS 5.0 Juno based on Ubuntu 18.04 with *Teamviewer v.14.7.19.65*\n* Pop OS! 20.04 Default Share Screen with Remmina Desktop Client\n* Armbian 5.0 xrdp with Realvnc Client\n* Fedora 34 - Gnome 40 on Xorg with Deskreen\n* Debian 11 - KDE Plazma with Deskreen\n* Manjaro Rolling - Gnome 40 on Xorg with x11vnc (server) realvnc (client) adb (for better fluidity)\n* Waiting your report here.\n\n## Remote Client\n\n* https://www.teamviewer.com/en/download/linux/\n* https://www.realvnc.com/en/connect/download/viewer/\n* https://remmina.org/\n\n## Useful links\n* https://bbs.archlinux.org/viewtopic.php?id=180904\n* https://unix.stackexchange.com/questions/378373/add-virtual-output-to-xorg\n* https://github.com/dianariyanto/virtual-display-linux/issues/9#issuecomment-786389065\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdianariyanto%2Fvirtual-display-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdianariyanto%2Fvirtual-display-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdianariyanto%2Fvirtual-display-linux/lists"}