[comp.sys.hp] Can I use "-C" option to xterm under hp's X

milburn@me10.lbl.gov (John Milburn) (09/07/89)

When I attempt to open an xterm (or hpterm) window using the "-C" option,
which should allow the window to intercept console messages, I am met
with the following error message:

xterm: display "local:0.0" is not authorized to take control of /dev/console

I would like it not to do this. Any ideas?

Thx,
 __________________________________________________________________________
| John Milburn - Advanced Light Source - Lawrence Berkeley Laboratory      |
| INTERNET:   JEMilburn@lbl.gov   BITNET:    JEMilburn@LBL.bitnet          |
| DECNet:     LBL::JEMilburn      UUCP:      {...}!ucbvax!lbl.gov!JEMilburn|

jack@hpindda.HP.COM (Jack Repenning) (09/08/89)

You need a file, /usr/lib/X11/Xconsoles, describing which displays are
allowed to grab the console.  A popular value for single-user
workstations is "*", as in:

(jack@jack ~)> ll /usr/lib/X11/Xconsoles
-r--r--r--   1 bin      bin            2 Jun  2 12:42 /usr/lib/X11/Xconsoles
(jack@jack ~)> cat /usr/lib/X11/Xconsoles
*
(jack@jack ~)> 


Jack Repenning
jack@hpda.hp.com

stroyan@hpfcdc.HP.COM (Mike Stroyan) (09/09/89)

> When I attempt to open an xterm (or hpterm) window using the "-C" option,
> which should allow the window to intercept console messages, I am met
> with the following error message:
> 
> xterm: display "local:0.0" is not authorized to take control of /dev/console

You need to create a file, '/usr/lib/X11/Xconsoles', which contains the
X server display numbers that are authorized to take control of the console.
For example -

#Allow servers 0 and 1 to take control.
0
1

This would allow DISPLAY local:0.0, local:1.0 or local:1.2, but would
not allow local:3.0.

Mike Stroyan, stroyan@hpfcla.hp.com