X Windows Terminal
(→server) |
(→client) |
||
Line 58: | Line 58: | ||
type this command: | type this command: | ||
− | # X -broadcast | + | shell# X -broadcast |
This assumes that you are running only one server. | This assumes that you are running only one server. | ||
Otherwise use: | Otherwise use: | ||
− | # X -query 192.168.1.2 | + | shell# X -query 192.168.1.2 |
==Completely Diskless System (PXEBOOT ROM)== | ==Completely Diskless System (PXEBOOT ROM)== |
Revision as of 20:09, 17 March 2006
X Windows can be used in a Server-Client relationship. By setting up your X Windows Server you allow the use of all the programs on that computer to all the client PC's.
There are many advantages of running client computers in this manner:
Contents |
Running a single application
To get started I have my server setup running FreeBSD, with X-Windows and a few applications. Nothing too special. Then I have my client PC, which to start off I used the freesbie 1.1 boot CD to perform these initial tests. You can get this from www.freesbie.org. I entered into fluxbox, but you could equally use xfce4.
client# xhost +
This allows all computers to start applications on your client PC. It's dangerous but good for testing everything is setup correctly.
client# ssh <server user@server ip>
eg: ssh mick@192.168.1.1
ssh$ DISPLAY=<client ip>:<client display>; export DISPLAY
eg: DISPLAY=192.168.1.2:0; export DISPLAY
ssh$ xcalc &
This should display on your client
Running a whole X Windows Session (XDM)
server
edit: /usr/X11R6/lib/X11/xdm/xdm-config
comment out with a '!' the request line DisplayManager.requestPort: 0
edit: /usr/X11R6/lib/X11/xdm/Xaccess
to have a single asterisk any where in the file, so the contents should be one asterisk and the rest commented out.
Make sure your firewall has all traffic for you lan. (Need to know which exact ports to allow).
create ~/.xsession for each user which requires access and enter your start up for x eg: shell#!/bin/sh startkde
run xdm on server as root
client
make sure your not in X
type this command: shell# X -broadcast
This assumes that you are running only one server. Otherwise use:
shell# X -query 192.168.1.2
Completely Diskless System (PXEBOOT ROM)
Running completely diskless by booting from a Network ROM Chip.
Coming soon...