Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Konsole issue
Date: Mon, 02 Jan 2012 00:35:57
Message-Id: 10301883.pLQqNdQDRb@localhost
In Reply to: Re: [gentoo-user] Konsole issue by Colleen Beamer
1 Am Sonntag, 1. Januar 2012, 19:10:25 schrieb Colleen Beamer:
2 > On 01/01/12 18:48, Volker Armin Hemmann wrote:
3 > > Am Sonntag, 1. Januar 2012, 18:20:55 schrieb Colleen Beamer:
4 > >> On 01/01/12 18:06, Volker Armin Hemmann wrote:
5 > >>> Am Sonntag, 1. Januar 2012, 17:36:02 schrieb Colleen Beamer:
6 > >>>> On 01/01/12 17:15, Volker Armin Hemmann wrote:
7 > >>>>> Am Sonntag, 1. Januar 2012, 16:51:23 schrieb Colleen Beamer:
8 > >>>>>>> What happens if you run xterm?
9 > >>>>>>
10 > >>>>>> In response, konsole was working just find earlier today - I had a
11 > >>>>>> command prompt and everything. I had to install xterm, but on install
12 > >>>>>> I could run xterm and it provides me with a command prompt.
13 > >>>>>
14 > >>>>> so what happens when you start konsole out of xterm? Any messages? Do
15 > >>>>> you
16 > >>>>> find anything in .xsession-errors?
17 > >>>>
18 > >>>> Starting konsole out of xterm results in the same issue - no prompt.
19 > >>>>
20 > >>>> From .xsession-errors the following related to konsole was provided,
21 > >>>> but
22 > >>>> I have no idea how to go about fixing this:
23 > >>>>
24 > >>>> konsole(8283)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo
25 > >>>> teletype
26 > >>>> konsole(8283) Konsole::Pty::flowControlEnabled: Unable to get flow
27 > >>>> control status, terminal not connected.
28 > >>>> konsole(8283) Konsole::Pty::start: Unable to set terminal attributes.
29 > >>>
30 > >>> Bingo.
31 > >>>
32 > >>> well, check that /dev/pts is mounted. Did you have any consolekit,
33 > >>
34 > >> udev, dbus
35 > >>
36 > >>> updates? Are the permissions set correctly? have you recompiled kdelibs?
37 > >>>
38 > >>> But this is exactly your problem - google for it.
39 > >>
40 > >> No updates - konsole was working less than 15 minutes prior to sending
41 > >> my first message. Will trying googling. Thanks.
42 > >
43 > > is consolekit still running? does the problem persist after a reboot?
44 >
45 > Since my last response, I have checked that /dev/pts is mounted and it
46 > is. The console-kit-daemon appears to be running. I checked
47 > permissions of /dev/pts - they look okay, but I'm not sure what they
48 > should be because I've never had an issue like this before. This is
49 > what they are:
50 >
51 > total 0
52 > drwxr-xr-x 2 root root 0 Jan 1 17:06 .
53 > drwxr-xr-x 17 root root 4680 Jan 1 17:07 ..
54 > crw------- 1 colleen colleen 136, 0 Jan 1 19:07 0
55 >
56
57
58 should look like this:
59 ls -hl /dev/pts
60 insgesamt 0
61 crw--w---- 1 <user> tty 136, 0 30. Dez 21:37 0
62 crw------- 1 <user> tty 136, 1 2. Jan 01:20 1
63 crw------- 1 <user> tty 136, 2 1. Jan 21:15 2
64 crw------- 1 <user> tty 136, 3 1. Jan 23:19 3
65 crw------- 1 <user> tty 136, 4 1. Jan 21:31 4
66
67 so the question is, where did it get borked. To clear something up, what did
68 you emerge in the time before this happend? Also, useflags for kdelibs please.
69
70
71 > I have rebooted multiple times to no avail.
72
73 yeah because something sets the permissions wrong.
74
75 >
76 > I also tried googling, but haven't found anything that made any sense to me.
77 >
78
79 try googling pts permissions.
80
81 When you cat mtab, do you find something like this:
82 /etc/mtab:
83 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
84
85 is the devfs initscript run? does it look ok?
86 (having this:
87 devpts /dev/pts 0755 ,gid=5,mode=0620 devpts
88 )
89
90 --
91 #163933

Replies

Subject Author
Re: [gentoo-user] Konsole issue Colleen Beamer <colleen.beamer@×××××.com>