[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Run X-server on client side
- Subject: Re: Run X-server on client side
- From: Manoj Victor Mathew <manoj_vm@xxxxxxxxxx>
- Date: Wed, 30 Jun 1999 08:25:05 +0530
Greetings,
A X-server is always run on the 'client' side of Linux (or UNIX). In
a typical X Windows architecture, it is the X-client (e.g. xcalc) that
runs on the 'Server machine'. X-server running in the 'Client machine'
receives the output of the X-client. Also the X-client receives the
input form the X-server.
There are X-servers available for Windows, that can display output of
a X-client running on a remote UNIX machine. (Refer to PC-Quest June
1999, Page 97).
If you are at the 'Server machine' (which runs the X-clients), and
want to start a X-server at the 'Client Machine', you have to follow
the following steps.
1. Telnet to the 'Client machine' (for this you have to run a 'telnet
server' at the other end. You
cannot cannot telnet to a Windows 95/98 machine. I am not
sure about Windows NT.)
2. Start the X Windows on the client machine.
3. Now start the X-client you want, with the command line option
-display <hostname>:0 { where hostname is the 'Client Machine'
}
e.g. xcalc -display 192.168.0.10:0
xcalc -display mvm:0
If you are on the 'Client Machine' and want to start a program on the
'Server Machine' ...
1. Start X Windows.
2. Telnet to the 'Server Machine' using a xterm.
3. Start the X-client on the 'Server machine' with the option
-display <hostname>:0 {where hostname is the 'Client machine'}
If you feel, specifying the -display option each time you start a
program, is very tedious, then you can set a variable DISPLAY to the
value <hostname>:0
If you are using bash as you shell, then type the following in the
telnet window...
export DISPLAY='<hostname>:0' (e.g. export
DISPLAY='192.168.0.10:0')
All programs started the that telnet window, will automatically use
the X-server on <hostname> for input/output.
- --
Manoj Victor Mathew
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
------------------------------