Prev | Current Page 262 | Next

Chris Tyler

"X Power Tools"

The ability to display windows from different
machine partitions side-by-side on one display provides an
important productivity boost for system administrators.
13.2 Displaying on a Remote Server
Causing an X client to display on a remote server is fairly straightforward: simply use
the displayspec (Sections 1.12 and 7.1) to point to the desired server when starting
the client.
Let??™s assume that the X display number on blue is :0 and the client you want to run
on red is xclock.
13.3
176 Chapter 13: Remote Access
For ease of experimentation, turn off access controls on blue??”of course, don??™t do
this on a production machine without understanding the consequences:
blue$ xhost +
access control disabled, clients can connect from any host
Now the client can simply be started on red, using the displayspec blue:0:
red$ xclock -display blue:0
The xclock window will appear on blue??™s display.
For this to work, you may need to check your firewall settings, both
on your router/switch and on the host running the X server. On a
Linux system, iptables -L will show you the current firewall rules; you
can configure the settings with your distribution??™s tools (such as lokkit
or Yast) or use the iptables command.


Pages:
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
aquilamed Spa Ciechocinek drzwiowe hosting hotele londyn