You are not logged in.

#1 2013-08-14 06:23:56

lomov_vl
Member
From: Russia, Irkutsk
Registered: 2010-01-20
Posts: 34
Website

Possible issue with pseudo-tty initialization and its resolution

Hello,
today after installation of updates (linux, glibc, gcc*,systemd,zsh,..) and rebooting computer (notebook1 and notebook2) I faced with a problem:

  • tmux wasn't able to run in tty;

  • rxvt or any other terminal emulator for X wasn't able to open a window.

In logs I saw "can't open pseudo-tty" (rxvt) or "Can't open a pseudo teletype" (konsole) (may be not exact words).

I don't know what cause this problem (on second notebook before glibc and gcc update all was fine) but I found that devpts was mounted with wrong options, mounting devpts with

gid=5,mode=620

resolve the problem: tmux runs in tty and rxvt in X (don't check konsole though).

P.S. The same options are used on installation media

P.P.S. I post this message for reference, may be someone else faced similar problem.

Offline

#2 2013-08-14 08:50:40

misc
Member
From: Bavaria, Germany
Registered: 2010-03-22
Posts: 115

Re: Possible issue with pseudo-tty initialization and its resolution

Posted that yesterday on the bugtracker, as Rémy Oudompheng wrote, with systemd it's enough to just kill the devpts line in fstab altogether.

Offline

#3 2013-08-14 09:05:51

lomov_vl
Member
From: Russia, Irkutsk
Registered: 2010-01-20
Posts: 34
Website

Re: Possible issue with pseudo-tty initialization and its resolution

Thanks, I'll try today on my second notebook.
cool

Edit: for the record: removing line with 'devpts' from /etc/fstab works like a charm.

Last edited by lomov_vl (2013-08-14 11:52:45)

Offline

Board footer

Powered by FluxBB