LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Who can tell me how to rlogin to linux system from windows (https://www.linuxquestions.org/questions/linux-software-2/who-can-tell-me-how-to-rlogin-to-linux-system-from-windows-103258/)

iamthewind 10-12-2003 09:35 PM

Who can tell me how to rlogin to linux system from windows
 
what's up! Everyone!

My operation system is RH9 ,and It stays in my office .So , I want to rlongin my machine when I am home ,And the system I use home is Win2000.But I don't know what should I do to let me rlogin.

Who can tell me . Thanks, Everyone , A step by step manual is better. 3ks!

teknomage1 10-12-2003 09:56 PM

Don't use rlogin! it's crazy insecure and it sends your password PLAIN TEXT across the internet. Use ssh on your redhat system it should already be installed. Run sshd on the redhat system and download a program called PuTTY for windows. Configure it to use port 22 and you're good to go
rpm -q openssh should tell you if you have ssh
man ssh and man sshd should tell you how to use them
http://www.chiark.greenend.org.uk/~sgtatham/ putty/download.html putty download sight

iamthewind 10-12-2003 10:52 PM

I have installed it !
And I have upgrade it just now! to 3.7p1-1
I just want to remotely log in , anyway is OK
may u tell me how to use putty?
thanks again!

meldroc 10-13-2003 12:04 AM

PuTTY and ssh are the way to go. As far as PuTTY goes, once you download it onto your windows box, just double-click to start the executable, and it will have a dialog asking which host you want to connect to, and which protocol you wish to use (hint: ssh). Click OK, and it will bring up a terminal window and ask you to log in.

iamthewind 10-13-2003 10:01 AM

Thanks for your help
but now ,It is not putty 's problem ,I take putty down and have run it ,but it can't connect to the linux.
I've opend ssh sevice using # service sshd start
but may be I have some problem with openssh ,and my linux was configured wrong! may you show me some suggestion?

swell 10-13-2003 01:25 PM

Check your hosts.allow and hosts.deny. If you know the IP address of your home computer, then just add it into hsots.allow. If not, don't use hosts.deny to block any IP.

teval 10-13-2003 01:56 PM

I don't beleive putty lets you forward X11
Isn't rlogin that remote desktop program that NT has?
If you want to see the other computer's desktop there actually is a free program from that. Apparently a spinoff from a reasearch project at AT&T. I've used it many times to reapair some of my friend's windows computers. Since I don't have windows, it's the only program that is truly cross-platform that I could find.
ssh is nice, and very useful, but sometimes getting the other computer's desktop is important too :)
http://www.realvnc.com/

teknomage1 10-13-2003 06:20 PM

Regardless you can't forward X11 windows to an NT desktop. If you're trying to log into your computer at work from your computer at home, first find out if your company has a firewall or something that would prevent you from getting there, next make sure you know your ip address and that it's not an internal lan only address such 192.168.*.*. Next see if there's a sysadmin available who can help you set everything up...finally maybe get linux at home..haha just kidding, but seriously ask your local systems administrator about your problem.

uglydot 10-13-2003 06:45 PM

VNC is a lot of fun, makes networking that stupid printer so much easier because I don't have to get up.

frieza 10-13-2003 06:50 PM

actually, yes you can forward X11 to a windows NT desktop, there is a program called mi/x that is an X server for windows it isn't free, althought there is a demo for you to give it a try

iamthewind 10-13-2003 09:02 PM

Thanks a lot for your help!
but may be I didn't express clearly ,what I want to do is to log in linux from my home computer(windows) so, the linux is server and the windows is client ,but when I open the ssh service , isn't the linux be client ?
I am a newer ,and so puzzle ,

teval 10-13-2003 09:17 PM

What do you mean by opening the ssh service? What you're probably doing is invoking the ssh program from coomandline.
You need to launch the ssh server (the ssh daemon (note the spelling, it's what servers are called under *nix)

frieza 10-13-2003 09:39 PM

exactly, run the SSHd, on your linux box and then run putty on the windows box to connect to the windows box, as for X, well, that's upt to you and not exactly free

JimDog 10-13-2003 11:33 PM

Maybe I can clear things up (I'm a newbie as well).

My situation was very similar...I have RH9 at home and W2K at work....so I started the sshd program at home (notice sshd is a daemon, so it's a "server" not a client).

Then from work on my Win2K machine I installed Cygwin....this way I can ssh into home AS WELL as forward my X11 desktop to my Win2K machine (I did try the mi/x thing but it wasn't free; cygwin is).

Note a couple of things...

1) my work has a firewall/proxy setup...so I had to use htc/hts to go through the firewall/proxy.
2) Forwarding X11 is way cool, but to be honest from all the tests I've done, using VNC is faster than forwarding X11 and it's the same end result.

Good Luck.
p.s.
Cygwin: www.cygwin.com
hts/htc: http://www.nocrew.org/software/httptunnel/
VNC: www.realvnc.com

frieza 10-14-2003 12:02 AM

cygwin.... yes, i forgot about that, it can run X as well and it's free as far as i can rembember

swell 10-14-2003 02:41 PM

Hi,
JimDog
So, Can I control remote windows computers by VNC? Forwarding X11 is convenient b/c you don't need to know the IP of yourself (useful when you are behind a router or firewall).

JimDog 10-14-2003 07:04 PM

Not 100% sure I understand what you mean about "not knowing the IP of yourself". If you're on Windows you can just to an ipconfig and on Linux you can do ifconfig. Maybe I missed something.

With X11 I was able to launch linux apps running on my linux box, but I'd see them on my Win2k box at work. I was also able to lauch an entire desktop session (gnome) but again, it's very slow.

With VNC on Linux you see your entire desktop by default, but it's slightly different than running VNC on Windows.

On Windows you have one session, when you login with VNC you see that one and only session....in other words, someone sitting at that Windows computer will see your every mouse move. With Linux that's not the case, you can think of the VNC sessions on Linux as a separate login. Does that help or did I totally misunderstand your question?

swell 10-14-2003 10:33 PM

Hehe, What I mean is whether I can login into windows XP from another computer if I use VNC.

"not knowing the IP of yourself" means that if I use X11 forwarding in ssh by "ssh -X", then I don't need to know my own IP and I can also control remote linux box. Ipconfig is no use when you connects to internet through a router. Am I right? Because the IP is the true IP, and the graphical interface of apps can't be forwarded back to my computer by an artificial IP address, even with the IP of the router(here, I mean the server computer), it doesn't work(I tried that.). Not sure if I cleared up all misunderstandings.

JimDog 10-15-2003 08:31 AM

Oh....yeah VNC rocks! VNC has been ported to lots of different OSs....as long as you have a VNC Server running on a machine (be it XP, Linux, 2k, 98, etc etc) then you can connect to it via the VNC client (again, any client OS, XP, Linux, 2K, etc etc).

I think I understand what you're saying about the IP stuff now....true the router will have the "real IP" while you have the internal network/private IP. This does become a problem when going through a router / proxy say at work....in my case I can connect home through my works' router, but I haven't been successful going the other way (from home to work) and I think it's because of exactly what you're saying....I still need to try some more though.


All times are GMT -5. The time now is 10:51 AM.