Operating System - HP-UX
1833596 Members
3516 Online
110061 Solutions
New Discussion

Not authorized for console access

 
Tim Leong_1
Advisor

Not authorized for console access

When I run "xterm -C" as a non-root user to get an xterm console, I get the error:

xterm: Display is not authorized to take control of /dev/console.

This command works fine as root. /dev/console is owned by the non-root user and has rw permissions. Any ideas?
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Not authorized for console access

Its probably disabled in /etc/securetty

It works for me on my systems any user.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Leong_1
Advisor

Re: Not authorized for console access

My system doesn't have securetty.
Stuart Abramson_2
Honored Contributor

Re: Not authorized for console access

xterm -C allows console input.

Console input means unix/hardware console input. It (could) allow you to reboot the server, etc. It should be restricted to root.

If you want a window, just type xterm.

BTW, i run as root and I get the same message.

Stuart
Alex Glennie
Honored Contributor

Re: Not authorized for console access

Tim,

What h/w is displaying the xterm client, is it the same as the system to whose /dev/console we are trying to catch ?

What O/S ?

Have you a /usr/contrib/bin/X11/xconsole maybe located elsewhere does this work for root/non-root ?

DISPLAY set correctly and no problems with hostname lookup ?

does /usr/dt/bin/dtterm -C also display the same problem ?

ll /dev/console ?