public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: <wabenbau@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
Date: Sat, 14 Mar 2015 01:16:32 +0100	[thread overview]
Message-ID: <20150314011632.53fda22f@hal9000.localdomain> (raw)
In-Reply-To: <20150314000034.10ed9854@hal9000.localdomain>

<wabenbau@gmail.com> wrote:

> Neil Bothwick <neil@digimed.co.uk> wrote:
> 
> > On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:
> > 
> > > 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
> > 
> > /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är 17:49 /dev/tty1
> 
> When I logged in as root, then owner is root (not surprising).
> 
> crw------- 1 root  tty  4,  2 13. Mär 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).

Forget about "chmod 770". Better do a "chmod g+rw". :-)

--
Regards
wabe


  parent reply	other threads:[~2015-03-14  0:17 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 15:52 [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check German
2015-03-13 15:59 ` Neil Bothwick
2015-03-13 16:06   ` German
2015-03-13 16:11     ` Canek Peláez Valdés
2015-03-13 16:22       ` German
2015-03-13 16:31         ` Canek Peláez Valdés
2015-03-13 16:38           ` German
2015-03-13 19:16   ` [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] German
2015-03-13 22:28     ` Neil Bothwick
2015-03-13 23:00       ` wabenbau
2015-03-13 23:12         ` German
2015-03-13 23:22         ` Neil Bothwick
2015-03-13 23:28           ` Neil Bothwick
2015-03-13 23:33             ` German
2015-03-13 23:55             ` Peter Humphrey
2015-03-14  0:07               ` wabenbau
2015-03-14  0:14                 ` wabenbau
2015-03-14 16:13                   ` Tom H
2015-03-14  0:16         ` wabenbau [this message]
2015-03-14 10:08           ` German
2015-03-14 10:33             ` Neil Bothwick
2015-03-14 10:47               ` German
2015-03-14 18:53                 ` Matti Nykyri
2015-03-14 19:23                   ` Alan McKinnon
2015-03-15  7:21                     ` Matti Nykyri
2015-03-15  9:52                   ` Peter Humphrey
2015-03-17 16:11                   ` German
2015-03-17 17:16                     ` Matti Nykyri
2015-03-17 17:33                       ` German
2015-03-17 18:39                         ` Matti Nykyri
2015-03-17 19:52                           ` German
2015-03-17 20:14                             ` Matti Nykyri
2015-03-17 20:31                               ` German
2015-03-17 15:36               ` German
2015-03-14 18:03             ` Tom H
2015-03-17 15:42               ` German
2015-03-17 20:59                 ` Tom H
2015-03-13 23:10       ` Peter Humphrey
2015-03-13 23:25         ` Neil Bothwick
2015-03-13 23:50           ` Peter Humphrey
2015-03-13 21:18   ` [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Yet another update] German

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150314011632.53fda22f@hal9000.localdomain \
    --to=wabenbau@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox