Xmanager FAQ

Xstart Connection Show all answers Hide all answers

How can I start CDE, GNOME/KDE or Xfce environment using Xstart?

If an XDMCP connection cannot be established between your PC and the remote host due to network configurations or a firewall, you will not be able to start a desktop environment such as CDE or GNOME/KDE using Xbrowser. In these situations, you can start a UNIX/Linux desktop environment on your PC using Xstart by following the directions below.
  • Commands for starting UNIX/Linux desktop environments

    Common Desktop Environment (CDE)/usr/dt/bin/Xsession
    (Set DISPLAY environment variable and run this command.)
    GNOME Environment/usr/bin/gnome-session
    K Desktop Denvironment (KDE)/usr/bin/startkde
    XDM/usr/lib/X11/xdm/Xsession (Unix)
    /etc/X11/xdm/Xsession (Linux)
  • Starting a UNIX/Linux desktop environment from Xstart 
  1. Type DISPLAY=$DISPLAY; followed by one of the commands above in the Execution Command box. If you're using the SSH protocol, there is no need to set DISPLAY environment.

    DISPLAY=$DISPLAY; /usr/bin/gnome-session

  2. Click Advanced and select your desired Server Profile (Xconfig Profile).
  3. Click Configure and clear the 'Exit Xmanager when all connections are closed' option.
  4. We recommend you use Single Window Mode, but if you must use Multiple Window Mode, select Multiple Window Mode in the Window Mode area of the General tab and click settings.
    In the Window Manager list, select 'Automatic Switch' or 'Remote Only'. 
  • In the example below, we'll be running the CentOS GNOME user environment using Xstart.
  1. Open Xstart.
  2. Enter the necessary information.
  3. Click the Advanced button to open the 'Advanced Options' dialog box.
  4. In the X Server tab, select your desired Server Profile (Xconfig Profile).
    Among the default profiles, 'XDMCP sample' utilizes Single Window Mode, so we've selected that profile here. Click OK.
  5. In your Xstart window, save your session then click Run.
    If you are using a multi-monitor environment, a 'Select Monitor' dialog box may appear. Select the appropriate monitor.
  6. The following is a Gnome-session running in a single window.

When I try to connect to a remote host using Xstart, the following error message displays.'Error: Can't open display: Error: Couldn't find per display information'

All X client applications should be able to connect to an X server program such as Xmanager. If an X application cannot connect to an X server due to a network configuration problem or firewall installed between them, this error message displays.

If both Unix/Linux machine and PC are assigned with the public IP address and the error message displays, the cause is usually related to the firewall installed on the PC or network. To setup your firewall, please refer to the following FAQ links:

If your PC is located inside a NAT system and assigned with a private IP address while the Unix/Linux machine is located outside, X application cannot connect to the Xmanager running on your PC since the Unix/Linux machine cannot reach to your PC. Please refer to the following FAQ links to configure your network. You can also try using the SSH protocol instead.

For your information, the private network addresses are as follows:
  • A class : 10.x.x.x
  • B class : 172.16.x.x ~ 172.32.x.x
  • C class : 192.168.x.x

How can I use Xmanager through SSH?

Note: Please make sure the SSH server on the remote host has X11Forwarding enabled.

1.   Run Xstart in the Xmanager folder.
2.   Select SSH for Protocol.
3.   Enter username, password, hostname, etc.
/usr/bin/X11/xterm -ls
Note that -display option is absent. SSH server will assign a proper value.
4.   Click Save and Run button.
5.   The Xstart will automatically run Xmanager and then execute the remote command.

I finished installing my UNIX/Linux but cannot connect with TELNET.

TELNET is disabled or not installed by default in most UNIX/Linux machines for security reasons. To use TELNET, first, check your remote server to see if TELNET daemon is installed. If it is installed, follow the instructions below to enable the telnet service.
1. First, open /etc/xinetd.d/telnet and set the disable to no.
disable = no
2. Then, restart xinetd:
Red Hat: /etc/rc.d/init.d/xinetd restart
SUSE: /etc/rc.d/xinetd restart
In most cases, you can choose SSH as an alternative connection method over TELNET. SSH provides much secure connection and adds extra features such as X11 forwarding and tunneling.

How do I enable X11Forwarding service in SSH server?

To enable X11 forwarding service in the SSH server, setup the configuration file in the following table.
SSH server Config file Setup
OpenSSH /etc/ssh/sshd_config X11Forwarding yes
SSH.COM /etc/ssh2/sshd2_config AllowX11Forwarding yes
After setting the value, restart SSH daemon.

xterm does not start.

xterm may be installed in a different path. Please try switching path to xterm (Linux: Type 1) and xterm (Linux: Type 2) by clicking arrow button next to Execution Command in Xstart.
Type 1 : /usr/X11R6/bin/xterm -ls -display $DISPLAY
Type 2 : /usr/bin/xterm -ls -display $DISPLAY