diff options
author | lambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 22:56:30 +0000 |
---|---|---|
committer | lambroslambrou@google.com <lambroslambrou@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 22:56:30 +0000 |
commit | 7cf9f0a26f45461c74d6da861c20c3daa9f129bd (patch) | |
tree | 5e9d3c1237047353d0f730279d42ad955cba1ab4 /remoting/tools/me2me_virtual_host.py | |
parent | 8cc94c143d6cca20e64eaf5caede962e1cd08956 (diff) | |
download | chromium_src-7cf9f0a26f45461c74d6da861c20c3daa9f129bd.zip chromium_src-7cf9f0a26f45461c74d6da861c20c3daa9f129bd.tar.gz chromium_src-7cf9f0a26f45461c74d6da861c20c3daa9f129bd.tar.bz2 |
Run the GDM Xsession script instead of /etc/X11/Xsession.
This causes ~/.profile to be sourced in a Virtual Me2Me session, which the
other Xsession script didn't seem to be doing.
BUG=110825
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/9192034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools/me2me_virtual_host.py')
-rwxr-xr-x | remoting/tools/me2me_virtual_host.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py index 543faeb3..5a742c2 100755 --- a/remoting/tools/me2me_virtual_host.py +++ b/remoting/tools/me2me_virtual_host.py @@ -263,7 +263,9 @@ class Desktop: # terminal, any reading from stdin causes the job to be suspended. # Daemonization would solve this problem by separating the process from the # controlling terminal. - self.session_proc = subprocess.Popen("/etc/X11/Xsession", + # + # This assumes that GDM is installed and configured on the system. + self.session_proc = subprocess.Popen("/etc/gdm/Xsession", stdin=open(os.devnull, "r"), cwd=HOME_DIR, env=self.child_env) |