Comments (19)
Posted an RFC to the xorg list, includes pointers to some patches which can be used to generate a /usr/bin/Xdummy
binary suitable for Xpra.
from xpra.
There are now binary packages available here (fedora, centos, debian, ubuntu)
To test that your Xorg supports the new non-root options, run:
wget http://xpra.org/src/Xdummy/xorg.conf
Xorg +extension GLX +extension RANDR +extension RENDER -logfile log -config ./xorg.conf :200
Note: you must ensure that Xorg is not suid.
On Fedora (and possibly others) this means that you have to copy the existing binary, ie:
sudo cp /usr/bin/Xorg /usr/local/bin/Xorg
from xpra.
You can help get this moving by testing the packages (or building from source with the patch) and providing "Tested-by:
" tags for the latest patch, like this one
from xpra.
... or "Reviewed-by
" tags like this one
Please help get this merge with a quick test (there are binary packages built - so it doesn't take long...)
from xpra.
The changes have been merged upstream in commit ead968a4300c0adeff89b9886e888b6d284c75cc
xf86-video-dummy should be tagged before the next server release too, so we can then automatically enable Xdummy with a simple X server version test:
$ X -version 2>&1 | grep "X Server"
X.Org X Server 1.11.2
Starting with soon-to-be-released 1.12
from xpra.
xf86-video-dummy 0.3.5
has been released
from xpra.
For more information on Xdummy, see the top-level page: Xdummy
from xpra.
2012-06-22 08:43:38: antoine uploaded file Xdummy-patches-5.8.tar.bz2
(4.3 KiB)
patches required for building Xdummy for centos 5.8
from xpra.
2012-06-22 08:43:52: antoine uploaded file Xdummy-patches-6.2.tar.bz2
(4.3 KiB)
patches required for building Xdummy for centos 6.2
from xpra.
2012-06-22 08:46:35: antoine uploaded file Xdummy-fedora-patches.tar.bz2
(5.2 KiB)
patches required for building Xdummy on Fedora
from xpra.
Added Xdummy packages for CentOS
5.8 and 6.2 here, the CentOS
and Fedora
specific patches are archived in this ticket. The Fedora
binaries will no longer be updated since Fedora
17 is the current release and includes the patches already.
from xpra.
As of r1286 (+ fix in r1295), we install an xpra.conf
with Xdummy support if the distro supports it (ie: if Xorg version is >= 1.12 and if the Xorg binary is not suid)
This works for recent Debian / Ubuntu but not for Fedora/CentOS as those ship with a suid /usr/bin/Xorg
(no easy way around that - we cannot copy the binary from the specfile's post-install scripts as was done in r1256 and later reverted, as system updates would break our copy... and also it wouldn't get updated)
from xpra.
We could provide support for Xdummy on Fedora 17 (and others with suid-only binaries) by copying the /usr/bin/Xorg
binary every time before we use it, something like /usr/bin/xpra_Xvfb
:
#!/bin/bash
mkdir -p ~/.xpra
cp /usr/bin/Xorg ~/.xpra/Xorg
~/.xpra/Xorg "$@"
I have filed a bug with Fedora asking for a non-suid Xorg to be installed.
from xpra.
r1549 adds support for suid Xorg installations (Fedora, etc)
from xpra.
More Xdummy work now in #186
from xpra.
The solution of copying /usr/bin/Xorg does not work with gentoo because the executable is installed as -rws--x--x. If I'm not mistaken this is a common practice, ie to make root suid executables not readable by anybody else. Gentoo does it automatically for all such executables.
from xpra.
redneb: thanks, this was already discussed on the mailing list (see here) and the fix is in r1984: gentoo users just won't be able to use Xdummy until Xorg is either not suid or readable, sorry.
from xpra.
Looks like there may be some useful randr changes coming to Xvfb (maybe in Xorg 1.14?):
bug #26391 and this patch
It will be a while before this is shipped in any distro though.
from xpra.
Follow up and related tickets: #601, #732, #728, #349, #56
from xpra.
Related Issues (20)
- GLib-GIO-CRITICAL *and other issues* HOT 19
- With layout set to gr (locally/remote), there are warning errors (and keys don't pass through) HOT 2
- tip: clipboard usage via xclipboard HOT 2
- probe-error:not painted on screen HOT 5
- Unable to use (copilot) tab-completion in PyCharm HOT 1
- Something "very weird" happens, and the Session Info window cannot be click-drag-moved HOT 2
- Use more native file picker/save dialogs HOT 5
- run_scaled parsed is wrong making it impossible to use it as intended. HOT 2
- WinKey is not "pass through" HOT 1
- Copying 🥳 from Windows to Ubuntu works, from Ubuntu to Windows it gives `ð¥³` HOT 3
- switch to asyncssh
- send more than one clipboard target to greedy clients
- xpra client v6 can not attach to the v5 server HOT 2
- Server crash when using IntelliJ IDEA HOT 7
- Can't attach microsoft edge session locally. HOT 2
- clopboard copy returns python "byte" string HOT 3
- Failed to copy from linux to windows HOT 4
- Failed to connect to socket /tmp/dbus-gXpCRTJe1M: Connection refused HOT 7
- blank window in lxqt desktop when attach locally HOT 4
- "Server does not support speaker forwarding" when connected via SSH HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpra.