how to get source ip of a telnet session

2003-07-30 Thread msg
Greetings: We need a method of learning the ip address of the client in a telnet session to a Win2k Server SP3 host; the information will be used in the user's ~/.profile to set the DISPLAY variable prior to starting an X session. On Unix one may use 'lsof' (if available) and grep on the shell

Re: how to get source ip of a telnet session

2003-07-30 Thread msg
Thanks for your reply. Harold L Hunt II wrote: Any reason you can't grep the output of tlntadmn to get what you need? By the way, when I run tlntadmn /? I get: snip When I run tlntadmn /? I get a hung command shell which eventually times out; only running without args seems to work...

Re: how to get source ip of a telnet session

2003-07-30 Thread msg
Harold L Hunt II wrote: Is there any reason you are using telnet server instead of sshd under Cygwin? The X-terminals to be supported don't du ssh; also the intent here is to provide a nearly seamless login requiring only the user to enter uid and passwd to get a session, which in this

ACL or file locking issue?

2003-07-16 Thread msg
Greetings: Is this an ACL or file locking issue? Trying to copy a registry file in a 'bash' shell as a privileged user (whoami /priv appears below) yields: (root's prompt is '#') # cd /cygdrive/c/winnt/system32/config # cp SAM /var/tmp cp:'SAM.exe' and '/var/tmp/SAM' are the same file I can

XDM now working on cygwin to manage remote displays

2003-07-14 Thread msg
Greetings: Just reporting progress on making a working XDM for Cygwin/XFree86 to manage remote displays: I now have XDM working to provide a greeter dialog, authenticate the 'root' user (who has setuid privs on the host) and spawn the .xsession (in my case startup an rdesktop session). Very

Re: cygwin_logon_user() not working

2003-07-13 Thread msg
Problem solved; details for the archives (see below): We don't have any native Win2k/NT debugging or development tools; what can we do to troubleshoot this? First, the necessary privileges were assigned to the 'root' user account in Win2K's local security policy GUI (this was the first

cygwin_logon_user() not working

2003-07-11 Thread msg
Greetings: Please help us to get NT authentication working. This is the platform: Windows 2000 server sp3 Cygwin 1.3.22-1 CYGWIN=ntsea ntsec users 'root' and 'Administrator' have these additional permissions: Act as part of the operating

Re: cygwin_logon_user() not working

2003-07-11 Thread msg
Corinna, thanks much for your reply; please bear with me here (in case I'm missing something): On Fri, Jul 11, 2003 at 11:56:09AM -0500, msg wrote: be owned by the new uid. The code fails on the call to cygwin_logon_user() which returns -1 (invalid HANDLE). The output of 'strace

Re: Win2k Telnet Server login issues (no XDM so gotta use something)

2003-07-09 Thread msg
that there is a working implementation of 'xdm' on Win2K which deserves investigation... msg, sorry, I don't think NT's telnetdeamon does mount drives and so on, give cygwin's (rshd/sshd/telnetd) a try, and read the faq how to get it mount the drives.. and check the cygwin mailinglist, well

Re: rdesktop.exe session on an X-terminal?

2003-07-08 Thread msg
Downloaded 900 Megabytes of dist. from a mirror at 33.6kbs; got all the libs and compilers installed and configured (manually... folks, one ought to press for a different package management approach then that used by 'setup.exe') and built rdesktop with X11 support... Tell us how well it works

Win2k Telnet Server login issues (no XDM so gotta use something)

2003-07-08 Thread msg
Greetings: X-terminals will need to connect to the Win2k box using something other than XDM (until it works) so one must consider telnet or rsh. The native windows telnet daemon is supposed to set environment vars HOMEDRIVE and HOMEPATH which can then be used by the system login script

Re: rdesktop.exe session on an X-terminal?

2003-06-23 Thread msg
Alexander Gottwald wrote: 'rdesktop.exe' will not open a session on the remote display. 'rdesktop.exe' does open a session window on the console display if invoked from a console command prompt. is the DISPLAY variable set? If not, then rdesktop does not know where to display the

Re: rdesktop.exe session on an X-terminal?

2003-06-23 Thread msg
Earle, Thanks for your reply. Yes, rdesktop on Unix works well for us too but we need to build a standalone Win2k-serving-Xterminals-with- Windows-Desktop-sessions solution. Other than Citrix, rdesktop seems to be the only alternative?? Michael Grigoni Cybertheque Museum Earle F.

Re: rdesktop.exe session on an X-terminal?

2003-06-23 Thread msg
Andrew Markebo wrote: hi! Just a couple of quick thoughts here.. * I don't think rdesktop can display the xfree sessions from windows. Indeed, this was never the intent * xfree can't send stuff like word and so on from windows to a x-session on other machine. What is sent is to

Re: rdesktop.exe session on an X-terminal?

2003-06-23 Thread msg
Hi again, Even if rdesktop has some server type mode, it wouldn't let you share Windoze desktops: XWin.exe only knows about X windows that it creates, and doesn't send events or examine non X windows... Let me clarify how we're using 'rdesktop.exe' (and rdesktop on Unix) to show the network

Re: rdesktop.exe session on an X-terminal?

2003-06-23 Thread msg
Andrew Markebo wrote: rdesktop.exe, compiled how? It needs to be compiled with X11 support to be displayed on the X11 terminal. Indeed...I didn't know anyone would remove X11 suppoprt from the sources: Chris January provided the binary and said it was built on Cygwin tools from the 1.2.0

rdesktop.exe session on an X-terminal?

2003-06-22 Thread msg
Greetings: We need to configure a single-host Win2k Terminal Server solution; this machine should provide Windows desktops on X-terminals. On a test machine using Cygwin/Xfree86 one may telnet from the X-terminal and establish an xterm (bash) session but 'rdesktop.exe' will not open a session on