Skip to content

TheFoundation/xdotoolweb-secure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xdotool Web Based Interface - Secure Version

Web Based Keyboard and Mouse Remote Controller works behind reverse proxies when /ws is tunneled to tcp:8081 Screenshot

How it Works

This web based xdotool work by piping xdotool - stdin with WebSocket on port 8081.

HTTP server running on port 8080 to provide web based interface (keyboard button and mouse)

How to Install

Install this script on target manchine (eg: Raspberry Pi) not on remote manchine.

Clone this Source:

$ git clone https://github.com/ndunks/xdotoolweb

Run it

$ cd xdotoolweb
$ ./xdotoolweb &

Open browser on remote devices, navigate to http://{IP}:8080

Stop it

$ ctrl+c on terminal or kill it

Run it and leave terminal or SSH

$ nohup ./xdotoolweb &
$ disown

Debug output

$ ./xdotoolweb --debug &

Tested On :

Ubuntu 17.06 on Laptop

xdotool version 3.2016xxxx

Result:

Working like expected

Ubuntu Mate 16.04 on Raspberry Pi 3 Model B

Problem:

Default version of xdotool (3.2015xxx) that available on default repo is little buggy (buffered input) when using interactive command: xdotool -

Solution:

Compile latest xdotool from source (read section)

Compile xdotool for Raspberry PI (Ubuntu Mate 16.04)

If you have old xdotool 3.2015xxx so you need to get newest one or compile it with this step:

Install required header:

$ sudo apt-get install libx11-dev libxtst-dev libxinerama-dev libxkbcommon-dev

thanks to flc for share their gist

Clone xdotool Source:

$ git clone https://github.com/jordansissel/xdotool

Compile & Install xdotool

$ cd xdotool
$ make
$ sudo make install

Third Party Code

Jordan Sissel: xdotool

Pithikos: Python WebSocket Server

flc: xdotool required header lib

About

xdotool web based interface to remoting your manchine/raspberry from your phone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 92.7%
  • Python 3.0%
  • JavaScript 2.2%
  • HTML 2.1%