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

Re: Command 'su' is not working in virtual console



devpts is mounted:

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

$TTY is empty but the same is on another machine where this is working.

On 12/16/2011 09:41 PM, Noah Meyerhans wrote:
> On Fri, Dec 16, 2011 at 09:34:40PM +0100, Marko Randjelovic wrote:
> <snip>
>   
>> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff98fbd270) = -1 ENOTTY (Inappropriate ioctl for device)
>> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff98fbd3e0) = -1 ENOTTY (Inappropriate ioctl for device)
>>     
> <snip>
>
> Those are the key bits.  What is $TTY set to?  Is /dev/pts mounted?
> Does the file referenced by $TTY exist?  Can you post the output of 
> "ls -l $TTY" ?
>
>   


Reply to: