PDA

View Full Version : Graphical login absent while running script command



clarkgr1
July 22nd, 2014, 01:50 PM
I'm running Ubuntu 12.04 LTS (lightdm manager) and attempting to log all terminal input and output using both auditd and the script command. For users, I place "script -a -f /LOG_files/LOG.txt" in their write-protected ~/.profile (auditd also writes to the same file). For some reason, the script command causes graphical login to abort - very similar to authority problems others had with ~/.Xauthority, but this is not the problem.

(I've also tried launching the script command at boot via /etc/init.d/ which solves the graphical login problem, but then logging doesn't write to the file).

Any ideas would be great!