LTSP 5 and fedora 8 … a hard way
This is a follow up to my previous post regarding LTSP 5 and Fedora 8 .
The installation part is pretty simple and is same as told before . But need some tweaks to make things work . I am detailing them here ..hope it will help .
————————————————————————————————————-
One most important point is ,
xinetd service must be enabled and running in order to have a xsession running in thin clients .
In order to do so there are some points to take care of: -
As this a ubuntu version running so there are certain changes than a normal fedora version.
a) Ubuntu uses inetd instead of xinetd so take care of that . Also from this version NBD is used and is fired over NFS. This is taken care of by installing nbd.rpm which can be found here.
b )Ubuntu has /etc/X11/Xsession but fedora has /etc/X11/xinit/Xsession , so it is important to create link between them in order to have a xsession firing up.
This can be done by
# ln -s /etc/X11/xinit/Xsession /etc/X11/Xsession
Now that most configurations are ready . Fire up the thin client . At this point actually
ubuntu bits are executed .if every things all right you will be getting a ubuntu login screen.
At this point it is necessary that a ssh authentication do takes place otherwise no login allowed .
If you run ltsp-update-sshkeys for the first time in Fedora you will get the following error
ltsp-update-sshkeys: line 6: tempfile: command not found
Now it can be solved by downloading an installing tempfile rpm from here .
Another problem encountered is
/var/log/syslog: No such file or directory.
This can be easily overcomed by either creating a blank file as /var/log/syslog .
Now execute the command
#ltsp-update-sshkeys
The output will be something like the following.
Setting up ssh_known_hosts in:
/opt/ltsp/i386
One important point , you may face problem while logging in . It is better to enable passward authentication for ssh . In order to enable this
#vi /etc/ssh/ssh_config
and remove comment from line 25 which states
- password authentication yes
Now run the command after you are sure of all changes .
#ltsp-update-kernels
you will get a output like the one below.
Updating /tftpboot directories for chroot: /opt/ltsp/i386
Now Configurations are ready and you should be getting a fedora desktop fired up . a pic is here showing a fedora 8 desktop
March 10, 2008 at 8:44 AM
Dear Subhodip,
thanks for the detailed description. There is one aspect I do not understand. You mention that ‘Ubuntu uses inetd instead of xinetd so take care of that’ What do you mean by that, what do I have to do to take care of that?
Thanks and regards,
Lars
March 10, 2008 at 6:21 PM
In fedora you need xinetd instead if inetd which is in ubuntu so by the word taking care i mean you need LTSP5 running xinetd instead of inetd in order to fireup a X session.
December 8, 2009 at 3:41 AM
Wow… very great topic. I will blog about it as well.