Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
Date: Fri, 13 Mar 2015 23:28:44
Message-Id: 20150313232832.434799b7@digimed.co.uk
In Reply to: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] by Neil Bothwick
1 On Fri, 13 Mar 2015 23:22:50 +0000, Neil Bothwick wrote:
2
3 > Interesting, here, as a normal user:
4 >
5 > % ls -l /dev/tty1
6 > crw--w---- 1 root tty 4, 1 Mar 13 22:26 /dev/tty1
7 >
8 > > So it seems that after login you first have to chmod 770 the tty
9 > > before you do a su - user (user have to be in group tty of course).
10 > >
11 > > Maybe it would ease things when you write a little script for this
12 > > procedure.
13 >
14 > A udev rule would be less kludgy.
15
16 I have this in /lib/udev/rules.d/50-udev-default.rules:
17
18 SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
19
20
21 --
22 Neil Bothwick
23
24 Windows Error #09: Game Over. Exiting Windows.

Replies