Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 1954623005: Add Xorg+dummy as alternative for Xvfb (Closed)

Created:
4 years, 7 months ago by rkjnsn
Modified:
4 years, 7 months ago
Reviewers:
Lambros, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/aede46c4efcd218750985f1a0fcc29342aa1e400 Cr-Commit-Position: refs/heads/master@{#392775}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address nits #

Total comments: 6

Patch Set 3 : Replace "Xvfb" with "virtual" and move Xorg config to its own function #

Total comments: 8

Patch Set 4 : Address final comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -47 lines) Patch
M remoting/host/curtain_mode_linux.cc View 1 2 3 5 chunks +23 lines, -18 lines 0 comments Download
M remoting/host/linux/linux_me2me_host.py View 1 2 3 12 chunks +171 lines, -29 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
rkjnsn
Please review this initial implementation of using Xorg. You will need both the dummy video ...
4 years, 7 months ago (2016-05-06 18:39:34 UTC) #2
Jamie
FWIW, I think the XOrg config is fine where it is. I'll let Lambros give ...
4 years, 7 months ago (2016-05-07 00:05:47 UTC) #3
rkjnsn
https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc#newcode104 remoting/host/curtain_mode_linux.cc:104: return (found_xvfb_mouse && found_xvfb_keyboard) != found_crd_void_input On 2016/05/07 00:05:47, ...
4 years, 7 months ago (2016-05-09 16:58:34 UTC) #4
Jamie
https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc#newcode104 remoting/host/curtain_mode_linux.cc:104: return (found_xvfb_mouse && found_xvfb_keyboard) != found_crd_void_input On 2016/05/09 16:58:33, ...
4 years, 7 months ago (2016-05-09 17:08:43 UTC) #5
Lambros
https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/1/remoting/host/curtain_mode_linux.cc#newcode48 remoting/host/curtain_mode_linux.cc:48: bool CurtainModeLinux::IsXvfbSession() { Rename this to avoid mentioning Xvfb, ...
4 years, 7 months ago (2016-05-09 23:24:24 UTC) #6
rkjnsn
Addressed nits (and possibly created a few more).
4 years, 7 months ago (2016-05-09 23:46:17 UTC) #7
Lambros
lgtm https://codereview.chromium.org/1954623005/diff/20001/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/20001/remoting/host/curtain_mode_linux.cc#newcode49 remoting/host/curtain_mode_linux.cc:49: // Try to identify an Xvfb session. There's ...
4 years, 7 months ago (2016-05-10 00:30:16 UTC) #8
Jamie
https://codereview.chromium.org/1954623005/diff/1/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1954623005/diff/1/remoting/host/linux/linux_me2me_host.py#newcode466 remoting/host/linux/linux_me2me_host.py:466: # log file On 2016/05/09 16:58:33, rkjnsn wrote: > ...
4 years, 7 months ago (2016-05-10 00:37:09 UTC) #9
rkjnsn
On 2016/05/10 00:30:16, Lambros wrote: > … > https://codereview.chromium.org/1954623005/diff/20001/remoting/host/linux/linux_me2me_host.py#newcode405 > remoting/host/linux/linux_me2me_host.py:405: # This causes X ...
4 years, 7 months ago (2016-05-10 20:04:07 UTC) #11
Jamie
Looks good, thanks. I'll defer to Lambros for the final sign-off.
4 years, 7 months ago (2016-05-10 20:38:22 UTC) #13
Lambros
lgtm https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc#newcode26 remoting/host/curtain_mode_linux.cc:26: // Returns true if the host is running ...
4 years, 7 months ago (2016-05-10 21:06:57 UTC) #14
rkjnsn
https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc File remoting/host/curtain_mode_linux.cc (right): https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc#newcode26 remoting/host/curtain_mode_linux.cc:26: // Returns true if the host is running under ...
4 years, 7 months ago (2016-05-10 21:38:03 UTC) #15
Lambros
On 2016/05/10 21:38:03, rkjnsn wrote: > https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc > File remoting/host/curtain_mode_linux.cc (right): > > https://codereview.chromium.org/1954623005/diff/80001/remoting/host/curtain_mode_linux.cc#newcode26 > ...
4 years, 7 months ago (2016-05-10 21:56:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954623005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954623005/100001
4 years, 7 months ago (2016-05-10 22:49:33 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 7 months ago (2016-05-10 23:51:49 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 23:54:19 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aede46c4efcd218750985f1a0fcc29342aa1e400
Cr-Commit-Position: refs/heads/master@{#392775}

Powered by Google App Engine
This is Rietveld 408576698