[Eug-lug] bad terms
Rob Hudson
rob at euglug.net
Fri Apr 30 17:52:57 PDT 2004
On 20040430.1551, Bob Miller said ...
> Rob Hudson wrote:
>
> > I see the 1st 2 lines and I have an xterm waiting for me when I
> > Ctrl-Alt-F7 back to the X window. It's as root.
> >
> > If I do it as my user I get what looks like the last 4 lines of your
> > output, and no xterm.
>
> Maybe it's a permissions problem on the ptys.
>
> Check the permissions on /dev/ptmx and /dev/pts.
>
> $ ls -ld /dev/ptmx /dev/pts
> crw-rw-rw- 1 root root 5, 2 Apr 30 15:48 /dev/ptmx
> drwxr-xr-x 2 root root 0 Apr 27 16:41 /dev/pts/
I did this:
# ls -ld /dev/ptmx /dev/pts/
crw-rw---- 1 root tty 5, 2 Apr 29 16:59 /dev/ptmx
drwxr-xr-x 2 root root 0 Apr 29 13:47 /dev/pts/
# chmod o+rw /dev/ptmx
# ls -ld /dev/ptmx /dev/pts/
crw-rw-rw- 1 root tty 5, 2 Apr 29 16:59 /dev/ptmx
drwxr-xr-x 2 root root 0 Apr 29 13:47 /dev/pts/
And now I can get an terminal.
Is it ok what I did?
More information about the EUGLUG
mailing list