Skip to content

Instantly share code, notes, and snippets.

@sl45sms
Last active June 17, 2025 12:39
Show Gist options
  • Save sl45sms/b5d3fb46714f2e0c25dff221e5c677c3 to your computer and use it in GitHub Desktop.
Save sl45sms/b5d3fb46714f2e0c25dff221e5c677c3 to your computer and use it in GitHub Desktop.
Samsung Galaxy Tab A as Secondary extended monitor on Ubuntu 24

install android tools

sudo apt install google-android-platform-tools-installer

Set up ADB Reverse Tunnel

adb reverse tcp:3309 tcp:3309 * you can remove with adb reverse --remove-all

start sharing

goto "Settings->System->Remote Desktop" and configure username and password, enable the "Desctop Sharing"

set sharing to extend screen

gsettings set org.gnome.desktop.remote-desktop.rdp screen-share-mode extend

use RDP client

install https://play.google.com/store/apps/details?id=com.microsoft.rdc.androidx Create a connection and set 127.0.0.1 as host

There a known issue with mouse visibility.

you can install the https://github.com/djinnalexio/eye-on-cursor/ extension as workarround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment