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

Unified Diff: remoting/tools/me2me_virtual_host.py

Issue 9385023: Add an environment variable to Virtual Me2Me session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/me2me_virtual_host.py
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py
index 41115c56fca5428d3d0d71e2bee04b2e09bb4209..8bb3ab26c5963ba3317e3999d35d8e29661ddea9 100755
--- a/remoting/tools/me2me_virtual_host.py
+++ b/remoting/tools/me2me_virtual_host.py
@@ -287,7 +287,9 @@ class Desktop:
# Create clean environment for new session, so it is cleanly separated from
# the user's console X session.
- self.child_env = {"DISPLAY": ":%d" % display}
+ self.child_env = {
+ "DISPLAY": ":%d" % display,
+ "REMOTING_ME2ME_SESSION": "1" }
for key in [
"HOME",
"LOGNAME",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698