SUSE Support

Here When You Need Us

Displaying an X Application on a Remote System

This document (3708605) is provided subject to the disclaimer at the end of this document.

Environment



Situation

Displaying an X application on a remote system without using VNC or VINO.

Resolution

On the system that will display the application take the following steps:

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":

DISPLAYMANAGER_REMOTE_ACCESS="yes"

DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="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):

export DISPLAY=:0.0

xeyes

The DISPLAY setting is only for this terminal window and will not effect any other application. The setting is lost as soon as the terminal is closed.

Additional Information


Disclaimer

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.