From owner-freebsd-questions@freebsd.org Wed Apr 12 01:45:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B64D2D393B1 for ; Wed, 12 Apr 2017 01:45:02 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B6BBDCB for ; Wed, 12 Apr 2017 01:45:02 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id l7so23763666ioe.3 for ; Tue, 11 Apr 2017 18:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=93TrKn1gI1lgFvDgnzeZMSKRiTCAX3qkfaHPGXHGIFE=; b=oh8hwP21YPbb8V2iyqxeHmcwayu+BsrleUpCunndEee0Zu1eOgA0w6ccE2sFTzKIZ7 vyCRRHY9lLxsl3+HSZPvgSRnaZmNWcFaO+Ewy3oKjSpXFcxHy9GPsUtbZmNb8UF1b+y3 CJIzU3HTZXAbYXxMZFqu9NgHBXGfQvjPbqGUuYsq4ZxCv+mRUKq2z+QITjE2ftP1lqnF 6I60Jp4NO9frvxtMzVkTlr0O4eeyw5p9YmO2qAr0TBVRLyysw/zM4OE0WmMrMf+mCMyw owRO6yCYfO1hciAaBFgz4Uu6LHMVQoz9PZi/kUFYJabq7s2zsk2ZyHjjttPnb+T725P3 wTrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=93TrKn1gI1lgFvDgnzeZMSKRiTCAX3qkfaHPGXHGIFE=; b=ROwoECWx7na3tGHqsBYPtrR40fN0D3XXbLfL/cPUZtB1Q+QqGGOzN3LYbJBFMzCbF1 9ldcwr/TmtAEGK9cPiYAtSJxmpc7C1kMMX0Ti1A0avsw0vvDcC8VZ/zMMdOm3EVOmnQE VoT+XJTHovPhKjpGe9LTCxStwFn+xxHuWN3tfpluBWFjh6bvv194b2CAaOsKkBea/HLq z9t1eo40LYHdOPaJOXNA3ZjiRaCZbHqazWMKykArn0lJHvZoyYSldiKNjall2t152Rdu QrU+6r8nqpMyPVucXx3lrAK3gKm4hkmYSmz/OWcZchFeSBDnUMyYqRJvxHsPlLXLXQ86 VtuQ== X-Gm-Message-State: AFeK/H39d8RKKryt/i2Fir7KtCr4WOsPu6Pdc34LUTUgLdN2Qwd193eC/bniJEkgSWWXlg== X-Received: by 10.107.15.144 with SMTP id 16mr65604099iop.140.1491961501845; Tue, 11 Apr 2017 18:45:01 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-57.neo.res.rr.com. [74.141.88.57]) by smtp.googlemail.com with ESMTPSA id o72sm1783049ite.10.2017.04.11.18.45.01 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Apr 2017 18:45:01 -0700 (PDT) Message-ID: <58ED86C0.9000300@gmail.com> Date: Tue, 11 Apr 2017 21:45:36 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Manish Jain CC: "freebsd-questions@freebsd.org" Subject: Re: Setting up a minimal KDE References: <58ED1780.3010603@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 01:45:02 -0000 Manish Jain wrote: > > > On Tue, Apr 11, 2017 at 11:20 PM, Ernie Luzar wrote: >> Manish Jain wrote: >> >> Hi, On my tertiary box, I was facing multiple problems with >> FreeBSD 11 Release. Rather than fix each one, I decided to try a >> new, daring approach - a minimal KDE atop FreeBSD 12.0-CURRENT >> r316508. Comments, suggestions, tips and experimentation requests >> are open to this venture. I installed FreeBSD CURRENT and then >> installed kde via 'pkg install kde'. After kde installation was >> over, I realized that I was running against my original aspiration >> of a minimal KDE. So I did the following to remove KDE : pkg >> delete -R kde pkg autoremove Then I installed lightweight KDE >> using : pkg install kde-baseapps kde-workspace kde-runtime The >> above setup has the following components built-in : konsole, kate, >> kdm. It was missing okular, k3b and kolourpaint, but these easily >> be installed via pkg. I now have a fully functional KDE and a box >> that, despite being CURRENT, works well. There are glitches, >> however. If anyone has tips to help resolve the glitches, it shall >> lead to the perfect KDE setup : 1) This is the more serious >> glitch. Taskbar icons in the KDE panel, for some reason I cannot >> guess why, are rendered horribly. Fonts everywhere else are pretty >> much the same as before, but iconified taskbar fonts in the panel >> are very, very ugly. 2) Because my network interface is statically >> configured, I want to turn off dhclient entirely, so that it does >> not work on each reboot automatically. DHCPDISCOVER packets cost >> me about a minute on system start-up. I have tried putting the >> following in /etc/rc.conf, but this does not seem to have any >> effect : 'dhcpd_enabled=NO"'. 3) I can't figure out how to remove >> nepomuk-core. 'pkg delete nepomuk-core' says it would also lead to >> removal of kde-baseapps, which would obviously be a very bad idea. >> Thanks for any help. If anyone has experimentation requests with >> FreeBSD CURRENT and/or KDE, please feel free to ping me. >> >> Can't help you with items 1 & 3, but item 2 is an easy one to fix. In >> your rc.conf file you must have a statement something this; >> ifconfig_rl0="DHCP" where rl0 is the interface facing the public >> internet. Remove it or comment it out > > > Hi Ernie, > > I figured out the underlying problem, which must rank as one of the > cleverer things I have done in my life (of which there are not very > many, quite happily). The Desktop Theme I was previously using after the > full KDE install had been customized to use the Slim Glow theme. When I > did 'pkg delete kde' and 'pkg autoremove', it produced the pristine > KDE-less environment with just xorg. > > Before setting up the minimal KDE, I had to change the Desktop Theme > back to the original Oxygen theme which works with the base KDE > packages. Leaving the Slim Glow setting was messing up the hidden KDE > configuration. Luckily, the system settings applet is available to set > things things right again. > > > As for the DHCP problem that remains outstanding, this is what my > rc.conf has : > > ifconfig_re0="inet 192.168.1.94 netmask 255.255.255.0" > defaultrouter="192.168.1.1" > > That rc clearly states that I need a static configuration. But dhclient > still runs at system startup, losing me over a minute each time. > > Regards > Manish Jain What makes you think dhclient is running at boot time? You previously stated "Because my network interface is statically configured." What that means is your isp issued you an static ip address that you purchased and as such there is no auto host configuration offered. I would guess that what you are experiencing is a dns timeout during the boot process. When you are issued a static ip address from your isp there is more manual configuration needed than just what you did in rc.conf. You also have to manually configure the /etc/resolv.conf file with the isp's two dns ip addresses. Did you do that? Also 192.168.x.x is reserved for private LAN use. That ip address is not routeable over the public internet and was never issued by your isp as a static ip address. I hope you just used that for the post to not expose your real static ip address other wise you have bigger problems that what you have posted.