Chromium Code Reviews| 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 |