*BSD News Article 26818


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: What is advantage of Virtual Console?
Date: 3 Feb 1994 08:16:31 GMT
Organization: Montana State University - Bozeman MT
Lines: 35
Message-ID: <2iqbsv$k19@pdq.coe.montana.edu>
References: <2if6nl$pus@pdq.coe.montana.edu> <CKIuou.7B5@nas.nasa.gov> <2im7n6$agv@pdq.coe.montana.edu> <CKM7w8.Hvo@nas.nasa.gov>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <CKM7w8.Hvo@nas.nasa.gov>,
Dave Tweten <tweten@wilbur.nas.nasa.gov> wrote:

>Incidently, for reasons I've never bothered to investigate, xconsole
>only succeeds when I run under Xdm.  If I shut off Xdm and start X with
>xinit, xconsole flashes and disappears.  I've never bothered to
>investigate it because I only use the xinit route while adjusting X's
>graphics display magic numbers.  Xconsole works fine under Xdm, my
>preferred way to use X.

That's because xdm runs as root and if you look in /usr/X386/lib/X11/xdm
you'll notice that it runs xconsole (which means it's running as root)
whereas if you run xconsole you don't have the correct permissions to
run it.

>>Also, what happens when you quit X and try to use job control on the
>>tty?
>
>Nothing surprising.  I just reconfigured to avoid using Xdm, rebooted,
>ran xinit, su'ed, exited, exited X, started a long-winded find, hit ^Z
>to put it into the background, and all worked well.

The problem only occurs when the 'kill -HUP syslogd.pid' stuff runs
and hangs the console (except for the xconole stuff it would hang
your console).  



Nate

-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       |  Graduating May '94 with a BS in EE 
home #: (406) 586-0579       |  - looking for work in CS/EE field.