SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not with my Slackware lappy right now... I am at the library of RIKEN right now using a W^%>S box...
I am googling for a solution for this problem, in google and in LinuxQuestions...
I have downloaded netkit, as well as netkit-kernel and netkit-filesystem (huge package btw... ) from SlackBuilds org.
I have downloaded these slackbuilds, as well as I have saved lots of google pages about "-nolisten TCP", "XDMCP", "hosts.allow", "xhost cannot connect to x server"... etc... all that may be vaguely related to the problem I have... to my usb stick...
As soon as I get back to my Slackware box, I will do as you told...
Crossing my fingers already...
Will have more news in a few hours...
Thanks a lot for teaching me the "esoteric" character of enabling some services in Slackware..
Only "netkit-rsh" is required and only if you do not already have rshd installed. Do not install the others. Take it one step at a time so we can following along with what you are doing. Best not to install anything new until you provide the output of the commands above.
Sorry for being late... Don't know what happened to the wireless access point, no PC seems to be able to connect...
Anyway... here I am... ran the checks... the results are :
bash-3.1# ps -ef | grep rshd | grep -v grep
bash-3.1# ls -l /usr/sbin/*rsh*
-rwxr-xr-x 1 root root 15880 2008-09-23 23:52 /usr/sbin/in.rshd
-rwxr-xr-x 1 root root 8248 2008-11-27 10:06 /usr/sbin/ownership
-rwxr-xr-x 1 root root 68576 2009-06-26 20:59 /usr/sbin/smrsh
bash-3.1# locate rshd
locate : fatal error: could not find user database /var/lib/slocate/slocate.db : no such file or directory
bash-3.1# grep rshd /etc/inetd.conf | grep -v '#'
bash-3.1#
So... guess in.rshd is there allright...
what must i do now...?
So far I have not touched anything, neither /etc/kde/kdm/kdmrc, nor /etc/ssh/ssh_config nor /etc/ssh/sshd_config, nor ~/.rhosts, nor have I generated ssh keypairs...
system is "AS INSTALLED", Only thing I have done is build Code-Aster into /opt/aster/*
No reboot required. I setup rsh on my box and I was getting the same problem. Turns out in.rshd has to be started by inetd. I fixed that, but now I'm getting the error "poll: protocol failure in circuit setup". I am looking into that I will let you know.
In order to connect:
1. Edit /etc/inetd.conf by uncommenting the line with 'in.rshd -L'
2. Restart inetd "/etc/rc.d/rc.inetd restart"
3. Now try connecting. You should not be getting connection refuse anymore.
Have to go now... more ppl want to use this PC ( library PC ) I still have no dhcp offers from the wireless ap in my lappy ( nor anybody else, AFAIK... the router is cranked... )
Tomorrow, will be back w/more news and result of editing inetd.conf script...
Thnks for all yr help... :-)
If I get Code Aster working in Slackware, I'm going to Zapp Debian away from my lappy for good... ( so far, been using Slackware in a USB HDD connected to it... )
Got it working. I am really really glad I use ssh. I put all the steps together so anyone searching can find it in one spot.
Perform as root user:
1. Ensure rshd is installed. These files should be present.
Thks for all your help... now the launching test performs ok...
There is only one more step to go... :
In a Finite Elements Calculation, the app ( ASTK , basically a Tcl/Tk GUI for input of Solver parameter, mesh, and output files names/paths ) calls for execution in an xterm window, and drops a script in a folder called ~/flasheur.
In a "correctly set" environment, the calculation can be launched from ASTK gui, calculation will proceed in an XTERM, till the end, when xterm dies, and result files are where you "instructed" ASTK to drop them.
I guess thet the rsh functionality is only for the solver to be able to play along with intermediate result files between /tmp/astk ( thats where they get dumped ...) and your work folder.
In my installation, ASTK does not launch an xterm, still, it dumps the calculation setup script in ~/flasheur, and if i call it within that directory, it will perform the calculation allright...rsh is enabled, so files get copied and moved around...
But not being able to have the xterm automatically called from within ASTK ( I guess this is called TCP tunelling... right..?! ) hinders the ability to let Aster perform batch calculations in an optimization loop for instance...
I guess this is where the /etc/kde/kdm/kdmrc --nolisten TCP and the ssh thing come into play....
What must I do for ASTK to be able to call an XTERM...?
( Pls not that I do this from runlevel 3/startx into fluxbox...
1) Is TCP tunelling to X already enabled in init 3 ( BTW...does init 3 ever "sees" /etc/kde/kdm/kdmrc...? ), or must I go into Init 4...?
2) Do I have to tweak some more files to enable Tcp tunelling to X... ? ( maybe this is where the ssh thing apply...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.