Ooops - I'm sorry but the above patch does not work as expected, since grep finds itself allways. Here a fixed version:
Change if [ -z "$DISPLAY" ] && ! pidof usplash >/dev/null; then to if ! ps -Ao comm,command | grep -q "^X.* vt$(fgconsole) " && ! pidof usplash >/dev/null; then (starting a new line after && should be OK) ** Attachment added: "console-setup-detect-X-patch" http://librarian.launchpad.net/6873027/console-setup-detect-X.patch -- updating console-setup in X destroys screen https://launchpad.net/bugs/93338 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs