X Terminals – Quick Setup

Print Friendly, PDF & Email

X Terminals – Quick Setup

Server:
Install Standard Linux as workstation (or your choice options) to boot to GUI.

$ vi /etc/X11/xdm/Xaccess

around line 40 change:

#* #any host can get a login window

to

* #any host can get a login window

$ vi /etc/X11/xdm/xdm-config

Go to the bottom and comment out the following:

!DisplayManager.requestPort: 0

$ vi /etc/exports

Add:

/mnt/cdrom (ro)

$ vi /etc/rc.d/rc.local

Add:

xdm

Reboot.. Server is done.

X Terminals:

Install BASE Linux system with basic network and X. NO Windows manager or applications.
Setup root, but no additional users.
Configure X so that it will launch with the \”startx\” command, but don\’t make it start automatically!

Reboot.

Login as root.

$ /usr/X11R6/bin/X -query 192.168.1.10

192.168.1.10 being the IP of the server created above

You should see a login screen (DON\’T LOG IN!). Kill X with Ctrl + Alt + Backspace.

$ vi /etc/rc.d/rc.local

add this at the bottom:

/usr/X11R6/bin/X -query 192.168.1.10

Reboot. It should come up with your login screen on the server

Now.. SOUND..

Current choice of programs is VirtualFS.. Not only does it route sound, but it also allows you to use your x terminal floppy and cd-rom drive

VirtualFS Site
VirtualFS FTP

Needed Files on jzdocs.com

Or, download the newest version for your OS

virtualfs-1.40-1.i386.rpm
virtualfs-server-1.40-1.i386.rpm

Then download the glibc files

Glibc FTP

glibc-2.3.2-27.9.7vfs3.i386.rpm
glibc-common-2.3.2-27.9.7vfs3.i386.rpm

Then the linuxconf libraries
Linuxconf

linuxconf-lib-1.32-1.i386.rpm

To install, use this:

$ rpm -ivh glibc-common-2.3.2-27.9.7vfs3.i386.rpm –force

$ rpm -ivh glibc-2.3.2-27.9.7vfs3.i386.rpm –force

$ rpm -ivh linuxconf-lib-1.32-1.i386.rpm

$ rpm -ivh virtualfs-1.40-1.i386.rpm –force

# vi /etc/rc.d/rc.local

Add right above xdm:

chmod 666 /dev/dsp
chmod 666 /dev/audio
chmod 666 /dev/mixer

Note: ONLY NEEDED on X Terminals
$ rpm -ivh virtualfs-server-1.40-1.i386.rpm

$ vi /etc/rc.d/rc.local
Add:
/usr/sbin/litefs-xterminal

Right above:
/usr/X11R6/bin/X -query 192.168.1.10

$ vi /etc/virtualfs/remaudio.tcpallow

Add the IP address of the xdm server you are logging into

Now, let\’s reboot everything..

And test it out.. Log into the x terminal, and type :

$ virtualfs

You should get:

[name@name /] VFS $

So, let\’s start xmms

[name@name /] VFS $xmms

Now, drag and drop a sound file into xmms.. You should hear it on the x terminal. look in /usr/share/sounds for some to play with. Or, to get sound from mozilla, launch it from the run command like this:

virtualfs mozilla

If you want to access the local floppy or cd-rom of the x terminal, just go into the n directory in your home directory. There will be an n/a:/ directory and n/cdrom/ directory. Each will automount the local floppy/cdrom and give you access to it. If you launch Kscd, it will play the audio cd in the xterminal out the exterminal speakers.

Now.. I didn\’t figure out how to get KDE to start inside of VirtualFS, but I did get IceWM to.. So, follow these instructions on switching from KDE to IceWM, and then read on:

KDE to IceWM

# vi /usr/X11R6/lib/X11/xinit/Xclients

Now, change this:

elif [ \”$DESKTOP\” = \”ICEWM\” ]; then
PREFERRED=icewm-session

TO:

elif [ \”$DESKTOP\” = \”ICEWM\” ]; then
PREFERRED=\’virtualfs icewm-session\’

Leave a Reply