I enabled hibernation on my Xubuntu 12.10 installation as per this documentation:
It seemed to sort of work: I had a Terminal and a Firefox window open, I hibernated my laptop, restarted and there were my windows, as expected. However, what I was doing in those programs was not loaded; I just got fresh windows.
Furthermore, I now have an odd side effect: every time I log into Xubuntu, it automatically starts up a Terminal and Firefox. To clarify, I'm talking about a fresh boot after the machine has been powered down, left for the night, booted into Xubuntu, booted into Windows, booted into Xubuntu etc. It still keeps doing it. They're just fresh windows, e.g. Firefox doesn't have any sites open but just goes to the start page. I checked my startup programs and neither of them are listed.
It gets worse, too. Now, hibernation doesn't work anymore! When I try to hibernate, nothing happens. When I go pm-hibernate, nothing happens (no output either.)
I'm at a loss. Does anyone know what's going on here?