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 01:10:00
Message-Id: 1706571.0I856MBjmX@localhost
In Reply to: Re: [gentoo-user] Konsole issue by Colleen Beamer
1 Am Sonntag, 1. Januar 2012, 20:01:04 schrieb Colleen Beamer:
2 > On 01/01/12 19:32, Volker Armin Hemmann wrote:
3 > > Am Sonntag, 1. Januar 2012, 19:10:25 schrieb Colleen Beamer:
4 > >> On 01/01/12 18:48, Volker Armin Hemmann wrote:
5 > >>> Am Sonntag, 1. Januar 2012, 18:20:55 schrieb Colleen Beamer:
6 > >>>> On 01/01/12 18:06, Volker Armin Hemmann wrote:
7 > >>>>> Am Sonntag, 1. Januar 2012, 17:36:02 schrieb Colleen Beamer:
8 > >>>>>> On 01/01/12 17:15, Volker Armin Hemmann wrote:
9 > >>>>>>> Am Sonntag, 1. Januar 2012, 16:51:23 schrieb Colleen Beamer:
10 > >>>>>>>>> What happens if you run xterm?
11 > >>>>>>>>
12 > >>>>>>>> In response, konsole was working just find earlier today - I had a
13 > >>>>>>>> command prompt and everything. I had to install xterm, but on
14 > >>>>>>>> install
15 > >>>>>>>> I could run xterm and it provides me with a command prompt.
16 > >>>>>>>
17 > >>>>>>> so what happens when you start konsole out of xterm? Any messages?
18 > >>>>>>> Do
19 > >>>>>>> you
20 > >>>>>>> find anything in .xsession-errors?
21 > >>>>>>
22 > >>>>>> Starting konsole out of xterm results in the same issue - no prompt.
23 > >>>>>>
24 > >>>>>> From .xsession-errors the following related to konsole was provided,
25 > >>>>>> but
26 > >>>>>> I have no idea how to go about fixing this:
27 > >>>>>>
28 > >>>>>> konsole(8283)/kdecore (KPty/K3Process) KPty::open: Can't open a
29 > >>>>>> pseudo
30 > >>>>>> teletype
31 > >>>>>> konsole(8283) Konsole::Pty::flowControlEnabled: Unable to get flow
32 > >>>>>> control status, terminal not connected.
33 > >>>>>> konsole(8283) Konsole::Pty::start: Unable to set terminal attributes.
34 > >>>>>
35 > >>>>> Bingo.
36 > >>>>>
37 > >>>>> well, check that /dev/pts is mounted. Did you have any consolekit,
38 > >>>>
39 > >>>> udev, dbus
40 > >>>>
41 > >>>>> updates? Are the permissions set correctly? have you recompiled
42 > >>>>> kdelibs?
43 > >>>>>
44 > >>>>> But this is exactly your problem - google for it.
45 > >>>>
46 > >>>> No updates - konsole was working less than 15 minutes prior to sending
47 > >>>> my first message. Will trying googling. Thanks.
48 > >>>
49 > >>> is consolekit still running? does the problem persist after a reboot?
50 > >>
51 > >> Since my last response, I have checked that /dev/pts is mounted and it
52 > >> is. The console-kit-daemon appears to be running. I checked
53 > >> permissions of /dev/pts - they look okay, but I'm not sure what they
54 > >> should be because I've never had an issue like this before. This is
55 > >> what they are:
56 > >>
57 > >> total 0
58 > >> drwxr-xr-x 2 root root 0 Jan 1 17:06 .
59 > >> drwxr-xr-x 17 root root 4680 Jan 1 17:07 ..
60 > >> crw------- 1 colleen colleen 136, 0 Jan 1 19:07 0
61 > >
62 > > should look like this:
63 > > ls -hl /dev/pts
64 > > insgesamt 0
65 > > crw--w---- 1 <user> tty 136, 0 30. Dez 21:37 0
66 > > crw------- 1 <user> tty 136, 1 2. Jan 01:20 1
67 > > crw------- 1 <user> tty 136, 2 1. Jan 21:15 2
68 > > crw------- 1 <user> tty 136, 3 1. Jan 23:19 3
69 > > crw------- 1 <user> tty 136, 4 1. Jan 21:31 4
70 > >
71 > > so the question is, where did it get borked. To clear something up, what
72 > > did you emerge in the time before this happend? Also, useflags for
73 > > kdelibs please.
74 > I didn't emerge anything before this happened.
75 >
76 > Use flags for kdelibs are as follows:
77 >
78 > -3dnow
79 > +acl
80 > +alsa
81 > -bindist
82 > +bzip
83 > -debug
84 > -doc
85 > -fam
86 > +handbook
87 > -jpeg2k
88 > -kerberos
89 > -lzma
90 > +mmx
91 > +nls
92 > -openexr
93 > +opengl
94 > +policykit
95 > -semantic-desktop
96 > -spell
97 > +sse
98 > +sse2
99 > +ssl
100 > -test
101 > +udev
102 > +udisks
103 > +upower
104 > -zeroconf
105 >
106 > > I also tried googling, but haven't found anything that made any sense to
107 > > me.
108 > >
109 > > try googling pts permissions.
110 > >
111 > > When you cat mtab, do you find something like this:
112 > > /etc/mtab:
113 > > devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
114 > >
115 > > is the devfs initscript run? does it look ok?
116 > > (having this:
117 > > devpts /dev/pts 0755 ,gid=5,mode=0620 devpts
118 >
119 > This is the output from "cating" mtab:
120 >
121 > devpts /dev/pts devpts rw,relatime,mode=600 0 0
122
123 now compare that with my line.
124
125 Then find out which script does it to you. Do you have a devpts entry in fstab?
126
127 Correct it, you are done.
128
129 And I should have gone to bed 4h ago. Old men need sleep (/me feels older than
130 I am.)
131
132 --
133 #163933