This shows you the differences between two versions of the page.
|
events:bootrecovering [2008/05/10 16:44] lqthai |
events:bootrecovering [2008/05/10 19:05] (current) lqthai |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | == /boot no more availbale == | ||
| + | |||
| Problem: | Problem: | ||
| * the /boot was not mounted during the upgrade | * the /boot was not mounted during the upgrade | ||
| - | * for some reason, we can't mount the /boot after the upgrade | + | * for some reason, we can't mount the /boot after the upgrade (edit: it was because of evms) |
| Ideas: | Ideas: | ||
| Line 35: | Line 37: | ||
| umount /mnt | umount /mnt | ||
| + | == Xubuntu not locking screen after hibernatation == | ||
| + | |||
| + | * add this to the beginning of /etc/acpi/hibernate.sh | ||
| + | |||
| + | for PID in `/usr/bin/pgrep xfdesktop`; do | ||
| + | DBUS_SESSION_BUS_ADDRESS=`(/bin/cat /proc/$PID/environ; /bin/echo)|/usr/bin/tr "\000" "\n"|/bin/grep DBUS_SESSION_BUS_ADDRESS|/bin/sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'` | ||
| + | LOGIN=`/bin/ps -ouser -p $PID --no-headers` | ||
| + | DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS /bin/su $LOGIN /usr/bin/xflock4 | ||
| + | done | ||
| + | |||
| + | http://ubuntuforums.org/showthread.php?t=493697 | ||