You are not logged in.

#1 2013-09-25 16:02:14

undeadb
Member
Registered: 2013-09-25
Posts: 3

Virtual terminal problems (konsole, lxterminal)

Hi,

I did not find the solution for my particular problem, where the virtual terminal can't connect to the bash execution.

I'm using arch linux including all repos [testing, community-testing], and after a update, I'm unable to run konsole or lxterminal. However, xterm does work. I'm using kde 4 enviorment.
Whenever I run konsole from xterm I get:

 $ konsole
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
konsole(3236)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo teletype 
konsole(3236) Konsole::Pty::flowControlEnabled: Unable to get flow control status, terminal not connected.

An konsole window appears, but no prompt or anything. If I do an ps -A | grep bash it gives an bash execution not connected anywhere:

 3288 ?        00:00:00 bash

if I kill it, then this message appears on the konsole terminal:

Warning: Program '/bin/bash' crashed.

I did search for it before, and found out the topic Terminal not running, but my devpts and shm are mounted correctly.

mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=4082808k,nr_inodes=1020702,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /Fedora type ext4 (rw,relatime,data=ordered)
/dev/sdb1 on /windows type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /data type ext4 (rw,relatime,data=ordered)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)

Any clues?
Regards
Diogo

Offline

#2 2013-09-25 16:57:41

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Virtual terminal problems (konsole, lxterminal)

undeadb wrote:

and after a update

What packages did you update?

Offline

#3 2013-09-25 17:07:30

undeadb
Member
Registered: 2013-09-25
Posts: 3

Re: Virtual terminal problems (konsole, lxterminal)

Mostly everything, was 4 months without a update. Got over 2GB of downloads. It did update kde.

Offline

#4 2013-09-26 09:42:13

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Virtual terminal problems (konsole, lxterminal)

Why do you use [testing] if you update every 4 months? tongue Anyway, please post /etc/fstab.

Offline

#5 2013-09-26 12:12:42

undeadb
Member
Registered: 2013-09-25
Posts: 3

Re: Virtual terminal problems (konsole, lxterminal)

I usually update it daily, but I was concluding my MsC benchmarks so I was using only Fedora.

fstab "the devpts and shm lines":

devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

Last edited by undeadb (2013-09-26 13:23:40)

Offline

#6 2013-09-26 14:09:25

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Virtual terminal problems (konsole, lxterminal)

undeadb wrote:

Mostly everything, was 4 months without a update. Got over 2GB of downloads. It did update kde.

Then I think the problem is related to the merging of all applications into "/usr/bin". "/bin/bash" kind of doesn't exist anymore.

Did you read the Arch Linux announcements before updating? big_smile

If you do think that's the problem, then I don't know what you can do to fix it. I'm not smart enough. I'd probably just reinstall the OS. hmm

Offline

#7 2013-09-26 19:27:31

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

Re: Virtual terminal problems (konsole, lxterminal)

I'm facing the same problem. Konsole starts up but no prompt appears. Byobu also fails to start. tty1 is having another issue but I think it is not related. tty2 works just fine. I also updated after about 2 months... but I think I got all the creases ironed out with the merging to /usr/bin

Offline

#8 2013-09-26 19:44:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Virtual terminal problems (konsole, lxterminal)

undeadb wrote:

I usually update it daily, but I was concluding my MsC benchmarks so I was using only Fedora.

fstab "the devpts and shm lines":

devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

Remove both those lines, systemd handles that now.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB