You are not logged in.

#1 2014-12-27 02:11:22

xganesh
Member
Registered: 2010-03-15
Posts: 33

Both Terminator and Konsole fail

xterm, however, works fine.

When I open either Terminator or Konsole, I get (where the prompt should be):

Unable to start shell:/bin/zsh

Additionally, when I start Konsole from xterm, on xterm, I see

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

Then, when I close either Terminator or Konsole after this message, my whole X session crashes.

My DE is lxde.
My display manager is xdm-archlinux.

uname -a

Linux thimm 3.18.1-3-ck #1 SMP PREEMPT Mon Dec 22 13:48:58 EST 2014 x86_64 GNU/Linux

/etc/fstab

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
#/dev/mapper/gr-tmp /tmp ext4 defaults 0 2
/dev/mapper/gr-home /home ext4 defaults,noatime 0 2
/dev/mapper/gr-swap none swap defaults 0 0
/dev/disk/by-uuid/a8a9b1e9-0fa6-40e8-be94-4d445cc63d92 /boot ext3 defaults 0 2
/dev/mapper/gr-root / ext4 defaults,noatime 0 1
/dev/mapper/gr-var /var ext4 defaults 0 2
/dev/mapper/gr-vm /VM ext4 defaults 0 2
/dev/mapper/gr-ovas /OVAS ext4 defaults 0 2
/dev/mapper/gr-para /PA ext4 defaults 0 2
/dev/mapper/gr-co /CO ext4 defaults 0 2
/dev/mapper/gr-es /ESP ext4 defaults 0 2
/dev/mapper/gr-isos /ISOS ext4 defaults 0 2
/dev/disk/by-uuid/7107c3ca-4365-4915-967b-99aaf4549b23 /resc ext3 defaults 0 2

mount |grep pts

devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)

I would appreciate some guidance as to how to start troubleshooting this problem.

Offline

#2 2014-12-27 02:57:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Both Terminator and Konsole fail

Are you using zsh in xterm too?
What's the output of

file /bin/zsh

I have

$ mount |grep pts
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

Offline

#3 2014-12-27 16:59:46

xganesh
Member
Registered: 2010-03-15
Posts: 33

Re: Both Terminator and Konsole fail

Thanks for replying smile
I use zsh on xterm without any problem. I use it for almost everything as a user, but for root I use bash (for fear of messing up basic configs in the system).

$ file /bin/zsh

/bin/zsh: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=e144dd269482ebf8771a0a791b7f4ead10437ccd, stripped

I have several other Arch boxen whose output after $ mount |grep pts is exactly the same as yours and have no problem whatsoever.
So, that may be where the problem is!!

So this computer is not mounting /dev/pts right?

Last edited by xganesh (2014-12-27 17:03:19)

Offline

#4 2014-12-27 17:46:17

xganesh
Member
Registered: 2010-03-15
Posts: 33

Re: Both Terminator and Konsole fail

@karol,

I added the following line to /etc/fstab:

devpts	/dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

Now the problem with both Terminator and Konsole is gone.

However,
Why did I have to modify fstab like that, if systemd normally should take care of that mount?
That means I have something misconfigured with systemd?

Offline

Board footer

Powered by FluxBB