Red Hat Enterprise Linux 5

My Red Hat Admin just quick.  I have a server RHEL5 in a datacenter.  I have its IP address.  How do i access it remotely?  Also, is there a way to determine if the GUI was installed along with CLI?
deklinmAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven CarnahanNetwork ManagerCommented:
Depending on the security set up on the box you could try telnet and if that doesn't work then try SSH. There is still the matter of having credentials that work though.
0
farzanjCommented:
Yes.

You can access it remotely through PuTTY.  You would use ssh, provided ssh server is running.  This would be command line.

You can setup VNC server on the machine and that way using VNC viewer, you will be able to connect to it and get the GUI
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slightwv (䄆 Netminder) Commented:
telnet?

Access it from what and for what reason?

I'm sure there is a more official way to see if the GUI is installed but off the top of my head:  
I would look for the X programs.  Type xclock at the command line?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

farzanjCommented:
To ssh you can use PuTTy by using the following link
http://www.putty.org/

FTP can be done if the server is running ftp server.

Are you using Linux or Windows to access this machine?  If you have Linux, just type

ssh <IP-ADDR>

0
Steven CarnahanNetwork ManagerCommented:
slightwv:  I simply through telnet out as an option since I have seen some people use it but I highly advise against it.  We also use PuTTy (SSH)

 I agree that running xclock works to determine if there is a GUI running but remotely you are still probably going to be using the CLI so would that be important to know?

0
farzanjCommented:
For GUI you need VNC server
http://www.walkernews.net/2007/07/05/how-to-setup-linux-vnc-server/

On Windows/Linux client, simply use VNC client to access it.
0
Steven CarnahanNetwork ManagerCommented:
Be cautious of using VNC as there are security breaches such as clear text passwords in some of the standard version.
0
slightwv (䄆 Netminder) Commented:
>>I simply through telnet out as an option since

I agree it has security implications.  That is why I asked what they are wanting to do.  Why go through all the ssh and putty config/setup especially running X across putty, when it might be overkill.

0
farzanjCommented:
There are just a few additional steps in VNC server setup to do ssh tunneling for encrypted communication.
0
xtermCommented:
You can use any ssh software to connect to the IP address of your server - putty is a free client that will work.  You will need to connect to the server on port 22 (or you can try plain-text on port 23, but that is rarely enabled nowadays) and you will need a username and password.

After you successfully log in, you will be in a terminal similar to a dos prompt.  Enter the following command:

  ps ax | grep Xorg

This is telling it to display the process list on the system, and look for the presence of the pattern "Xorg".   If you see output that looks like below, then the graphical environment is running:

[myuser@myhost ~]$ ps ax | grep Xorg
 6006 tty7     Ss+    0:02 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
18692 pts/8    S+     0:00 grep Xorg

If the line that contains "/usr/bin/Xorg" is missing from the output, the graphical environment is NOT running.
0
eagerCommented:
You need the root password as well as the IP address of the server.

$ ssh -X root@<server-ip>
password:  *****

If you are able to log in remotely, you can find out if it has a GUI environment by running xterm.  If it works, you have a GUI; if not, you don't.
0
xtermCommented:
eager:
- You do not have to be root to determine if X is running
- And you cannot run xterm via ssh unless you either export the DISPLAY to a remote X-server, or you tunnel it back to the client X host via ssh.  If you just run it, you will get a "cannot open display 0:0" error or something similar
0
eagerCommented:
@xterm: No you don't have to be root to tell if X is running.  I never suggested that you did.
I did say that if you want to log into the server so that you can administer it, you will need the root password.

You should read the man page for ssh and see what the -X option says.  You can run any X program from the ssh shell and the output will be directed to your display. No errors.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

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.