Discussion:
[gentoo-user] dev/tty1 permission denied
(too old to reply)
Alex Fortwinder
2006-07-31 16:20:08 UTC
Permalink
When I start screen as a user, I got the following:
Cannot open your teminal 'dev/tty1' - please check.
When I run w3m in console it says that permission denied to dev/tty1
How to set up permission? Thanks
Alex
--
gentoo-***@gentoo.org mailing list
Mike
2006-07-31 16:30:13 UTC
Permalink
Post by Alex Fortwinder
Cannot open your teminal 'dev/tty1' - please check.
When I run w3m in console it says that permission denied to dev/tty1
How to set up permission? Thanks
Alex
chmod 666 /dev/tty1
--
gentoo-***@gentoo.org mailing list
darren kirby
2006-07-31 17:00:09 UTC
Permalink
Post by Mike
Post by Alex Fortwinder
Cannot open your teminal 'dev/tty1' - please check.
When I run w3m in console it says that permission denied to dev/tty1
How to set up permission? Thanks
Alex
chmod 666 /dev/tty1
Or better: add your user to 'tty' group in /etc/group...

-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Richard Fish
2006-07-31 17:00:14 UTC
Permalink
Post by Alex Fortwinder
Cannot open your teminal 'dev/tty1' - please check.
When I run w3m in console it says that permission denied to dev/tty1
How to set up permission? Thanks
Normally when you login to a tty, the login process changes the
permissions on the tty to be owned by the user logging in with
permissions 600. FEX:

With nobody logged in on tty1:
crw------- 1 root root 4, 1 Jul 31 09:45 /dev/tty1

After logging in to tty1:
crw------- 1 rjf tty 4, 1 Jul 31 09:46 /dev/tty1

So how are you logging in to tty1, or how are you starting screen on that tty?

-Richard
--
gentoo-***@gentoo.org mailing list
Loading...