You are not logged in.

#1 2011-01-09 05:34:38

tacostick
Member
Registered: 2010-07-20
Posts: 27

[SOLVED] Can't Open Terminal (getpt failed: No such file or directory)

This is really weird. Ever since earlier this evening, I can no longer open terminal emulators on my computer -- they can't spawn the child process. Sakura left me with a blank black window, and gnome-terminal said

There was an error creating the child process for this terminal.
getpt failed: No such file or directory.

I thought this had something to do with Cope (the colorizing program), because I went to a tty and /bin/ls wouldn't work--I guess something in the /usr/share/perl5 directory was messed up. But I disabled Cope (i.e., removed the perl5 stuff from my $PATH in /etc/profile) and terminals still won't open!

Possible triggers:
I updated today, and part of the update was coreutils. Is  "getpt" part of coreutils? Also, I removed kdebase and some other kde packages before my update, if that may have done something. Only other thing I can think of is, I tried out backintime, the backup program, a few hours before this nonsense started. One of the directories set to back up was /etc.

Any ideas or questions are greatly appreciated -- I'm thinking about reinstalling! sad

Last edited by tacostick (2011-01-09 16:54:52)

Offline

#2 2011-01-09 14:05:45

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: [SOLVED] Can't Open Terminal (getpt failed: No such file or directory)

What's the output of the following commands?

# mount | grep pts
# grep pts /etc/fstab
# ls -l /dev/ptmx

Offline

#3 2011-01-09 15:54:38

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Can't Open Terminal (getpt failed: No such file or directory)

The first two returned nothing, and the third one executed successfully. Actually, I think the problem may be my /etc/fstab file. I just remembered that I also recently tried to fix automounting, and may have altered the fstab file. Any way I can revert it? I don't have a tilde version in /etc.

Offline

#4 2011-01-09 16:29:26

tacostick
Member
Registered: 2010-07-20
Posts: 27

Re: [SOLVED] Can't Open Terminal (getpt failed: No such file or directory)

The problem WAS /etc/fstab! Thanks! Yeah, I used "mountmanager" to try to set up automounting, and I guess it rewrote my fstab file without making a backup? And what it wrote was broken? Piece of shit.

Anyway, how can I make this thread say "Solved"? smile

Offline

#5 2011-01-09 16:54:05

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: [SOLVED] Can't Open Terminal (getpt failed: No such file or directory)

tacostick wrote:

Anyway, how can I make this thread say "Solved"? smile

By editing your first post...

Offline

Board footer

Powered by FluxBB