Setting up the Console Head
Installing FVWM
The consolehead software is configured to run with the FVWM window
manager, available at http://www.fvwm.org. FVWM needs the libstroke
package, which is available either at http://www.etla.net/libstroke/ or
http://rpm.pbone.net. Skip this section if FVWM is already installed.
1. Download the latest RPM of FVWM. (http://prdownloads.sourceforge.net/fvwm-themes/fvwm-2.4.19-1.i386.rpm)
2. Download the latest RPM of libstroke.
(ftp://ftp.pbone.net/mirror/ftp.pld-linux.org/dists/1.1/PLD/i386/PLD/RPMS/libstroke-0.4-2.i386.rpm)
3. Install libstroke first. In a terminal as root, type rpm -Uhv <path to the libstroke package>
4. Next, install FVWM. In a terminal as root, type rpm -Uhv <path to the FVWM package>
Installing software
1. As root, grab the console head software package, save it in the root directory on HD.
2. Extract the package. As root, run tar xfvz <name of consolehead
file>. Make sure you are in the root directory (/) when you do this.
3. Add a new user to the system named 'console'. In a terminal, as
root, type useradd console. Set console's password by typing passwd
console and following the prompts.
4. Open /home/console/.Xclients-defaults in a text editor. Check to
make sure that this config file shows the correct absolute path for
FVWM (usually "/usr/bin/fvwm2").
5. Open /etc/hosts in a text editor. Add the following line to the end of the file:
"<IP address of the console server> consoleserver"
For example, if the IP address of the console server is 192.168.1.3, the line in /etc/hosts should read
"192.168.1.3 consoleserver"
This will allow the console server to be accessable by the hostname
'consoleserver'. This is necessary for the console head to function
correctly.
Setting up Host-Based authentication
This allows the console head to connect to the console server without
having to enter in a password each time. This section should be skipped
until after the console server is properly set up.
1. As user 'console', run ssh-keygen -t dsa
This will create two files, ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub
2. Log into the console server as user 'console'.
3. Copy the file id_dsa.pub key from the console head to the console server via scp. This can be done as so:
scp console@<ip address of consolehead>:~/console/.ssh/id_dsa.pub ~
4. Look at the file ~/.ssh/id_dsa.pub, either via a text editor or cat.
If it starts with "ssh-dss" then append the file to both
~/.ssh/authorized_keys2 and ~/.ssh2/authorized_keys2. This can be done with the following commands:
cat id_dsa.pub >> ~/.ssh/authorized_keys2
cat id_dsa.pub >> ~/.ssh2/authorized_keys2
Otherwise, if it starts with "1024", then append it to the file ~/.ssh/authorized_keys
5. Set permissions on the newly edited files as read/write only. This is needed for some installs of ssh.
chmod 600 ~/.ssh/authorized_key*
chmod 600 ~/.ssh2/authorized_key2