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 41BFB138CBF for ; Fri, 13 Mar 2015 23:01:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58CAAE0952; Fri, 13 Mar 2015 23:01:22 +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 48CB7E08E5 for ; Fri, 13 Mar 2015 23:01:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.web-xs.org (Postfix) with ESMTP id 488486EC1B99 for ; Sat, 14 Mar 2015 00:01:19 +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 KcZ28xBxA4+E for ; Sat, 14 Mar 2015 00:01:16 +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 A92F66EC1AFC for ; Sat, 14 Mar 2015 00:01:16 +0100 (CET) Received: from hal9000.localdomain (hal.localdomain [192.168.0.2]) by server-1.localdomain (Postfix) with ESMTP id B41B83F95A for ; Sat, 14 Mar 2015 00:01:15 +0100 (CET) Date: Sat, 14 Mar 2015 00:00:34 +0100 From: To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] Message-ID: <20150314000034.10ed9854@hal9000.localdomain> In-Reply-To: <20150313222829.2423b7f6@digimed.co.uk> References: <20150313115241.60fee51b1e2d361dcdd99f7c@gmail.com> <125a8276-2199-4dae-8dc9-619ca436e548@email.android.com> <20150313151628.cc840cdef745f8947c944afd@gmail.com> <20150313222829.2423b7f6@digimed.co.uk> 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: 67605d67-59f4-49bb-9f20-cc051ac5d30b X-Archives-Hash: 98d28ad0a306d9164c755a3478559dfc Neil Bothwick wrote: > 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. When I logged in as regular user then ownership of the tty that I used for log in is: crw------- 1 wabe tty 4, 1 13. M=E4r 17:49 /dev/tty1 When I logged in as root, then owner is root (not surprising). crw------- 1 root tty 4, 2 13. M=E4r 23:47 /dev/tty2 Adding your user to group tty probably wouldn't resolve your problem (not tested), because group doesn't have any rights. 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). Maybe it would ease things when you write a little script for this procedure. -- Regards wabe