Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

rlogin,rexec.rsh ... in linux using suse 6.1

Posted on 2000-03-17
6
Medium Priority
?
1,049 Views
Last Modified: 2011-09-20
I am running suse linux 6.1, that I need to to remotely connect to it through exceed (Window Nt X-Server). My problem is I can not do remote login or execute ands what have you. I tried .rhosts, inted.conf none seem to work. In any other flaver of Unix/Linux after configuring (inetd.conf of .rhosts) works fine, any special configuring I need to do with suse 6.1

Alex Mesfin
Mn.
0
Comment
Question by:asmara
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2630653
Can you telnet to the Linux machine from the NT box? Can you ping the machine ftom the NT box?
0
 

Author Comment

by:asmara
ID: 2630680
Yes, I can do all that.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2631374
Okay, then I expect that your problem is that you can't rlogin (and accordingly you can't use rsh) without providing a password, correct?

Do this, as an ordinary user, you can't be the root user for security reasons. Telnet from NT to the Linux system. when you get logged in do "who -l". That will tell you what hostname the Linux box sees as the remote NT system. If you only get an IP, linux can't resolve the IP of the NT  system to a hostname. You fix that by making an entry in /etc/hosts for the NT system's IP.

Once you've got the hostname (as Linux sees it) of the NT system, put that in "/.rhosts". If the username on the NT box is the same as your Linux username (and don't use a mixed case username as NT won't preserve the case) it should now work.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 3

Expert Comment

by:jyu_88
ID: 2631672
if you enable XDMCP query for the NT box on your Linxu box via /etc/X11/Xaccess, you should be able to run a XDMCP session with Exceed (you'll have a login screen like you have on the SUSE box, and all), instead of to execute single X client such as xterm or gimp or xiterm. That's what you mean by execute right?

If you try to execute 'xterm' from your telnet session, you need to set DISPLAY to your NT box first, such as
/telnet/SUSE/prompt$ export DISPLAY='NT.BOX.IP:0.0'
/telnet/SUSE/prompt$ xterm 2>xterm.err &

If you are try to execute xterm by setting up exceed, you'd better off by doing XDMCP as suggested above.
0
 
LVL 1

Expert Comment

by:fbjean
ID: 2645829
I don't know what login you try to rlogin.

If you have to rlogin with root
Erase the /etc/securetty or add in it the /dev/pts/... ( 0 to xxx)
and you will be able to remotely log with root.


good luck
0
 
LVL 2

Accepted Solution

by:
pheur earned 600 total points
ID: 2707385
You have to start xdm on the linux box. Before starting it have a look to /var/X11R6/lib/xdm/Xservers (you may want to comment out the lines for local display such as :0) or wherever SUSE xdm keeps its config files. Then, in exceed you have to log in using XDMCP (query or broadcast). I suppose it has such an option.
0

Featured Post

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question