AW: problem
Hi Richard, could it be a simple Firewall-Problem? Marco - Marco Lechner office: Department of Physical Geography University of Freiburg Werderring 4 D-79085 Freiburg Germany phone +49 (0)761 / 203-3548 email [EMAIL PROTECTED] -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von RICHARD D HILDNER Gesendet: Donnerstag, 1. September 2005 22:55 An: cygwin-xfree@cygwin.com Betreff: problem I have installed cygwin and everything seems to run smoothly except I can't get any display to work. If I execute XWin then it opens up a grey window with an X at the top followed by Cygwin/X-0:0 and that's it. There's no menu options or anything. If i do XWin -query remote_host then the same thing comes up with Cygwin/X- remote_host. If I connect with ssh -Y remote_host it connects me but if i try to execute something that requires a display...such as xeyes...Then it says connect 127.0.0.1 port 6000: Connection refused/ Xconnection to localhost:12.0 broken (explicit kill or server shutdown) So i don't know what I'm doing wrong. Thanks a lot, -Richard Hildner -- 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/ -- 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/
RE: How to have more than one X display?
Thanks. I could not find that in XWin man pages, but XWin -help showed it. Though $DISPLAY is ineffectual to XWin, I needed to set it since wmaker (or any xdm) would need to know the display/screen to use. I am a happy clam now. I use wmaker because I don't like using multiwindow mode. I am not good in dealing with disorganised clutter. (the antithesis is rather an oxymoron - organised clutter). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn Sent: Fri, September 02, 2005 12:16 AM To: cygwin-xfree@cygwin.com Subject: Re: How to have more than one X display? Joe Krahn wrote: Oh... The DISPLAY variable has no effect on XWin. Try the following: XWin :0.0 and XWin :1.0 I can run several of these. But, I noticed that MultiWindow mode is broken for anything but display :0. Joe -- 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/
Re: problem
Soong, SylokeJ wrote: When I first installed Cygwin/X and tried, I ran into the same puzzlement, if not panic. All the xterms and xclock I started were heaped into the same corner, intransigently unmoveable. (The sun shall not strike thee, nor the moon by night and your feet will not be moved, as though). Then I recalled, hmm There is an X Display Server and then there is an X Display Manager. I think. I'm sure I have not confused the terminology. Almost right: the Windows are managed by thw Window Manager, sort of like iexplore.exe in Windows, with the X Display Server being like Win32 GDI. The X Display Manager is actually access control, the log-in prompt on X-based systems. ... So I looked into the startxwin files and was as assured to find twm (which I guessed correctly is an X display mgr) commented out. I uncommented it and when XWin restarted my xterms and xclock were moveable. But I didn't like twm because the extremity of my X habits tends to pile up lots of windows and would have me a hard time searching for them without a desktop window locater. Which led me to install wmaker. Actually, the MultiWindow mode is nicer; it wraps windows to be managed by the native Win32 window manager, and also gets rid of the extra desktop root window. ... Or get a little more screwy, start x server on my laptop cygwin, throw wmaker from my win2k box to my laptop, login to sun box and throw xterms to my laptop. Sure, that would work just fine. X is well-designed enough to do such things, even if the remote host has a different binary format. You'll never see that from MS... Joe Krahn -- 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/
Some diffs to try
Some diffs to try out: http://joekrahn.homelinux.com/XWin/ Nice patch for windialogs.c icon issues. Removed hard-wired references to /tmp/XWin.log Still working on icons a bit. Question: How much should I worry about pre-WinXP compatibility? WinXP accepts ARGB icons. I think Win95/NT/2000 do not. Maybe just try an ARGB icon patch and see if someone can test it? Joe Krahn -- 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/
RDP issues
Folks, It's not particularly bothering me, but I thought I'd let you know that the following scenario fails: Set up xwin talking to remote linux server on machine A Use rdesktop or windows remote desktop to view A's screen from machine B The pixels on machine B are all stretched, and you can't really read anything. Of course, the view from A's screen is fine. Ruth -- 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/
RE: How to have more than one X display?
It's the IDE mindset. I have two/more projects whose windows I prefer to be completely segregated. I could use wmaker multiple desktops to achieve that. However, I prefer a complete segregation. Especially when it involves two versions of the same project. Need to prevent myself from inadvertently moving a window onto another desktop. The files of the two versions would be of such similarity that I had edited one version with modification intended for another. Rootless would excercebate (how the h*** do you spell this!) that. My dream xdm: Tabs to separate multiple X screens. Like a multi-desktop but the tabs are managed by xdm not xwm. I know I am cluttering my X?M terminology. I mean, xwin=xdm, wmaker=xwm. I'm sorry I'm not aware what RANDR is and therefore am a little blurry-eyed about that. I'm not sure if Reflection has its configured but uninvoked screen as actually an active window parked far off into the edges of the galaxy. But my impression feels it is not so, as I had not found it in process/window listing utility I once ran. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn ... In Reflection, is the 2nd screen 'live' but not always visible? But, why have two actual screens instead of one large virtual screen? If you don't want to lose your WIn32 desktop space, why not go rootless or MultiWIndow mode? If you want the X desktop space, it would probably be possible to use RANDR to allow dynamic resizing of one screen to fill one or both Win32 Displays. -- 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/
Facename fonts vs XLFD fonts
I have an application that by default looks for the Facename font ncenb14. I can over ride the setting by using the Xdefaults and specifying the XLFD (X Logical Font Description) instead. While this works, it's not the ideal situation. I would rather it just found the Facename name by default. This application's fonts work fine when you run it from a Linux or HP console, but not when forwarded back to Cygwin. I tested with xterm to make sure that it could find the font name. When I used the -fn switch it wouldn't find the xcenb14 font, but when I used the -fa it would. Is there a way to make Cygwin look at the Facename and the XLFD? I tried finding some documentation on how X uses fonts and searches for them but really couldn't find much. If anyone has some really good references, let me know also. Brian Willis OHD System Admin NWS/NOAA -- 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/
GetDC(NULL), GetModuleHandle(NULL), etc.
There are several GetDC(NULL) statements. Should these really be GetDC(hwndScreen)? It might make a difference for two screens with different pixel layouts. GetModuleHandle(NULL) is also in several places. Maybe it's OK, but why not use the hInstance global? These probably are just too low on the importance list for now. But, I thought it was worth mentioning. Joe -- 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/
Re: Some diffs to try
Hi, I'll try out your diff's (I build mainly for Xming.exe), am looking for a solution that names everything appropriate for Cygwin/X and Xming projects (no hard wiring). I've got my own private patches that build for log files and screens etc. named for Xming (e.g. about, exit, Xwinrc to Xmingrc)..a bit of #idef..ing will make them more universal, I'll merge your diffs and play..when I have time! Try the icon ARGB stuff anyway..I know cygwin supports all Windows versions..but MS don't, and sometimes it's hard to not let go and move on at the same time! Colin Harrison -- 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/
Re: Mouse scroll wheel acts as left arrow/right arrow.
On Thursday, September 01 at 01:35, Brian Keener wrote: I have a microsoft mouse with a scroll wheel that scrolls both up and down, and left/right. The up/down scrolling action seems to act as left/right arrows. In firefox, using the scroll wheel goes back/forwards a page, for an example. Any idea what to do to fix this? Brian K If this behaviour is consistent across all X applications, you could try using xmodmap: First, use xev to identify which button numbers are associated with the up, down, left right movements. Let's say these are 4, 5, 6 7 respectively. If you want the up button swapping with left, and down swapping with right, you would enter: xmodmap -e pointer = 1 2 3 6 7 4 5 you can use xmodmap -pp to verify the change. You should see something like this: $ xmodmap -pp There are 7 pointer buttons defined. PhysicalButton Button Code 1 1 2 2 3 3 4 6 5 7 6 4 7 5 I can't guarantee that this will work with XWin, but this technique works for xorg on Linux, so it's likely to be OK. HTH Phil Worked like a charm, Phil. Thanks. Brian K -- 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/