I have a VGA to S-Video converter which I use to watch movies on the TV from my laptop, but after I've plugged it the laptop starts freezing whenever I try to suspend it or hibernate it. Can I read some log files to see what is causing this problem?
Asked
Active
Viewed 236 times
1 Answers
2
Logfiles are located in /var/log.
Log files related to suspend:
/var/log/pm-suspend.logOlder entries (# is a number):
/var/log/pm-suspend.log.# /var/log/pm-suspend.log.#.gzThe latter one with the
.gzprefix is a compressed file and must be uncompressed before reading.
Related to the X server (0 is the display number, it's usually 0 unless you switch users):
/var/log/Xorg.0.log /var/log/Xorg.failsafe.logOlder entries:
/var/log/Xorg.0.log.old /var/log/Xorg.failsafe.log.old
Useful commands for the terminal:
Reads the log file and present it in a pager. You can use arrow keys, Page up/Down and Home/End to navigate. Compressed files are recognized too, there is no need to uncompress them before use:
less /var/log/pm-suspend.logUncompressed a file and saves it to
file. The latter program (gunzip) removes the originalfile.gzfilezcat file.gz > file gunzip file.gzMonitor logs (add new lines as they are added):
tail -f /var/log/kern.logList log files, sorted by last modification date:
ls -lAtr /var/log
Lekensteyn
- 178,446