xmanager : Acess to server's GUI

Posted on 2013-12-09
Last Modified: 2014-01-21
Hello experts,

I have a centos server.

I use the command line interface with the application Xmanager (xterm).

However,  I want to access  the gui interface, but I can not. Please help
Question by:cismoney
  • 2
  • 2
  • 2
LVL 19

Expert Comment

ID: 39706835
You can install x11vnc (yum install x11vnc) on the CentOS server which will attach to the running xorg process, and then you can use regular VNC viewer to connect to the GUI.
LVL 19

Assisted Solution

xterm earned 167 total points
ID: 39706840
After you've installed x11vnc, start it up something like this:

x11vnc -nodpms -rfbauth -xkb /home/your_username/.vnc/passwd -display :0

You will have to create that password file with the 'vncpasswd' command.

Then just connect to the CentOS server via VNC.  Make sure port 5900 is open in iptables.
LVL 29

Expert Comment

ID: 39710460
VNC is unencrypted.  If you're not on a trusted local network, then you should either tunnel VNC over ssh or use a VPN.  You could also install NoMachine server on the CentOS system and use a NoMachine client.  There's an open sourced version of NoMachine.
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

LVL 62

Assisted Solution

gheist earned 166 total points
ID: 39732200
Xming + putty works very well
you need to install xauth on server and enable X11 forwarding in putty
then having Xming running rest just happens magically
LVL 29

Accepted Solution

serialband earned 167 total points
ID: 39732392
Ok, I've read up on Xmanager and it seems that you can tunnel it over ssh.  If you are using it over ssh, this would suggest that you need to enable X11 over ssh as gheist suggested.  In that case, you'd need to edit /etc/ssh/sshd_config and find the commented line

#X11Forwarding no

and uncomment it and change the no to a yes

X11Forwarding yes

If that's not the case, please provide more detail on how you connect to your server.
LVL 62

Expert Comment

ID: 39732871
X11forwarding is on by default on centos
xauth package is missing thing...

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Desktop suggestion for Dell Inspiron 3043 13 67
Run Secure WMI query from CentOS 5 148
error while installing php56 in redhat enterprise linux 20 77
Linux 3 38
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question