LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux From Scratch (http://www.linuxquestions.org/questions/forumdisplay.php?f=13)
-   -   New LFS Desktop Some niggles (http://www.linuxquestions.org/questions/showthread.php?t=4175455791)

Keith Hedger 03-27-2013 09:56 AM

New LFS Desktop Some niggles
 
Well I've just moved into my brand new LFS 7.3 desktop as you can see from here:
http://keithhedger.hostingsiteforfre...ots/newlfs.png

Just a couple of things when starting openssh ( from the init scripts ) the pid file is looked for at /run/sshd.pid but using the configure instructions from the BLFS book here:
http://www.linuxfromscratch.org/blfs...s/openssh.html

The pid file gets stored in /etc/ssh, this causes the sshd script to issue an error but is easily fixed by changing the sshd init script like so:
Code:

pidfile=/etc/ssh/sshd.pid

case "$1" in
    start)
        log_info_msg "Starting SSH Server..."
        start_daemon -p ${pidfile} -f /usr/sbin/sshd
        evaluate_retval
        # Also prevent ssh from being killed by out of memory conditions
        sleep 1
        pid=`cat ${pidfile} 2>/dev/null`
        echo "-16" >/proc/${pid}/oom_score_adj
        ;;

I have also installed conky/lua/lua++ which is not in the BLFS book,
but I have a problem when trying to run a lusa script from conky I get this:
Code:

Conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
I can't work out why this is happening as I used the same versions as my old LFS system and it worked fine.

My mistake I missed a bit from the make line when compiling lua.

Also my fonts seem a bit 'chunky' which I don't understand as I just tar'ed up my fonts from the old install and untared them in the new home, am I missing some configuration?

As you can see I have cairo-dock running, I don't understand why it's not in BLFS as it's a easy and pain free to install.

I've some more bits and pieces to install but it looks prtetty good so far.

stoat 03-27-2013 09:09 PM

Quote:

Originally Posted by Keith Hedger

Also my fonts seem a bit 'chunky' which I don't understand as I just tar'ed up my fonts from the old install and untared them in the new home, am I missing some configuration?

What about fc-cache -fv ?

P.S.: I never get to see any of your stuff posted at keithhedger.hostingsiteforfree.com, but everybody else always does. I wonder why that is. I have no other issues with the Internet, browsers, or downloading.

Keith Hedger 03-28-2013 05:50 AM

Quote:

Originally Posted by stoat (Post 4920229)
What about fc-cache -fv ?

P.S.: I never get to see any of your stuff posted at keithhedger.hostingsiteforfree.com, but everybody else always does. I wonder why that is. I have no other issues with the Internet, browsers, or downloading.

I have run "fc-cache -f" a couple of times but no difference, I don't use a lot of different fonts so I'm not to worried I will get around to sorting it out as it is a bit annoying.

Can't understand why you have a problem with my website, something must blocking the ip address, could you be running something that blocks that ip address? or maybe its your isp? I did have a lot of trouble lat;y with yahoo.co.uk kicking back emails that contained a link to anywhere on the hostingsiteforfree.com domain and as it couldn't be resolved ( yahoo customer service just isn't! ) I switched to gamil and everything is fine.

Keith Hedger 03-28-2013 05:58 AM

Quote:

Originally Posted by stoat (Post 4920229)
...P.S.: I never get to see any of your stuff posted at keithhedger.hostingsiteforfree.com...

Especially for you the screenshot is also here:
http://fc09.deviantart.net/fs71/i/20...er-d5zjb1h.png
:)


All times are GMT -5. The time now is 08:26 PM.