TIVI-2021: Force STDIN to be connected to the user session tty. 61/11161/1
authorOssama Othman <ossama.othman@intel.com>
Mon, 21 Oct 2013 19:50:40 +0000 (12:50 -0700)
committerOssama Othman <ossama.othman@intel.com>
Mon, 21 Oct 2013 19:53:05 +0000 (12:53 -0700)
Change-Id: I55145de0d3fc00ffb782092ad6e49e95586bdcc2
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
units/system/user-session@.service.in

index b21e3aa..5a44ca9 100644 (file)
@@ -18,6 +18,7 @@ PAMName=login
 ControlGroup=%R/user/%u/shared cpu:/ memory:/
 ControlGroupModify=yes
 Type=notify
+StandardInput=tty
 TTYPath=/dev/tty1
 ExecStart=-@SYSTEMDUTILDIR@/systemd --user
 Environment=DISPLAY=:0