I'm stumped - I have tried googling cygwin.com for references to this problem and I am sure it has been discussed there before but I haven't hit on the correct keywords yet.
I have Cygwin and X installed and from a bash prompt I can: [EMAIL PROTECTED] ~ $ X -clipboard& [1] 3632 <snip all the startup stuff> [EMAIL PROTECTED] ~ $ DISPLAY=:0.0;export DISPLAY [EMAIL PROTECTED] ~ $ twm& [2] 2484 [EMAIL PROTECTED] ~ $ winProcEstablishConnection - Hello winInitClipboard () winClipboardProc - Hello winProcEstablishConnection - winInitClipboard returned. DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. I will now have a nice X Desktop and can start additional additional programs and connections like: [EMAIL PROTECTED] ~ $ xterm -bg blue -fg white & I will get an xterm on my Xdesktop for this computer. I can also use ssh to connect to a VMware linux machine on this same machine or others as in : [EMAIL PROTECTED] ~ $ ssh -X -f -l briank atl-lt-5783-lnx xterm -fg grey -bg midnightblue -cr red or $ ssh -X -f -l briank softsrc-vm-lnx xterm -fg grey -bg midnightblue -cr red I will get xterm sessions on my Xdesktop connected to either of these 2 linux machines but if I try to connect to my current workstation or another windows machine (either of which is running sshd as a service) the connection will fail: $ ssh -X -f -l briank atl-lt-5783 xterm -fg grey -bg midnightblue -cr red or $ ssh -X -f -l briank softsrc-vm xterm -fg grey -bg midnightblue -cr red ssh will actually ask for the password but then return to a command prompt. If I instead do a : $ ssh -X -l BrianK atl-lt-5783 or $ ssh -X -l BrianK softsrc-vm You have to remove the -f option since I am not specifying a program to run name and I will get a bash session on these two machines but if I then try to run xterm I will get an unable to open display error: [EMAIL PROTECTED] ~ $ ssh -X -l BrianK atl-lt-5783 Enter passphrase for key '/home/BrianK/.ssh/id_rsa': Last login: Wed Nov 8 12:23:56 2006 from atl-lt-5783.fultonpaper.com Fanfare!!! You are successfully logged in to this server!!! [EMAIL PROTECTED] ~ $ echo $DISPLAY [EMAIL PROTECTED] ~ $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set [EMAIL PROTECTED] ~ $ granted in this case I am connecting to the same machine but even when I try this same scenario against the softsrc-vm machine I get the same result. Shouldn't the DISPLAY have been set by ssh. I did notice my CYGWIN= is env is set to 'ntsec' only and I seem to recall something about it should be set for 'ntsec tty'. Can someone point me to what I am missing here. Like I say the Windows to Linux works great - just having trouble with the to Windows (either Windows to Windows or Linux to Windows) because I also tried from Linux to one of these Windows systems and cannot connect there either. As a side note out of curiosity - why do I sometimes get these lines during twm startup: winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. But then sometimes I do not get the above but instead one indicating success. Thanks for any and all insights and suggestions. bk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/