Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wanted to ask you guys, I have a RHEL box here at work that I'm using to play with. My boss and I were trying to connect from his computer, and he was trying to start a GUI interface from his PC. I have a firewall in the RHEL so I can only connect from SSH client. I would like to be able to connect from another PC and be able to use the active KDE desktop environment, is this possible? Or can I only use this from the RHEL box itself?
I'm sorry I'm very new at linux and I probably didn't ask the question right. Basically what I want to do is when I connect via an SSH client like Putty to my Red Hat box from a remote computer, I want to be able to see the GUI interface that I see when I startup linux from the machine itself. The GUI interface being KDE or Gnome I think that's what they are called.
ssh is a text-only connection, just like telnet, ftp, and others.
If you want to allow access to a GUI on your machine, you'll have to provide a different service. The (arguably) most popular one is VNC. The normal routine is, a user logs into the Linux machine, starts a VNC server, then connects with another application: a VNC viewer.
A couple of things: Configuring VNC to do what you want can be a bit frustrating if it's your first time to try it. A lot of users have an initial problem of getting a gray screen with a black, 'X' shaped cursor. If you try VNC and get that, then the configuration files are not starting up KDE properly.
Second: It is posible to have VNC connections go through your SSH port; which makes it so you only have to open one port in your firewall. This would be an advanced setup, and I wouldn't try messing with it until you have VNC working without it. It's referred to as "port forwarding".
There are a number of different VNC flavors (TightVNC, RealVNC, TridiaVNC, etc.). Check your Red Hat CDs and see if there's an RPM available. It may already be installed on the system. Once installed, read the man pages: man vncserver man vncviewer
If you'll only be connecting from a Windows box, then you'll need to download a VNC viewer for that box (any viewer you find should work).
Last edited by Dark_Helmet; 04-15-2005 at 12:21 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.