Skip to content

Instantly share code, notes, and snippets.

View noseratio's full-sized avatar

Andrew Nosenko noseratio

View GitHub Profile
@noseratio
noseratio / use_existing_session.patch
Created August 3, 2021 11:01 — forked from nightuser/use_existing_session.patch
Use existing Xorg session for chrome-remote-desktop
Add an option to use the existing Xorg session with
chrome-remote-desktop.
The original idea of the patch: https://superuser.com/a/850359
--- a/chrome-remote-desktop 2021-04-05 11:53:16.537908500 +0000
+++ b/chrome-remote-desktop 2021-04-05 12:04:52.768536483 +0000
@@ -107,6 +107,8 @@
X_LOCK_FILE_TEMPLATE = "/tmp/.X%d-lock"
FIRST_X_DISPLAY_NUMBER = 20