LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-04-2009, 04:04 PM   #1
avacomputer
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Extremely New to Linux.


Hello All. I am extremely new to linux, this being my first machine. I would like to setup a web server using Red Hat 5. I already have it installed and now I need help with configuration. Is it possible to do a remote desktop like windows?
 
Old 02-04-2009, 04:25 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241
Welcome to LQ.

Strictly speaking, Remote Desktop is a Windows protocol that you can use with a Windows server only, though you can install open source RDP *clients* on Linux.

What are you thinking about when you say Remote Desktop, in other words what are the functions or features you need or wish ?

PS Next time find a more useful title: as it is, it doesn't say anything about your issue.
 
Old 02-04-2009, 04:32 PM   #3
avacomputer
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for a quick response. I am at a windows based machine and I would like to connect to my newly installed linux machine from my windows machine. Sorry that sounds counfusing. I don't want to sit infront my linux machine. I installed the real vnc but can't figure out how to start it.
 
Old 02-04-2009, 04:45 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241
So I suppose the two machines are on the same local network.

If this is the case, it still depend on what you want to be able to do from your Windows machine.

If you want to be able to:
- administrate your Linux machine, set up a ssh (server) on it,
- share files with your Linux machine, install Samba on it,
- access the web server on your Linux machine, install e.g. Apache on it
- ...

Last edited by Didier Spaier; 02-04-2009 at 05:17 PM. Reason: Typo
 
Old 02-04-2009, 04:48 PM   #5
avacomputer
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
So I suppose the two machines are on ten same local network.

If this is the case, it still depend on what you want to be able to do from your Windows machine.

If you want to be able to:
- administrate your Linux machine, set up a ssh (server) on it,
- share files with your Linux machine, install Samba on it,
- access the web server on your Linux machine, install e.g. Apache on it
- ...
Thank you. Can you give a brief description on how I would go about install these options on my server?
 
Old 02-04-2009, 04:51 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,603
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,
Quote:
Originally Posted by avacomputer View Post
Thank you for a quick response. I am at a windows based machine and I would like to connect to my newly installed linux machine from my windows machine. Sorry that sounds counfusing. I don't want to sit infront my linux machine. I installed the real vnc but can't figure out how to start it.
If you want to connect to the GNU/Linux machine you could use 'putty'. A good tool to use whenever you must be on a M$ based machine and need to really get some work done on a GNU/Linux machine.

This link and others are available from 'Slackware-Links' . More than just SlackwareŽ links!
 
Old 02-04-2009, 05:01 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,095

Rep: Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241
Quote:
Originally Posted by avacomputer View Post
Thank you. Can you give a brief description on how I would go about install these options on my server?
I am sorry but the answer is no. You will have to dive into the documentation for your distribution, look at the available resources on the Internet as some "how-to", and read the "man" pages for the relevant commands.

But I suggest you first familiarize yourself with your system; setting up these applications in an effective and safe manner is not trivial.

Last edited by Didier Spaier; 02-04-2009 at 05:02 PM.
 
Old 02-04-2009, 05:33 PM   #8
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,177

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by avacomputer View Post
Is it possible to do a remote desktop like windows?
RDP no, that is a Microsoft patented protocol, however you can use VNC, just install vncserver on your server via the command "yum install vnc-server", you will need root permissions to do this.

To connect to this you will likely either have to open the port on your firewall or use an SSH tunnel to bypass the iptables firewall. The SSH tunnel would be the far more secure method as VNC defaults to no encryption which is dreadfully unsecure as even login details are unencrypted in this method. To create an SSH tunnel in windows to a linux server, "putty" would serve the best method to achieve this. Most if not all VNC clients also offer a method of encryption which you can enforce should you not want to use SSH tunnels but this still requires the port to be opened on IPtables (ports are 59xx starting at 01 for display 1)

VNC may also require some minor configuration to default to load a window manager like gnome or kde but this is an effective way to get something similar to Remote Desktop for Windows. If you wish to go down this path I might be able to dig out a guide or two on more details paths of how to achieve this.

Alternatively if your just after a basic shell, as stated above, Putty will handle by creating an SSH connection to your server. RHEL defaults to having SSH enabled and it's port opened within the iptables firewall.

Last edited by r3sistance; 02-04-2009 at 05:39 PM.
 
Old 02-04-2009, 06:18 PM   #9
avacomputer
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
How do I get root permissions? I am the only user setup.
 
Old 02-04-2009, 06:24 PM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,177

Rep: Reputation: 107Reputation: 107
If you are logged in as root then you automatically have root permissions. Alternatively their is sudo (super-user do) if your user is set-up for it. Generally it's advised to not directly login as root. If you are doing this, create a secondary user and then give it sudo permissions in the /etc/sudoers file. The one disadvantage to not using root is that some tools are in /sbin/ only by default which means you have to do /sbin/program but this is safer, personally for things I use alot I create symlinks in /bin to their /sbin counter part.
 
Old 02-04-2009, 06:44 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
To install packages, use the menu option
Applications -> Add/Remove software
http://www.linuxtopia.org/online_boo...hical-rpm.html
if you have installed the GUI. If not, you can achieve the same thing using the 'yum' command at the cmd line.

Last edited by chrism01; 02-05-2009 at 07:14 PM.
 
Old 02-05-2009, 01:09 AM   #12
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
This doesn't have anything to do with remote desktop, but your OP indicated you needed help with getting apache (?) configured... so I suggest you install webmin (web interface to assist with administration) and use that to help you configure the various services you wish to run.
 
Old 02-05-2009, 03:56 AM   #13
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You might consider installing cygwin/X on your windows machine. This will allow you to log into the server, and run graphical wizards remotely, even if the server isn't running in graphical mode. The X server is located on the terminal (your windows machine). The application is an X client. Run "startxwin" in the bash shell, then simply log in like "ssh -X user@hostname". Now you can start a graphical app and it will show up on your windows machine. Ssh handles configuring your DISPLAY variable, and other things needed to display the app remotely.

For servers, it is generally safer to have as little installed and running as possible. This means not running the server in the graphical mode. If you follow this advice, the tightVNC or a remote desktop app may not work.

Last edited by jschiwal; 02-05-2009 at 03:58 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux is extremely slow when writing a pendrive pxumsgdxpcvjm Linux - Newbie 3 01-30-2007 08:03 AM
extremely new linux user tripoli40 Linux - Newbie 3 10-19-2005 09:41 PM
What do you think it is not enough for linux to be extremely good Nad0xFF General 44 04-12-2005 02:10 PM
Extremely new to linux and the like yari130 Linux - Newbie 2 11-25-2004 12:33 AM


All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration