RE: Remote open X application
OK, with Harold's help, it now works for me at last. By default, you should not need to set the DISPLAY variable, the sshd X11 tunnelling configuration should take care of this. But because some admin is not familiar with this, you may need to set up manually. Then I set it to be: localhost:10.1 and it works. But according to Harold, if somebody else is logged on via ssh already and using 10.0, I should set it be to 11.1, but I cannot know that. Anyway, this is a problem with the Remote Linux machine's sshd X11 tunnelling configuration. -Original Message- From: Harold L Hunt II [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 9:17 PM To: Welson Sun Subject: Re: Remote open X application Welson, Let's keep this discussion on the mailing list for others to see. Welson Sun wrote: > Hi Harold, > > I am sorry that I don't use IRC, but I use MSN ([EMAIL PROTECTED]). > Maybe it is a good idea to use IRC, I just finished all my finals so I > have some time to figure this out. :-) > > Yeah, you are right. After I logged on to the remote host, I will set > the DISPLAY variable to be 127.0.0.1:0.0, it worked on some Linux > machines, but not all. So I think this maybe a problem with the Linux sshd configuration. You are not supposed to do that. ssh works by redirecting your X apps to point to a local screen that sshd is listening on. If the DISPLAY variable is unset when you login to the remote machine, then it means that the remote machine is not properly configured for ssh X tunnelling. If it is set, then leave it alone and try running an app... it should work fine. That is what I meant when I said to follow the instructions on the web page; I didn't leave out any steps, which means that I don't want you to add any steps that I didn't mention. Please try that and report your results to the list. > BTW, what IRC program do you recommend? I use Mozilla's IRC program called Chatzilla. Harold
Re: Remote open X application
Welson, Welson Sun wrote: Here is the result: 1. Start Cygwin/X DISPLAY = 127.0.0.1:0.0 2. ssh -X Remote Host DISPLAY = My router's external address So, how do you launch apps from the remote host then? Are you setting the DISPLAY variable on the remote host to point back to the Windows host? By the way, do you do IRC? I am in irc.freenode.net/#cygwinx. It would be easier to help you there. Harold
RE: Remote open X application
Here is the result: 1. Start Cygwin/X DISPLAY = 127.0.0.1:0.0 2. ssh -X Remote Host DISPLAY = My router's external address -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harold L Hunt II Sent: Wednesday, December 17, 2003 8:31 PM To: [EMAIL PROTECTED] Subject: Re: Remote open X application Welson, Welson Sun wrote: > Thanks Harold. > > At first, I just followed the link you provided, but got the error as > stated in my previous email. Then I add the "xhost + ... " command > before doing ssh, and it worked for my Linux machines. > > So, I think it might be that other Linux machines are not correctly > set up, especially for X tunnelling. I am not expert on this, I need > to talk with my system administrator. Run the following when you login to one of your remote machines and tell me if the value of DISPLAY is equal to your Window machine's address or your Linux machine's address: set | grep DISPLAY Harold
Re: Remote open X application
Welson, Welson Sun wrote: Thanks Harold. At first, I just followed the link you provided, but got the error as stated in my previous email. Then I add the "xhost + ... " command before doing ssh, and it worked for my Linux machines. So, I think it might be that other Linux machines are not correctly set up, especially for X tunnelling. I am not expert on this, I need to talk with my system administrator. Run the following when you login to one of your remote machines and tell me if the value of DISPLAY is equal to your Window machine's address or your Linux machine's address: set | grep DISPLAY Harold
RE: Remote open X application
Thanks Harold. At first, I just followed the link you provided, but got the error as stated in my previous email. Then I add the "xhost + ... " command before doing ssh, and it worked for my Linux machines. So, I think it might be that other Linux machines are not correctly set up, especially for X tunnelling. I am not expert on this, I need to talk with my system administrator. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harold L Hunt II Sent: Wednesday, December 17, 2003 8:03 PM To: [EMAIL PROTECTED] Subject: Re: Remote open X application Welson, Welson Sun wrote: > OK, I know what's wrong now. The step should be: > 1. Start Cygwin X > 2. xhost + Remote Server No. xhost is not needed, nor desired, when using ssh. > 3. ssh -X Remote Server > > This works for me now. At least the "refused by server" is resolved. > > But not all Linux machines > > I can start X applications on some Linux machine in this way, but on > some others, it still complains about: > Error: Cann't open display: localhost:0.0 It is more likely that some of your Linux machines don't have ssh setup to allow X11 tunnelling. Follow the instructions on the following page for ssh, very carefully: http://xfree86.cygwin.com/docs/ug/using-remote-apps.html You should not have any trouble if you do it this way... unless your Linux machines need to have their sshd configuration changed, which you can find documentation about elsewhere. Harold
Re: Remote open X application
Welson, Welson Sun wrote: OK, I know what's wrong now. The step should be: 1. Start Cygwin X 2. xhost + Remote Server No. xhost is not needed, nor desired, when using ssh. 3. ssh -X Remote Server This works for me now. At least the "refused by server" is resolved. But not all Linux machines I can start X applications on some Linux machine in this way, but on some others, it still complains about: Error: Cann't open display: localhost:0.0 It is more likely that some of your Linux machines don't have ssh setup to allow X11 tunnelling. Follow the instructions on the following page for ssh, very carefully: http://xfree86.cygwin.com/docs/ug/using-remote-apps.html You should not have any trouble if you do it this way... unless your Linux machines need to have their sshd configuration changed, which you can find documentation about elsewhere. Harold
RE: Remote open X application
OK, I know what's wrong now. The step should be: 1. Start Cygwin X 2. xhost + Remote Server 3. ssh -X Remote Server This works for me now. At least the "refused by server" is resolved. But not all Linux machines I can start X applications on some Linux machine in this way, but on some others, it still complains about: Error: Cann't open display: localhost:0.0 I have no idea, now the problem looks like is relating with the Linux machine setup. Anybody can help me? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Welson Sun Sent: Wednesday, December 17, 2003 6:18 PM To: [EMAIL PROTECTED] Subject: Remote open X application Hi all, I have just installed Cygwin-XFree86, it works fine for local X applications, but when I tried to open remote X application, it fails. The log is: Xlib: connection to "localhost:0.0" refused by server Xlib: No protocol specified Error: Cann't open display: localhost:0.0 I searched the maillist, looks like a lot of people have been caught by this problem, but there is no satisfying answer yet. I have set the DISPLAY environment to be 127.0.0.1:0.0, but no help. I have disabled the NAV, but no help. Looks like it is the problem with my windows X server setting, somehow, it is not accepting the incoming request. Any idea guys? Best Regards, Welson Sun - Electrical and Computer Engineering Brigham Young Unversity 461 CB, Provo, Utah 84602 Office: (801) 422-7206 Email: [EMAIL PROTECTED] -
Remote open X application
Hi all, I have just installed Cygwin-XFree86, it works fine for local X applications, but when I tried to open remote X application, it fails. The log is: Xlib: connection to "localhost:0.0" refused by server Xlib: No protocol specified Error: Cann't open display: localhost:0.0 I searched the maillist, looks like a lot of people have been caught by this problem, but there is no satisfying answer yet. I have set the DISPLAY environment to be 127.0.0.1:0.0, but no help. I have disabled the NAV, but no help. Looks like it is the problem with my windows X server setting, somehow, it is not accepting the incoming request. Any idea guys? Best Regards, Welson Sun - Electrical and Computer Engineering Brigham Young Unversity 461 CB, Provo, Utah 84602 Office: (801) 422-7206 Email: [EMAIL PROTECTED] -
Re: can't use windows with GoBack?
Just my late WAG: Try setting your display variable to localhost:0.0 and using -nolisten local. That should avoid some possible file system interaction. On Fri, 12 Dec 2003, Lester Ingber wrote: > Harold: > > Until this GoBack problem occurred, I was using > XWin -unixkill -emulate3buttons -clipboard -rootless & > wmaker & > > After I installed GoBack, I hit the terrible/impossible performance. > I found that > XWin -unixkill -emulate3buttons -clipboard -multiwindow & > and with even 1 or 2 xterm windows was just a bit better, but still miserable. > -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444
Re: -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace)
Looks clean to me... I will test it tonight and release it if possible. I have a feeling that this might have some effect on the "keyboard doesn't work" problem that people have been encountering. Harold Takuma Murakami wrote: Dear Igor and Alexander, xmodmap -e "keycode 22 = BackSpace" This, however, not only didn't change anything (Ctrl-Alt-Backspace still exited X), but also crashed XWin.exe. I doubt the stack dump is of any use with a non-debug version of XWin, but I can provide it if people request, as well as the corresponding XWin.log (which doesn't contain any details of the crash). I believe I've also posted the details of my setup earlier in this thread. To reproduce the problem, run The attached patch can fix the problem. This is against xorg CVS tree on freedesktop.org. Takuma Murakami ([EMAIL PROTECTED])
Re: -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace)
Dear Igor and Alexander, > > xmodmap -e "keycode 22 = BackSpace" > > This, however, not only didn't change anything (Ctrl-Alt-Backspace still > exited X), but also crashed XWin.exe. I doubt the stack dump is of any > use with a non-debug version of XWin, but I can provide it if people > request, as well as the corresponding XWin.log (which doesn't contain any > details of the crash). I believe I've also posted the details of my setup > earlier in this thread. To reproduce the problem, run The attached patch can fix the problem. This is against xorg CVS tree on freedesktop.org. Takuma Murakami ([EMAIL PROTECTED]) kbdcrash.patch Description: Binary data
Re: not getting login using xdmcp
On Wed, 17 Dec 2003, Alexander Gottwald wrote: > On Tue, 16 Dec 2003 [EMAIL PROTECTED] wrote: > > > Xwin -query hostname -nodecoration -lesspointer > > > > to get me to a login have not been successful. The server (192.168.1.2) > > seems to respond as in this dump > > > > Unfortunately this sequence isn't generating errors to xdm-error.log. > > I'm thinking that either there is an xdm configuration setting or Xwin > > option that I don't have set up. I've tried the -from and -port options > > with no affect. > > what about /tmp/XWin.log? Have you already tried the -from > parameter? > > bye > ago Also check /var/log/messages on the RedHat machine for any error messages from [gkx]dm. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton
Re: Typo on http://xfree86.cygwin.com/ home page
Fixed. Thanks. Harold Paul Mackinney wrote: FYI, there's a typo on the Cygwin/X home page, first paragraph of the Downloading and Installing section. s/not yo already/not you already/ hope this is the right place to report it. PM -- Paul Mackinney [EMAIL PROTECTED]
Re: Trouble with DDD download via cygwin setup
Thanks Ton. I fixed it by uploading the slightly updated binary file that I had created. Harold Ton van Overbeek wrote: I found out what the problem is trying to download ddd via Cygwin setup: the filesize and md5sum given in setup.ini for ddd-3.3.8-1.tar.bz2 do not match. In setup.ini: size 1435787, md5sum f3244afe271984c1fc1855203cb92300 After manual download: size 1435585, md5sum 86cc2b9dff9a4f794dfc6bbe49bf2bbc Hence the download incomplete, try again? message in setup. Harold, could you please fix your setup.ini, so ddd can be downloaded via setup? Thanks in advance. Ton van Overbeek
Re: Broken link XFree86-base on ftp server
How is it damaged? It is supposed to be empty. Harold Oleg wrote: Hello cygwin. File ftp://cygwin.csie.ntu.edu.tw/pub/cygwin/release/XFree86/XFree86-base/XFree86-base-4.3.0-1.tar.bz2 is damaged. Can you put correct archive? thank you in advance. - Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
Cygwin XFree86 featured in Danish Computer Magazine
Well, it had to happen sometimes - the danish computer magazine "Alt om Data" www.aod.dk has metioned/included Cygwin Xfree86 on their monthly CDRom with their magazine along with a lot of the cygwin tools. The only problem as I see it - they have no sourcecode available on the CDRom - neither is it possible to see where it should obtained. They can be contacted on the mail address cdromaod.dk Med venlig hilsen / Regards Franz Wolfhagen
Re: Trouble with DDD download via cygwin setup
I found out what the problem is trying to download ddd via Cygwin setup: the filesize and md5sum given in setup.ini for ddd-3.3.8-1.tar.bz2 do not match. In setup.ini: size 1435787, md5sum f3244afe271984c1fc1855203cb92300 After manual download: size 1435585, md5sum 86cc2b9dff9a4f794dfc6bbe49bf2bbc Hence the download incomplete, try again? message in setup. Harold, could you please fix your setup.ini, so ddd can be downloaded via setup? Thanks in advance. Ton van Overbeek
Re: not getting login using xdmcp
On Tue, 16 Dec 2003 [EMAIL PROTECTED] wrote: > Xwin -query hostname -nodecoration -lesspointer > > to get me to a login have not been successful. The server (192.168.1.2) > seems to respond as in this dump > > Unfortunately this sequence isn't generating errors to xdm-error.log. > I'm thinking that either there is an xdm configuration setting or Xwin > option that I don't have set up. I've tried the -from and -port options > with no affect. what about /tmp/XWin.log? Have you already tried the -from parameter? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723