Re: Cannot connect to a Sun server using xterm
Hello, Pardon my ignorance, but what am I supposed to do to solve the problem ? Regards, Marek Alexander Gottwald skrev: On Tue, 3 May 2005, a12 wrote: connect /tmp/.X11-unix/X0: No such file or directory X connection to localhost:10.0 broken (explicit kill or server shutdown). What about this message ? This just means your local server is not running. Same as before with can't connect to localhost:6000. But this time DISPLAY was :0.0, not localhost:0.0 bye ago
Re: Cannot connect to a Sun server using xterm
Which means: use XDMCP don't use xterm. Please correct me, if I am wrong. Regards, Marek Alexander Gottwald skrev: On Wed, 4 May 2005, a12 wrote: Hello, Pardon my ignorance, but what am I supposed to do to solve the problem ? Start XWin.
Re: Cannot connect to a Sun server using xterm
Hello again, I logged into sun host again, and entered: xauth remove localhost:10.0 [not del] Then I started the graphical application, and I still get the following error: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). Any hints ? Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Hi, When I enter in the PC window: ssh -Y [EMAIL PROTECTED] I get a request for password, and I am logged into the Sun host. Then I start the graphical application in the Sun host, and I get the following error message: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). So I checked the DISPLAY variable, and as it was set to 'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the application in the Sun host. Guess what? localhost:10.0 was all right and a.b.c.d:10.0 is wrong. There may be some older authentication info left. Maybe this helps: $ xauth del localhost:10.0 bye ago
Could not init font path element
Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Pardon my ignorance, but where do I find these fonts ? Regards, Marek
Clipboard is not enabled
Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. Is it a normal procedure, or should I enable the clipboard by some means ? Regards, Marek
Re: Clipboard is not enabled
Hello, Thank you very much for your quick adequate reply. Regards, Marek Alexander Gottwald wrotev: On Tue, 3 May 2005, a12 wrote: Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. Is it a normal procedure, or should I enable the clipboard by some means ? This is just a message for informing the user and developers what's going on and give well defined output on why the clipboard is not working. If you want clipboard integration start XWin with XWin.exe -clipboard -query sun-host bye ago
Re: Could not init font path element
Hello, Thank you very much for your quick adequate reply. Regards, Marek Alexander Gottwald wrotev: On Tue, 3 May 2005, a12 wrote: Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! xorg-x11-fscl Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! xorg-x11-fscl Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! There are no such fonts in the distribution Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! xorg-x11-f100 bye ago
Re: Cannot connect to a Sun server using xterm
Hello again, I have no .Xauthority in $HOME in my PC. I logged into the Sun host using: ssh -Y [EMAIL PROTECTED] removed .Xauthority in $HOME there, logged out logged in again. When I started the graphical application in the Sun host, I received the following error: *** OI_init: Error, cannot connect to X server ntc: couldn't open a connection to a X server So, I checked that there still is no .Xauthority in $HOME in the Sun host, logged out, and logged in using: $ DISPLAY=:0.0 ssh -Y [EMAIL PROTECTED] and I received the following message: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue May 3 15:54:34 2005 from 131.115.36.154 /usr/openwin/bin/xauth: creating new authority file /export/home/neat/.Xauthority When I started the graphical application, I received the following message: connect /tmp/.X11-unix/X0: No such file or directory X connection to localhost:10.0 broken (explicit kill or server shutdown). What about this message ? Regards, Marek Alexander Gottwald wrote: On Tue, 3 May 2005, a12 wrote: Hello again, I logged into sun host again, and entered: xauth remove localhost:10.0 [not del] Then I started the graphical application, and I still get the following error: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). Any hints ? Maybe you have to remove $HOME/.Xauthority on windows and unix side. I've not seen the message for some time now and can't tell which side has the wrong credentials. Maybe DISPLAY=:0.0 ssh ... helps (instead of DISPLAY=localhost:0.0) bye ago
Cannot access Sun server via VNC
Hello X users, I have just installed XFree, and I can access a Sun server using: XWin.exe -query host When I try to access another Sun server using Cisco VPN, only X window is shown, but I do not get any login window from the server. Is it possible to access a Sun server using VPN ? Regards, Marek
Re: Cannot access Sun server via VNC
Hello Alexander, Thank you very much for your quick reply. I will try your hint tonight. Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Hello X users, I have just installed XFree, and I can access a Sun server using: XWin.exe -query host When I try to access another Sun server using Cisco VPN, only X window is shown, but I do not get any login window from the server. Is it possible to access a Sun server using VPN ? Have you tried the -from parameter? Have ou made sure the host allows remote XDMCP access? You should first walk through the FAQs starting with http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-no-valid-address bye ago
Cannot connect to a Sun server using xterm
Hello X users, I access a Sun server using: XWin.exe -query sun-host I login, and start an application in the Sun server correctly. When I start xterm using startxwin.bat, and then I start xterm to a Sun server using: xterm -e /bin/telnet sun-host I get a new xterm window from the Sun server, and I login to the Sun server correctly. Then I start a graphical application in the Sun server, and I get the following error: *** OI_init: Error, cannot connect to X server ntc: couldn't open a connection to a X server What have I missed ? Regards, Marek
Re: Cannot connect to a Sun server using xterm
Hello Alexander, Thank you very much for your reply. Following your hints, I entered in the xterm window in the PC: xterm -e ssh -Y sun-host Then a SSH window appeared in the PC: The authenticity of host 'borsen1 (a.b.c.d)' can't be established. RSA key fingerprint is x:y:z:... . Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'borsen1,a.b.c.d' (RSA) to the list of known hosts. Password: Whatever I entered as the password, the password question reappeared, and eventually the ssh window was closed. When I installed Cygwin ssh, I did not use any password. Any hints ? Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Hello X users, I access a Sun server using: XWin.exe -query sun-host I login, and start an application in the Sun server correctly. When I start xterm using startxwin.bat, and then I start xterm to a Sun server using: xterm -e /bin/telnet sun-host I get a new xterm window from the Sun server, and I login to the Sun server correctly. Then I start a graphical application in the Sun server, and I get the following error: *** OI_init: Error, cannot connect to X server ntc: couldn't open a connection to a X server What have I missed ? telnet does know nothing about the xserver. Use ssh instead. xterm -e ssh -Y sun-host This will connect using the secure ssh protocol and tunnel all X11 traffic thought the ssh connection. If this does not work check the FAQ entries about ssh connections http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding bye ago
Re: Cannot connect to a Sun server using xterm
Hello again, Following your reply below, I created an userid in the Sun server, and entered: xterm -e ssh -Y sun-host In order to test the graphical aplication in the Sun server, I closed both X windows, entered startxwin.bat in a DOS window, and entered in the first X window: xterm -e ssh -Y userid@sun-host sun-host Then I replied to the password request, and the X window from the Sun server just closed. I have also tried: xterm -e ssh userid@sun-host -Y sun-host replied to the password request, and the X window from the Sun server closed too. Any hints ? Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Password: Whatever I entered as the password, the password question reappeared, and eventually the ssh window was closed. When I installed Cygwin ssh, I did not use any password. Any hints ? You are connecting to the sun server and must provide the password from the sun server. most likely the same as with telnet bye ago
Re: Cannot connect to a Sun server using xterm
Hi, When I enter in the PC window: ssh -Y [EMAIL PROTECTED] I get a request for password, and I am logged into the Sun host. Then I start the graphical application in the Sun host, and I get the following error message: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). So I checked the DISPLAY variable, and as it was set to 'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the application in the Sun host. A while later, I got the following error message: *** OI_init: Error, cannot connect to X server ntc: couldn't open a connection to a X server ntc is the name of the graphical application. As far as I understand, ntc cannot connect to a X server. Any hints ? Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, Henry Camacho wrote: I've done the following using our Sun hosts with success... ssh -Y -l root sunhost Right. But using root for doing non-administrative tasks is a high security risk. xterm -e ssh -Y userid@sun-host sun-host What does this mean: - start xterm (in the background) - in xterm start ssh to host sun-host with user userid - on sunhost start command sunhost the last part is the problem $ xterm -e ssh -Y userid@sun-host should work much better xterm -e ssh userid@sun-host -Y sun-host replied to the password request, and the X window from the Sun server closed too. after ssh failed, the xterm is closed because it was not interactive. You should try starting ssh from the cygwin prompt first. This will keep the error message. open cygwin prompt $ ssh userid@sun-host -Y sun-host Oops this should be $ ssh -Y [EMAIL PROTECTED] or like mentioned above $ ssh -Y -l userid sun-host bye ago
Re: Cannot access Sun server via VNC
Hello again, I have just tried your hint using: Win.exe -query sun-host -from localip where localip is the IP address received from Cisco VPN client. Sun host IP address is a.b.c.d, and localip is a.e.f.g XWin errors off, and the contents of /tmp/XWin.log are: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-2 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -query host1 -from a.b.c.d ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Fatal server error: Xserver: failed to bind to -from address: a.b.c.d winDeinitMultiWindowWM - Noting shutdown in progress Then I tried to use the IP address that my ISP gave me: XWin.exe -query host1 -from a.e.f.g The contents of /tmp/XWin.log are the same as above. As I am connected to Internet using a router, I also tried: XWin.exe -quesry host1 -from 192.168.0.3 This time a get a X window, and the cursor appears as a cross hair. After some seconds, I get an error message, and the contents of /tmp/XWin.log are: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-2 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -query host1 -from 192.168.0.3 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 041d (041d) (--) Using preset keyboard for Swedish (Sweden) (41d), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Fatal server error: XDMCP fatal error: Session failed Session 2 failed for display 192.168.0.3:0: Cannot open display winDeinitMultiWindowWM - Noting shutdown in progress Any hints ? Regards, Marek a12 wrote: Hello Alexander, Thank you very much for your quick reply. I will try your hint tonight. Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Hello X users, I have just installed XFree, and I can access a Sun server using: XWin.exe -query host When I try to access another Sun server using Cisco VPN, only X window is shown, but I do not get any login window from the server. Is it possible to access a Sun server using VPN ? Have you tried the -from parameter? Have ou made sure the host allows remote XDMCP access? You should first walk through the FAQs starting with http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-no-valid-address bye ago
Re: Cannot access Sun server via VNC
Hello again, Following your reply below, I entered: DISPLAY=localhost:0.0 ssh -Y [EMAIL PROTECTED] and then entered the password for userid. Then I received the following messages: Warning: No xauth data; using fake authentication data for X11 forwarding. tput: unknown terminal cygwin tput: unknown terminal cygwin tput: unknown terminal cygwin Eventually I started the graphical application in the Sun host, and got the following messages: connect localhost port 6000: Connection refused X connection to localhost:10.0 broken (explicit kill or serever shutdown). Shall I set the terminal type to something else ? May the refused connection on port 6000 be caused by a firewall setting ? Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Fatal server error: XDMCP fatal error: Session failed Session 2 failed for display 192.168.0.3:0: Cannot open display winDeinitMultiWindowWM - Noting shutdown in progress Any hints ? It seems you're out of luck. XDMCP is a strange protocol and esp. network address translation (as used with VPN) will complicate the process. You'll have to use ssh with X11Forwarding bye ago