pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cannot start xterm on NetBSD-4.0



Aleksey Cheusov wrote:
>  >>   0 ~>xterm
>  >>   xterm: Error 32, errno 2: No such file or directory
>  >>   Reason: get_pty: not enough ptys
>  >>   32 ~>
>  >> 
>  >> and there is no /dev/pts directory on my system
> 
> > # echo '/dev/pts /dev/pts ptyfs rw,auto,hidden' >> /etc/fstab
> > # mkdir -m 0755 /dev/pts
> > # mount /dev/pts
> 
> I still have a problem.
> 
> - On my system /dev is mount_mfs'ed at boot time
> - After mounting /dev and creating files in it there are
>   no /dev/pts directory and therefore mount /dev/pts fails
> - Also there are no /dev/ptm{,x} files which I guess are also necessary
> - After manual running the following commands
>       cd /dev
>       ./MAKEDEV ptm
>       mkdir pts
>       mount pts

You can add this to MAKEDEV under "init)":
        makedev ptm
        mkdir -m 0755 /dev/pts

>   xterm seems to work but says
>     utmp_update: Cannot update utmp entry: Resource temporarily unavailable
>     utmp_update: Cannot update utmp entry: Undefined error: 0

Have you searched for "Cannot update utmp entry"? Same problem, same solution?
 
-- 
Christian


Home | Main Index | Thread Index | Old Index