xmanager : Acess to server's GUI

Posted on 2013-12-09
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 668 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 30

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.
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

LVL 62

Assisted Solution

gheist earned 664 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 30

Accepted Solution

serialband earned 668 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 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