From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 015A1138CBF for ; Sat, 14 Mar 2015 00:17:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44CFDE09C9; Sat, 14 Mar 2015 00:16:58 +0000 (UTC) Received: from mail.web-xs.org (mail.web-xs.org [148.251.4.204]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C76A1E0966 for ; Sat, 14 Mar 2015 00:16:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.web-xs.org (Postfix) with ESMTP id 8EB4B6EC1DE6 for ; Sat, 14 Mar 2015 01:16:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.web-xs.org Received: from mail.web-xs.org ([127.0.0.1]) by localhost (mail.web-xs.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id POSeOGrtOLuU for ; Sat, 14 Mar 2015 01:16:54 +0100 (CET) Received: from server-1.localdomain (p54A7189B.dip0.t-ipconnect.de [84.167.24.155]) (Authenticated sender: lukas@der-erste-sinn.de) by mail.web-xs.org (Postfix) with ESMTPA id 03F9F6EC059E for ; Sat, 14 Mar 2015 01:16:53 +0100 (CET) Received: from hal9000.localdomain (hal.localdomain [192.168.0.2]) by server-1.localdomain (Postfix) with ESMTP id 9E8683F95A for ; Sat, 14 Mar 2015 01:16:53 +0100 (CET) Date: Sat, 14 Mar 2015 01:16:32 +0100 From: To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] Message-ID: <20150314011632.53fda22f@hal9000.localdomain> In-Reply-To: <20150314000034.10ed9854@hal9000.localdomain> References: <20150313115241.60fee51b1e2d361dcdd99f7c@gmail.com> <125a8276-2199-4dae-8dc9-619ca436e548@email.android.com> <20150313151628.cc840cdef745f8947c944afd@gmail.com> <20150313222829.2423b7f6@digimed.co.uk> <20150314000034.10ed9854@hal9000.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4890bf73-5d93-47f7-9d2e-a309231668b0 X-Archives-Hash: f6a2c0c5ebc0daf867f4f7cbe56ef8e7 wrote: > Neil Bothwick wrote: >=20 > > On Fri, 13 Mar 2015 15:16:28 -0400, German wrote: > >=20 > > > after searching, I found the following solution to chmod tty1, > > > like so: chmod o+rw /dev/tty1 and this worked, I was able to use > > > screen as a user, however it doesn't stay permanently; after > > > reboot, I got the same problem. How to chmod tty1 so changes stay > > > permenently? Thanks > >=20 > > /dev/tty1 is already group writeable, so you should get the same > > result by adding your user to the tty group. >=20 > When I logged in as regular user then ownership of the tty that I > used for log in is: >=20 > crw------- 1 wabe tty 4, 1 13. M=E4r 17:49 /dev/tty1 >=20 > When I logged in as root, then owner is root (not surprising). >=20 > crw------- 1 root tty 4, 2 13. M=E4r 23:47 /dev/tty2 >=20 > Adding your user to group tty probably wouldn't resolve your problem > (not tested), because group doesn't have any rights. >=20 > So it seems that after login you first have to chmod 770 the tty > before you do a su - user (user have to be in group tty of course). Forget about "chmod 770". Better do a "chmod g+rw". :-) -- Regards wabe