tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Martyn Johnson <Martyn.Johnson () cl ! cam ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: xconsole
Date: Mon, 24 Jul 1995 17:29:51 +0000	[thread overview]
Message-ID: <96075321606644.tru64-unix-managers.marc@archive.invalid> (raw)

I asked:

> I recently upgraded from 2.1 to 3.2 and found that /dev/xcons has gone away. 
> It appears to be replaced by the "xconsole" (or "dxconsole") program.  
> Unfortunately this program will only work if I run it as "root". This is 
> despite the fact that it is a setuid-root program!

Various people responded with clues, but the only one to hit the nail right on 
the head was anthony.baxter@aaii.oz.au, who pointed out that xconsole will 
only work for the user who owns /dev/console.  There are a couple of scripts 
(GiveConsole and TakeConsole) which have the job of "chown"ing the console at 
the appropriate times during XDM login. My problem was that our local xdm 
setup was not calling these scripts.

I now have xconsole working.

I discovered a further subtlety. It's a feature that "xconsole" can grab the 
console away from an "xconsole" that is already running. It is also the case 
that "xterm -C" can grab the console away from a running "xconsole" (which 
then terminates).  However "xconsole" will NOT grab the console away from a 
running "xterm -C" - the "xconsole" just complains that it cannot open the 
console.

I'm not sure whether this last is a bug or a feature. It isn't a major problem 
to me, but it is another possible cause of the error message I was observing.

Martyn Johnson      maj@cl.cam.ac.uk
University of Cambridge Computer Lab
Cambridge UK

                 reply	other threads:[~1995-07-24 17:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox