Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
XNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
How do I run [X] programs on another machine? (NB this is all insecure and for use on your own network) By default on many installs [X] disables remote connections with a nolisten parameter to it. So try and find this by something like <tt>sudo grep -n -r nolisten /etc</tt> and then comment this out from the appropriate file. Restart [X]. Then on a shell on the local machine type <tt>xhost +</tt> (or alternatively a host name instead of +). Then on the shell on the remote machine type <tt>DISPLAY = host:0.0 ; export DISPLAY</tt> where host is the hostname of the local machine. Now start your program in the remote shell by typing the commandline startup e.g. <tt>openoffice</tt> and it will appear on your local desktop. A better way of doing this; use "ssh -X" when you connect to the remote host. This will set up an encrypted tunnel for programs on the remote system to communicate with the X server, and set up the DISPLAY variable to use it.
One page links to
XNotes
:
X