You are not logged in.

#1 2011-07-23 11:02:38

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Can't get any terminal emulator to work [Solved]

At first I thought this was just a problem with Konsole after it's last update. But then I tried to run xterm and installed gnome-terminal. Xterm doesn't even start not in KDE nor in TWM or MWM. The most helpful is gnome-terminal which gives me error message that getpt can't be found. The whole error message reads: An error occured while creating depending process of this terminal. and then getpt failed: No such file or directory. I have no idea what getpt is and how it works.
Terminal on it's own works normally.
I also thought it might be bash, but installing zsh and changing Konsle to it didn't fix the problem.
This is how my Konsole looks like:
konzola.th.png

Last edited by Primoz (2011-07-24 16:56:09)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#2 2011-07-23 11:12:43

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Can't get any terminal emulator to work [Solved]

Search google for "getpt failed"


This silver ladybug at line 28...

Offline

#3 2011-07-23 13:57:08

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Can't get any terminal emulator to work [Solved]

lolilolicon wrote:

Search google for "getpt failed"

Yeah I forgot to do that...
Anyway, with that I found an ArchForum thread with someone having the same problem: https://bbs.archlinux.org/viewtopic.php?id=111418
I did the recommended commands:

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

The first one does nothig.
The second one puts out the fstab pts  entry, so it's not the same problem as in the other thread.
And the third gives me this output:

crw-rw-rw- 1 root tty 5, 2 jul 23 12:18 /dev/ptmx

I still have no idea what's wrong.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2011-07-23 14:16:32

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Can't get any terminal emulator to work [Solved]

It appears /dev/pts failed to mount, try mounting it manually:

# mkdir -p /dev/pts
# mount -t devpts devpts /dev/pts

For a description on devpts, see mount(8) "Mount options for devpts".

Even if this works, the mount failure may indicate some problems. See if there is anything in the logs.

Last edited by lolilolicon (2011-07-23 14:20:04)


This silver ladybug at line 28...

Offline

#5 2011-07-23 15:34:58

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Can't get any terminal emulator to work [Solved]

lolilolicon wrote:

It appears /dev/pts failed to mount, try mounting it manually:

# mkdir -p /dev/pts
# mount -t devpts devpts /dev/pts

For a description on devpts, see mount(8) "Mount options for devpts".

Even if this works, the mount failure may indicate some problems. See if there is anything in the logs.

Yup this solved the problem. I'll check the logs and try to find the reason for this problem.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#6 2011-07-24 14:45:25

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Can't get any terminal emulator to work [Solved]

Well I couldn't find anything of use in logs, though I don't know what I should be looking for. The closest thing to it was the message in xsession-errors.

yakuake(1332)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo teletype 

But I know that's just the error because somewhere in the boot process pts doesn't get mounted. dmesg.log has nothing useful about pts.
What mounts pts? Is it only fstab that manages the mouning process? If so I have no idea what's the problem.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#7 2011-07-24 14:58:00

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Can't get any terminal emulator to work [Solved]

AFAIK, mounting is all done in /etc/rc.sysint.

What if you rebooted? Is the problem reproducible? If not, might as well leave it for now...


This silver ladybug at line 28...

Offline

#8 2011-07-24 15:45:56

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Can't get any terminal emulator to work [Solved]

lolilolicon wrote:

AFAIK, mounting is all done in /etc/rc.sysint.

What if you rebooted? Is the problem reproducible? If not, might as well leave it for now...

Yeah it's reproducable... It happens everytime I reboot or turn on my computer.
But I use a lot of AUR stuff for my startup from e4rat and quickinit. I also use custum ck kernel.
So there are many "breaking" points where something could go wrong.
I just hoped it's something else.
I guess I'll have to chroot into my computer and reinstall the whole base.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#9 2011-07-24 16:55:50

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: Can't get any terminal emulator to work [Solved]

Solved! I had to remove quickinit and e4rat, then restore inittab. Now everything works nicely!
(Now the question for me is, do I wish to try my luck again with either of those just one or none...)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#10 2011-07-24 17:16:53

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Can't get any terminal emulator to work [Solved]

Primoz wrote:

Solved! I had to remove quickinit and e4rat, then restore inittab. Now everything works nicely!
(Now the question for me is, do I wish to try my luck again with either of those just one or none...)

Sure, if you have the time, you can find and file a bug. My guess is it's quickinit... but I don't use either of those tongue


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB