xpra icon
Bug tracker and wiki

Changes between Version 18 and Version 19 of Xdummy


Ignore:
Timestamp:
01/08/15 04:07:09 (5 years ago)
Author:
Jiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xdummy

    v18 v19  
    1 = [[Image(http://xpra.org/icons/X11.png)]] Xdummy =
     1  = [[Image(http://xpra.org/icons/X11.png)]] Xdummy =
    22
    33[[BR]]
     
    8080Ubuntu does weird things with their Xorg server which prevents it from running Xdummy (tty permission issues).
    8181
     82(The following workaround has been tested on Ubuntu 14.04 server.
     83
     84First, make sure you have xserver-xorg-video-dummy package installed.
     85
     86Second, add the user who is going to start xpra/xdummy on the server to the following three groups: tty, video and dialout (these are the groups /dev/tty* and /dev/fb0 /dev/dri/card0 devices belong to)
     87sudo adduser username groupname
     88
     89Third, fully reboot the server. Group membership change does not take effect until a new log in.
     90
     91Fourth, login to the server remotely (e.g. via ssh) and start the xpra using commands of this form:
     92 xpra --xvfb='Xorg -noreset -nolisten tcp +extension GLX \
     93 +extension RANDR +extension RENDER -logfile ${HOME}/.xpra/Xvfb-10.log"\
     94 start :100
     95
     96Note, if you are running an instance of Xorg locally on the server (e.g. using it as a desktop with a monitor attached), you need to start xpra server remotely == ''before'' == starting the local xorg instance, or some permission issues may prevent you from starting xorg.
     97
     98That's all! Using this method, I am able to run xpra with xdummy on an ubuntu 14.04 server)
     99
     100 
    82101=== non-suid binary ===
    83102If you distribution ships the newer version but only installs a suid Xorg binary, Xpra should have installed the [https://www.xpra.org/trac/browser/xpra/trunk/src/scripts/xpra_Xdummy xpra_Xdummy] wrapper script and configured xpra.conf to use it instead of the regular Xorg binary.