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 40EF5138CBF for ; Fri, 13 Mar 2015 23:13:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F160E0994; Fri, 13 Mar 2015 23:12:56 +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 B1931E0975 for ; Fri, 13 Mar 2015 23:12:54 +0000 (UTC) Received: by labjg1 with SMTP id jg1so966414lab.2 for ; Fri, 13 Mar 2015 16:12:53 -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=IJyhT/OMxCzkUkOSvffGZMOEOkgSeHxPWrGUtY22Hbk=; b=032td67hUHeP4rcg3RRwG9+w9zavhAWKCJglDZjWCCGGlPTTcdL468l9o1rD/vc6vD IaLuWzpR9MxwmgcfnIP6NE2RifsNiV5tdolE15/Vpgnxi7blBQjduWpeYaETvAptn5Ek mntEWcfgQ8dOO/QVOQwQ4nS5C+4LTeVSrU9u6Hv4rOBvSaHLmhWjIGrvleUpMXB/+8cv R8uDo7BxnJnas1uUoir4u8fXbHDKqcM2SbgRhGCD4CNxy1+mikBUjxm3H+jywo4kVGMt ZnTs267hDak2HXpQW3Y31kKOKMeQoa863jm3GT4j5G0BoKV6cyyO66Nsa9v1xkudLN4r l1kg== X-Received: by 10.112.139.99 with SMTP id qx3mr161715lbb.44.1426288373327; Fri, 13 Mar 2015 16:12:53 -0700 (PDT) Received: from digger ([178.70.87.218]) by mx.google.com with ESMTPSA id a10sm666310lbk.12.2015.03.13.16.12.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 16:12:52 -0700 (PDT) Date: Fri, 13 Mar 2015 19:12:48 -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: <20150313191248.bd436d15b41d1ce790bc836f@gmail.com> 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> 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: 57e91cd2-a6b8-485f-8c3c-bc4a1aaac368 X-Archives-Hash: bd2efb5fefaee2cda1b9f1b8edab2784 On Sat, 14 Mar 2015 00:00:34 +0100 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. Yes, it didn't resolve my problem. The only solution for now is to run "scr= ipt /dev/null". Then I can run screen as a user. People are having the same problem all ove= r the net. >=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 > Maybe it would ease things when you write a little script for this > procedure. >=20 > -- > Regards > wabe >=20 --=20 German