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 BFED0138CA3 for ; Sat, 14 Mar 2015 10:08:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A451AE08E0; Sat, 14 Mar 2015 10:08:54 +0000 (UTC) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5384CE089D for ; Sat, 14 Mar 2015 10:08:53 +0000 (UTC) Received: by ladw1 with SMTP id w1so7030888lad.0 for ; Sat, 14 Mar 2015 03:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=Qw3//8HZlGtGxKLwPc7ydSYGsYU0zcFO227qWx2gLI4=; b=HJaZZjGHlNKWzpd7/BmUVgqgU7ihJDdNg1FS9H6ynmR/b7l2DMYc7M5Zn+dn/QxsNp US+KnYH2CzZJ7RSdpP5ZO5Z6SsdQehOZRGXWQeWocj7g8RJAkgj7ToAu0pAZhwPmZ8T+ UcXcrRYN0WMliAYZjuyylkwR44lud9OboHfMrWy/+T78Mm8hy8XR7ii20t7rZ1/WTCOx bzk3CVLfNrzQKclJmX1Bbe9SKWDe9iltT9ztNdEyEcSs5ZllQjwX1jyZqo/gwMZ/pS+8 OVLm1jlAmh7HjrV0TW8r4msBYFEWvEqELn/5ZUv3LSgBq5g1ZztmrPJOeWeoPz1toSA3 zqtA== X-Received: by 10.152.178.164 with SMTP id cz4mr46233398lac.39.1426327731829; Sat, 14 Mar 2015 03:08:51 -0700 (PDT) Received: from digger ([178.70.87.218]) by mx.google.com with ESMTPSA id p11sm900687lbs.13.2015.03.14.03.08.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Mar 2015 03:08:49 -0700 (PDT) Date: Sat, 14 Mar 2015 06:08:34 -0400 From: German To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] Message-Id: <20150314060834.3492e89c7ac2e449c93a2319@gmail.com> In-Reply-To: <20150314011632.53fda22f@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> <20150314011632.53fda22f@hal9000.localdomain> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; x86_64-pc-linux-gnu) 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: e39801fb-df00-4592-9354-a354dcc9c4d5 X-Archives-Hash: 1614a5d3ed4c1e2f3ffeba1fcb278d3c On Sat, 14 Mar 2015 01:16:32 +0100 wrote: > wrote: >=20 > > 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). >=20 > Forget about "chmod 770". Better do a "chmod g+rw". :-) Tried it, it also doesn't stay permanently. OK, no solution :( >=20 > -- > Regards > wabe >=20 --=20 German