remote login to a linux system
I'm a real newbie!
I installed centOS 5 and VMware server 1.06 with reasonable ease. I have an XP virtual machine and a Win 2003 server machine working well within the centOS/Vmserver environment. My virtual machines are accessable via "Remote desktop" as intended, but I have no clue as to how to access the Linux OS. I tried "Remote desktop" to no avail.
I bring the net into a switch with 2 routers behind the switch. Router 1 serves one virtual machine and router 2 serves the second virtual machine.
There are 2 nic cards with linux addresses of 192.168.1.201 and 192.168.2.201. The first virtual machine is addressed as 192.168.1.200 and the second as 192.168.2.200. The routers are port forwarding to the virtual machine addresses. (192.168.1.200 and 192.168.2.200) (FTP/TELNET)
How can I reach the Linux OS?
Any help appreciated.
Have you tried using SSH?
There are a variety of methods.
The usual method is to use ssh to connect to the remote machine. Often this just means getting a shell in a terminal, but you can also forward network traffic over the ssh session in a secure way. This is often used to "tunnel" an X-session over ssh.
For individual programs, it goes something like this:
There are some limitations of this approach. Firstly, X over the network is not super efficient. It will probably be pretty slow.
Secondly, you are not getting the whole session - just individual programs.
The X-way of doing a whole session is to start your local X-server and let it connect to a remote machine. For this you need to configure your graphical login manager (GDM for gnome, KDM for KDE) to allow remote logins with X.
There are config options for this. A common way to do it is like this:
The problem with this is that it is not secure, so unless you are on a trusted network, you need to do it via an ssh tunnel.
The last method, which has the advantage of letting you connect to your Windows machines as well as your Linux machines, is to use the remote desktop protocol.
I am not sure about centOS, but I know lots of distros come with gnome pre-configured to have a remote desktop server running in a systray applet. I think this is a standard component of gnome, you just have to enable it in the config. I think it's called vino - install that if it not installed already.
For a secure and reasonably fast remote desktop, you can set up either freenx server or nxserver on the target machine. On the client side, download nxclient from NoMachhine. You need ssh installed and working before NX will work. NX uses compression and forwards the entire desktop, so you wind up with complete access. See this link... http://www.nomachine.com/products.php
Hope this helps.
Thanks for all the help folks. (I tried both methods offered and both work equally well.) The fact I was able to bring up centOS Linux and VMware and establish 2 virtual Win machines is a testomonial of excellence to the Linux community. Well done. Ken
|All times are GMT -5. The time now is 10:17 AM.|