Displaying an X Application on a Remote System
This document (3708605) is provided subject to the disclaimer at the end of this document.
1. Modify or disable the firewall to allow tcp port 6000 by going into YaST and selecting Security & Users-->Firewall.
2. As the root user edit /etc/sysconfig/displaymanager and change the following two lines to "yes":
3. As the root user run"SuSEconfig" from a terminal window. This will pick up the changes made to the displaymanger file.
4. Reboot the system for the X server to come up with the new settings.
5. Provide access for other systems to use this display using the "xhost" command. See"man xhost" for details. To give access to anyone you can run"xhost +". Be sure to do this as the user that is logged into the GUI desktop. This is not permanent. When you logout this setting is lost. For permanent settings you will need to modify /etc/X0.hosts (for display 0). See the man page for more details.
On the system that will run the application:
Some applications give you an option to indicate the display such as xterm or xeyes. To test with xeyes run the command "xeyes -display :0.0". Of course replace with the IP address or hostname of the system setup to display the application.
For applications that do not allow the display designation you will need to modify the DISPLAY environment variable before executing the command. From a terminal do the following (xeyes will be used for the example):
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3708605
- Creation Date: 02-Aug-2007
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org