[ foodgun ]

26 Apr, 2009

Swing And A Miss

Posted by: vinny In: general

When upgrading from (k)ubuntu Hardy to (k)ubuntu Jaunty, it looked to be seamless. Until I launched konsole, yakuake, or xterm. The former two just returned a cursor sans prompt, the latter just wouldn’t launch. I stumbled on the solution thusly:

  1. Get a console login with Ctrl-Alt-F1
  2. login
  3. run `apt-get command`
    • It doesn’t matter what command, we’re just looking for something that doesn’t return with no action; you just want an error. ‘autoremove’ worked for me)
  4. I got this error: Can not write log, openpty() failed (/dev/pts not mounted?)

and indeed, /dev/pts wasn’t mounted. Mounting /dev/pts manually with `sudo mount -t devpts devpts /dev/pts` gives me a usable konsole. I’d installed virtualbox and modified /etc/init/mountdevusbfs some time ago. According to https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/360160, the workaround is no longert needed, so the custom script can be replaced with the dpkg one and all will be well with your terminals. This still didn’t solve the problem for me. So, I’ve added a line to /etc/fstab:

devpts /dev/pts devpts rw 0 0

which works wonderfully.

Sources:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/360160
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/313947

No Responses to "Swing And A Miss"

Comment Form


  • Stevie G: Your ammonia concentration was FAR, FAR, FAR FAR FAR too weak if you got it off the shelf. At most, store bought ammonia is at %5-%10. To proper
  • mja: Thanks a ton mate!
  • vinny: Nelson, Same result if you add to the font-dirs file in the Xming program folder? How 'bout if you launch Xming from the

About

You really need an "about" with all this stuff to read?