Skip to content

Aren't you tired of intructing a person on a call to use their computer? This project gives you a virtual touchpad and a field to type in!

Notifications You must be signed in to change notification settings

vismodo/Remote-Desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Python Remote Desktop

Aren't you tired of intructing a person on a call to use their computer? This project gives you a virtual touchpad and a field to type in!

Prerequisites

  • Python 3 (I used Python 3.9.0)
  • Two or more computers running Windows / macOS / Linux
  • All computers need to be connected to the same network

Run on Repl.it

Usage

  • We first need to install the pyautogui module to control the cursor and keyboard. Launch Command Prompt or Terminal and type the following:
pip install pyautogui
  • You now need to download server.py onto one of the computers and client.py to the rest.

  • Now run server.py on and note the IP address as well as the port that comes as an alert.

  • On the other computers, run client.py. When it asks for the Host IP Address and the Port, type the details that you saw in the alert.

  • On the computer running server.py, you should now see a tkinter window. This window is your virtual touchpad. Click inside the window, and as your cursor moves inside that window, the cursor will move simultaniosly on the client computers!

  • You can adjust the window so that the touchpad can reach each end of the client computer. You can use Control + l for left click, Control + r for right click and Control + d for double click. I am working on adding dragging functionality to the touchpad too!

  • To type text, click on the 'Text' button from the menu of the touchpad. This should bring up a window. Use the text field to enter your text, and click on the 'Type Text' button to type the text on the clients, 'Delete' for 'backspace' and 'Enter' for a new line.

Authors

vismodo : [email protected]

Troubleshooting

  1. Lag in the movement of the cursor

    This happens only if your network connection is unstable or slow.
  2. The touchpad takes my complete screen, but it still does not access the clients complete screen

    Try changing the '2' of line 40 in server.py to a higher number, such as 3 or 4.

In the case that you found any other bugs in the code, create an issue or send an email to [email protected] and I will fix it as soon as possible.