*BSD News Article 24816


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!tk2x+
From: Timothy J Kniveton <tim+@CMU.EDU>
Newsgroups: comp.os.386bsd.questions
Subject: help! re: X hanging -- still haven't heard solution
Date: Wed,  8 Dec 1993 19:02:29 -0500
Organization: Freshman, CIT general, Carnegie Mellon, Pittsburgh, PA
Lines: 24
Message-ID: <oh1agJG00VBN8g62JW@andrew.cmu.edu>
NNTP-Posting-Host: po5.andrew.cmu.edu


i have seen a few posts concerning X hanging on exit.  i am running
FreeBSD and XFree86 2.0.  i was having the problem that X was hanging
whenever i exited.  actually, that's misleading -- it wasn't X that
was hanging.  i could telnet into my machine and kill the shell
process, and i would get a login screen, and everything worked fine
after that.  i was offered a couple of possible solutions, one of
which was adding

stty -f /dev/vga sane

to the end of my startx script.  but that didn't help.  then a
floormate of mine running NetBSD told me what he did -- he linked
/dev/console to /dev/vga and changed the entry in /etc/ttys to read
/dev/vga instead of /dev/console.  i tried this and it worked.  but
the problem is that now i can't see anything echoed to the console,
because it's going to /dev/vga, and not being a unix guru, i don't
really know where that sends it or whether i could see what goes
there.  so i want to unlink the console, but does anyone know what's
going wrong here and how i can fix it?  i've heard other people
complain of the same problem.  please, one of you bsd masters must
know!

thanks...