Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!spool.mu.edu!uunet!math.fu-berlin.de!opal!unido!laura!tommy!klute From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute) Newsgroups: comp.windows.x Subject: Re: xconsole Message-ID: <3124@laura.UUCP> Date: 26 Mar 91 08:23:34 GMT References: <1991Mar22.145850.26216@rice.edu> Sender: news@laura.UUCP Reply-To: klute@tommy.informatik.uni-dortmund.de (Rainer Klute) Organization: University of Dortmund, Germany Lines: 28 In article <1991Mar22.145850.26216@rice.edu>, uk1@spacsun.rice.edu (Paul A. Scowen) writes: |> I remember running across a little piece of software called xconsole |> some months |> back that redirects console output to a separate window instead of using |> the |> xterm -C option. We need this to stop people grabbing the console |> output when |> they login on an Xterminal and not the main Console display. You could as well check in your .xsession resp. .xinitrc file whether the X Window System is running at the console or not and act accordingly. Here is an excerpt from my .xsession file: # # If the users works with the X Window System at the console (not at an X # terminal) an xterm gets startet which catches the console output. # if ("`tty`" == /dev/console) then (xterm -ls -name xterm-console -n "${host} console" -geometry 80x10+0-0 \ -font 6x10 -C &) endif -- Dipl.-Inform. Rainer Klute klute@irb.informatik.uni-dortmund.de Univ. Dortmund, IRB klute@unido.uucp, klute@unido.bitnet Postfach 500500 |)|/ Tel.: +49 231 755-4663 D-4600 Dortmund 50 |\|\ Fax : +49 231 755-2386