LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-02-2020, 03:45 AM   #16
vsayanam
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 10
Linux From Scratch for Newbies - Part 1


Tip 5:
Among the various programs that were installed in LFS-9.0, TigerVNC Viewer is one. It was tested all right from other distributions.
Recently, DietPi was installed in RPi B 3+. This is a very good software but not easy like Raspbian. It basically requires a working Ethernet connection. However, I could install it after talking to their tech team which was very co-operative.
I managed to install LXDE in DietPi. Under Internet, I selected X11VNC Server. 'Select x11vnc port' dialogue popped up. In 'Ports' box, I entered 5900:0 and selected 'TightVNC' radio button.
In LFS-9.0, I selected 'TigerVNC Viewer' under Internet. I entered '<DietPC's IP address>:0' in the resulting pop-up. I gave password as 'dietpi'.
Immediately, DietPi screen was available in LFS-9.0.
 
Old 03-03-2020, 01:05 AM   #17
vsayanam
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 10
Linux From Scratch - Part 1

Tip 6:
In previous column, 'vncviewer' of LFS-9.0 and 'vncserver' of DietPi were mentioned. The reverse was attempted recently. While checking the log file, I foolishly ran a shell script which corrupted some files and the Xwindow was broken. I rebooted and could login as user lfs. But, 'startx' command did not work. I was getting 'Timeout in locking authority file /home/lfs/.Xauthority' error. As per Google and linuxquestions.org, I tried to give permission to $HOME but it did not work but the suggestion to remove /home/lfs/.Xauthority file worked instantly after adding 'startlxde' in .xinitrc file!
 
Old 03-10-2020, 03:50 AM   #18
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Dillo is usable if you want to read the book and copy/paste.
Another way is to chroot, that is what I do.
I too find that some stuff just is better/easier/faster if you use a pre-compiled version.
Getting to a usable desktop takes too long otherwise, especially for beginners.
 
Old 03-23-2020, 04:20 AM   #19
vsayanam
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 10
Linux From Scratch for Newbies - Part 1

TIP 7:
After completing LFS-9.0, I started LFS-9.1 with the idea to install minimum software so as to work as a Media Server after installing Docker and, through it, Jellyfin. I was successful in creating Media Server in LFS-9.0. Everything was going smoothly till I came to Mozjs-60. As per BSLF book, we have to export SHELL or else the compilation will fail. I remember to have added 'export SHELL=/bin/bash' in LFS-9.0, but configuration failed. Normally, I go to linuxquestions.org or Google for any help regarding LFS. Only Google had a posting about this but it was not clear to me and I wrote to BLFS-support. The reply from BLFS is reproduced below:
-----------------------------------------------------------------------------------------
>On 3/21/20 9:27 AM, Ken Moffat via blfs-support wrote:

> The problem happens in chroot because '/run' is empty. The fix when
> building in chroot is:
> # mount --bind /run /mnt/lfs/run

Note that this must be run on the host, not from within chroot.

-- Bruce
-------------------------------------------------------------------------------------------------------
Without waiting for the reply, I configured Mozjs-60 in LFS proper, as I had read somewhere that Python-2.7 should be compiled in LFS environment for some other problem.
I was surprised in its success and went on to install LXDE and then Pale Moon web browser (by downloading the source, untarring it and applying a few tweaks as given in their web site - I did not want to overload my old CPU by installing Firefox as per the Book) I now have a working LFS-9.1. (Almost full-pledged LFS-9.0 is already there in the same desktop.)
There was no problem with Mozjs in LFS-9.0. If anyone is having a similar problem they can follow the comments of Bruce. I suppose no special entry is required for compilation in proper LFS environment.
 
Old 03-27-2020, 07:53 AM   #20
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Related to this thread
https://www.linuxquestions.org/quest...9/#post6063402
 
Old 04-14-2020, 12:42 AM   #21
vsayanam
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 10
Linux From Scratch for Newbies - Part 1

Tip 8:
I have recently completed LFS-9.0 and LFS-9.1. The latter has minimum packages and its main purpose is to act as Media Server with Docker and Jellyfin.
Although I don't play games, I particularly like Aisleriot. It was there in BLFS-Version 2012-11-02 but removed subsequently for reason not known.The reply I got from blfs-support is given below:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
I think aisleriot has a lot of dependencies in the gnome stack.
It may be difficult to figure them out. Study the output of config.log;
and add dependencies until configure is OK (some of the dependencies
may have further dependencies too).

Pierre
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instead of Aisleriot, I searched for Python Card Games. Google threw up 'Freecell on Canvas' from SourceForge. In LFS-9.1, I downloaded the zip file and unzipped it. I then ran 'index.html' in the extracted Freecell folder. I could easily play in Pale Moon web browser. Very easy! I agree that the main purpose is to compile packages but in unusual situation, this seems to be the only way out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where can I find a newbies guide to XFCE or is XFCE not for newbies? Robert.Thompson Slackware 5 03-07-2011 10:27 AM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration