LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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, 03:25 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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, 03: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, 03:45 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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 04:17 PM. Reason: Typo
 
Old 02-04-2009, 03: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, 03:51 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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, 04:01 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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 04:02 PM.
 
Old 02-04-2009, 04:33 PM   #8
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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 04:39 PM.
 
Old 02-04-2009, 05: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, 05:24 PM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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, 05:44 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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 06:14 PM.
 
Old 02-05-2009, 12: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, 02:56 AM   #13
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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 02:58 AM.
 
  


Reply



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 07:03 AM
extremely new linux user tripoli40 Linux - Newbie 3 10-19-2005 08:41 PM
What do you think it is not enough for linux to be extremely good Nad0xFF General 44 04-12-2005 01:10 PM
Extremely new to linux and the like yari130 Linux - Newbie 2 11-24-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 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
Open Source Consulting | Domain Registration