[remoting linux host] Replace Xvfb with Xorg + dummy video driver |
|
Issue descriptionThe remoting Linux host uses Xvfb to create virtual X sessions. Xvfb is deprecated and no longer supported upstream. Also, Xvfb has many other drawbacks: * No GLX support in some distro versions. * No XRANDR support - resize-to-fit function requires a custom patch. * Builds of Xvfb include large portions of Xorg and are distro-specific, making it difficult to package and distribute a patched version. * Bugs with handling of XKB configs in /tmp, making it impossible to run multiple instances: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/972324/comments/2 * Random crashes that are difficult to fix, since we can't easily use more recent versions of Xvfb due to the other points above. The suggested replacement for Xvfb is to use Xorg with a dummy video driver (xf86-video-dummy): https://lists.x.org/archives/xorg-devel/2012-March/030059.html
,
May 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/aede46c4efcd218750985f1a0fcc29342aa1e400 commit aede46c4efcd218750985f1a0fcc29342aa1e400 Author: rkjnsn <rkjnsn@chromium.org> Date: Tue May 10 23:51:38 2016 Add Xorg+dummy as alternative for Xvfb Setting the CHROME_REMOTE_DESKTOP_USE_XORG environment variable will cause the curtain-mode script to launch Xorg with void input and dummy output instead of Xvfb. BUG=596125 Review-Url: https://codereview.chromium.org/1954623005 Cr-Commit-Position: refs/heads/master@{#392775} [modify] https://crrev.com/aede46c4efcd218750985f1a0fcc29342aa1e400/remoting/host/curtain_mode_linux.cc [modify] https://crrev.com/aede46c4efcd218750985f1a0fcc29342aa1e400/remoting/host/linux/linux_me2me_host.py
,
May 18 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f3e8936bc82eb317ec9c247bb3bc397048bb6c8c commit f3e8936bc82eb317ec9c247bb3bc397048bb6c8c Author: rkjnsn <rkjnsn@chromium.org> Date: Wed May 18 22:36:02 2016 Xorg+dummy: set resolution to first size in list Change the display resolution to the first size in the list before starting the session. BUG=596125 Review-Url: https://codereview.chromium.org/1980163003 Cr-Commit-Position: refs/heads/master@{#394578} [modify] https://crrev.com/f3e8936bc82eb317ec9c247bb3bc397048bb6c8c/remoting/host/linux/linux_me2me_host.py
,
Jun 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/211658866f3462be8edc3dd80865d6b68266ca81 commit 211658866f3462be8edc3dd80865d6b68266ca81 Author: rkjnsn <rkjnsn@chromium.org> Date: Wed Jun 08 22:39:34 2016 Add support for inexact resize on X11 Support switching between existing modes when XRandR is available but exact resize is not. BUG=596125 Review-Url: https://codereview.chromium.org/2004613002 Cr-Commit-Position: refs/heads/master@{#398709} [modify] https://crrev.com/211658866f3462be8edc3dd80865d6b68266ca81/remoting/host/desktop_resizer_x11.cc |
|
►
Sign in to add a comment |
|
Comment 1 by jamiewa...@chromium.org
, Mar 18 2016Status: Assigned (was: Untriaged)