xmanager : Acess to server's GUI

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
Williams225System AdministatorAsked:
Who is Participating?
 
serialbandConnect With a Mentor Commented:
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
 
xtermCommented:
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
 
xtermConnect With a Mentor Commented:
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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
serialbandCommented:
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
 
gheistConnect With a Mentor Commented:
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
 
gheistCommented:
X11forwarding is on by default on centos
xauth package is missing thing...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.