Hello All.
I have a problem in making rexec work on Mandrake 9.0.
Preconditions: the PCs with IP 192.168.0.1 (Win2000, called ws_honeyman) and
192.168.0.101 (MDK9.0, called srv_castle). ws_honeyman has X-Win32 installed,
and the main aim is to allow to work with srv_castle from that X-Win32.
I'm creating a session in X-Win32, with "rexec" as command execution method,
"192.168.0.101" as host, and "/usr/X11R6/bin/xterm -display 192.168.0.1:0" as
command to be executed. Login and password are mine from srv_castle.
Starting a session. srv_castle logs the following:
/var/log/auth.log:
Jun 24 03:04:09 srv_castle xinetd[1002]: START: exec pid=1725 from=192.168.0.1
/var/log/daemons and /var/log/syslog:
Jun 24 03:09:09 srv_castle in.rexecd[1925]: connect from ws_honeyman
/var/log/secure:
Jun 24 03:10:59 srv_castle xinetd[1002]: START: exec pid=1934 from=192.168.0.1
But I don't see xterm started on ws_honeyman (192.168.0.1).
But if I log to .0.101 via SSH and run the same command "/usr/X11R6/bin/xterm
-display 192.168.0.1:0" there, xterm appears on .0.1.
Looks like the X is properly configured, but rexec does not properly starts
the remote xterm session. I've digged in the xinetd, rexec, pam conf-files to
allow rexec execute the sessions on srv_castle by request from ws_honeyman,
but with no luck.
Any ideas?
PS The current settins are following:
-- /etc/xinetd.conf --
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
-- /etc/xinetd.d/rexec --
service exec
{
log_on_success += USERID
log_on_failure += USERID
socket_type = stream
user = root
server = /usr/sbin/in.rexecd
wait = no
only_from = 192.168.0.1
}
-- /etc/pam.d/rexec --
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_rhosts_auth.so
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
--
With best regards,
Alexander mailto:[EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com