Solved

xmanager : Acess to server's GUI

Posted on 2013-12-09
6
1,111 Views
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
0
Comment
Question by:cismoney
  • 2
  • 2
  • 2
6 Comments
 
LVL 19

Expert Comment

by:xterm
Comment Utility
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.
0
 
LVL 19

Assisted Solution

by:xterm
xterm earned 167 total points
Comment Utility
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.
0
 
LVL 27

Expert Comment

by:serialband
Comment Utility
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.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 61

Assisted Solution

by:gheist
gheist earned 166 total points
Comment Utility
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
0
 
LVL 27

Accepted Solution

by:
serialband earned 167 total points
Comment Utility
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.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
X11forwarding is on by default on centos
xauth package is missing thing...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now