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

Unified Diff: remoting/tools/me2me_virtual_host.py

Issue 10843011: Run Virtual Me2Me sessions via /etc/X11/Xsession (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 34092427764d4333720328767670ea7bb15dad41..b9a1b203942db462e4ee5827352b7f65da110183 100755
--- a/remoting/tools/me2me_virtual_host.py
+++ b/remoting/tools/me2me_virtual_host.py
@@ -493,10 +493,11 @@ def choose_x_session():
# "unity-2d-panel" was chosen here simply because it appears in the TryExec
# line of the session's .desktop file; other choices might be just as good.
for test_file, command in [
- ("/usr/bin/gnome-session-fallback", "/usr/bin/gnome-session-fallback"),
+ ("/usr/bin/gnome-session-fallback",
+ ["/etc/X11/Xsession", "gnome-session-fallback"]),
("/etc/gdm/Xsession", "/etc/gdm/Xsession"),
Sergey Ulanov 2012/07/31 18:50:42 pretty please: can you also add xfce4-session in t
("/usr/bin/unity-2d-panel",
- ["/usr/bin/gnome-session", "--session=ubuntu-2d"]),
+ ["/etc/X11/Xsession", "/usr/bin/gnome-session --session=ubuntu-2d"]),
]:
if os.path.exists(test_file):
return command
« 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