Coder Social home page Coder Social logo

simulpiscator / rdpshare Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 31.0 42 KB

Windows Desktop Sharing remote control interface

License: GNU General Public License v3.0

CMake 3.35% C++ 96.65%
rdp freerdp remote-control windows-10 windows-desktop-sharing windows-11

rdpshare's Introduction

RDPShare

Windows Desktop Sharing remote control interface

Windows Desktop Sharing (WDS) allows remote interaction with an existing user session. Typically this requires extra programming effort on the server and client side, and is limited to clients running Windows. Exploiting the fact that WDS is based on the Windows Remote Assistance (RA) protocol, RDPShare lets you connect to a WDS session from a machine running the FreeRDP xfreerdp client program.

RDPShare is a Win32 command line program supposed to be run from within an existing user session. In a typical scenario, a Windows machine would be attached to a projector, and you would like to control its output from a mobile computer through a wireless network connection. You might configure the Windows machine to automatically log on the desired user on startup. Using Windows Task Scheduler to create a task that starts the RDPShare executable whenever that user logs on, you will be able to control the Windows machine's desktop from a Linux laptop.

By default, RDPShare runs a combined HTTP and control server on port 8080, and a WDS session on port 3390. Through the control server, the WDS session may be enabled and disabled, and WDS connection information may be retrieved, which may then be fed to xfreedrp on the command line. When accessing the control port through a web browser, status information is displayed, and a simple client connection script is offered for download.

Usage

RDPShare [idle] [http <port>] [rdp <port>] [screen {0..n}]

Defaults are: http 8080 rdp 3390 screen 0

If the "idle" option is given, RDPShare does not start a WDS session at startup but waits for the "start" request before initiating one (see below).

The "screen" option allows to choose which part of the Windows desktop is shared. For "screen 0", the entire Windows desktop is shared; for arguments greater 0, only the area of the respective display is shared.

In addition to HTTP GET requests, the following requests are recognized when sent to the HTTP port:

  • start: start WDS session
  • stop: stop WDS session
  • quit: exit RDAShare process
  • get_ConnectionString: get WDS connection string
  • get_RASessionID: get Remote Assistance session ID
  • get_SharedRect: get shared rect

rdpshare's People

Contributors

simulpiscator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.