Hi Jack,

Jack Ort wrote on Tue, Feb 03, 2009 at 11:39:03AM -0600:

> Recently installed 4.4 on an old Pentium box, with all(?) of the X
> file sets.  Thinking now of trying to use it as a firewall, and I've
> read that I should not have X on a firewall.

Well, probably you should not *run* X on a firewall,
but having the binaries and libraries around does no harm.

> Is there an easy way to uninstall X, or should I just install from
> scratch again?  I wouldn't lose that much, but I hate to take the
> brute force approach if there's a smarter way.

The smartest way is to just leave X in place,
set machdep.allowaperture=0 in /etc/sysctl.conf
(or re-add the comment marker "#" in front of that line
in case you removed it), remove the line 'xdm_flags=""'
from /etc/rc.conf.local (or whatever you did to enable X)
and reboot.

Sometimes, the X libraries are needed by non-X programs
from the ports tree, too, and at that point, you will be
re-installing them.  Perhaps you don't need many third-
party software packages on a firewall, but who knows?

Besides, if you are a newbie, chances are you break the system
when trying to remove X.  But even if you were experienced,
there would be no point in removing X.

> Thanks in advance for helping a newbie!

You are welcome,
  Ingo

Reply via email to