xpra icon
Bug tracker and wiki

Changes between Version 27 and Version 28 of Usage


Ignore:
Timestamp:
12/15/15 04:26:18 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Usage

    v27 v28  
    9090== Cloning / Shadowing an existing display ==
    9191
    92 This allows you to access an existing desktop remotely.
    93 Simply:
     92This allows you to access an existing desktop remotely. Simply:
    9493{{{
    95 xpra shadow :0
     94xpra shadow ssh:SERVERHOST
    9695}}}
    97 And as usual, ie:
    98 {{{
    99 xpra attach ssh:SERVERHOST:0
    100 }}}
    101 (on posix systems, the default X11 session is usually "{{{:0}}}" or "{{{:1}}}")
    10296[[BR]]
    10397Notes:
     
    10599* on MS Windows, which does not have regular "unix domain sockets", you will need to use TCP sockets to connect (see above, "{{{bind-tcp=}}}").
    106100* the display being shadowed must be active (not locked or turned off)
    107 * you can combine both commands and even omit the display number (assuming that only one display is active):
    108 {{{
    109 xpra shadow ssh:SERVERHOST
    110 }}}
     101* On posix systems, the default X11 session is usually "{{{:0}}}" or "{{{:1}}}" and should be detected automatically
     102* if there is more than one display active on the server system, you can specify which one you want to shadow: {{{xpra shadow ssh:SERVERHOST:DISPLAY}}}
    111103}}}
    112104
     
    114106== Xpra as a clipboard sharing tool ==
    115107Xpra can forward sound, clipboard and cursors as well as the application's windows. Each one of these feature can also be disabled, so one can use xpra as a clipboard synchronization tool:
    116 * on the display exporting its clipboard:
     108* From the client system:
    117109{{{
    118 xpra shadow :0
     110xpra shadow --no-printing --no-windows --no-speaker --no-cursors ssh:SERVERHOST
    119111}}}
    120 * On the client:
    121 {{{
    122 xpra attach --no-printing --no-windows --no-speaker --no-cursors ssh:SERVERHOST:0
    123 }}}
     112(also disabling sound, printing, etc is not required)
    124113}}}
    125114
     
    128117To forward a printer to another machine, simply start a remote session without starting an application, and ensure printer forwarding is enabled or force enable it on the command line:
    129118{{{
    130 xpra attach --no-windows --no-speaker --no-cursors ssh:SERVERHOST:0 --printing=yes
     119xpra shadow --no-windows --no-speaker --no-cursors ssh:SERVERHOST --printing=yes
    131120}}}
    132121For more information, see [/wiki/Printing].