Re: xinit hangs on XWin infinite loop when using -displayfd
On 29/07/2014 00:57, Matt D. wrote: Doh! I was so blind! Windows XP does not have an IPv6 protocol installed by default. I added it and the problem went away. This sounds like a bug. XWin should verify whether a device which supports the target protocol exists before attempting to open a socket on it. Yes, it shouldn't fail like this if IPv6 isn't installed I suspect the same problem will occur if you use X -displayfd built with IPv6 on linux kernel without IPv6 support What is this used for? Sharing a local X session with someone else? Logging onto an existing X session at work from home? I've only ever used X locally or through ssh forwarding. It's used to allow remote X clients to connect to an X server without using a ssh tunnel (e.g. [1]) [1] http://x.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-telnet -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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: XWin cursor huge on one computer but normal on another
On 03/08/2014 15:32, Matt D. wrote: I primarily work on my workstation which has four 1080p monitors (three on the bottom with the fourth at center top) and for the longest time I thought that it this was a configuration error on my part; and perhaps it still it. The issue is that on my worksation, the cursor is huge and is sometimes even cropped for being too large. This is especially noticeable for applications like xterm and gedit. I think it might be a DPI or scaling issue due to my large screen size, however I've always explicitly defined "-dpi 96" in my xinit. I had thought that this was a known bug and hadn't thought much about it until I pulled up gedit on my laptop where I saw that the cursors were all fine. I thought that maybe I had different packages but even after copying my entire cygwin directory and startup scripts over, on my laptop it still shows cursors no larger than the default Windows size. Has anyone experienced this before? This is pretty odd. Not a known bug, or one that I think we have a had reported before. I guess what you are seeing when you say the cursor is 'cropped' is the X cursor being truncated to fit in the Windows cursor size of GetSystemMetrics(SM_CXCURSOR) by GetSystemMetrics(SM_CYCURSOR) The libXcursor checks various things [1] when choosing a cursor size, falling back to (smallest screen dimension/48), so I guess it's your large display causing this issue. I'm not sure about the best way to fix this, but as a workaround for the moment, you might try setting the XCURSOR_SIZE env var to something reasonable. You might like to try this small test program to confirm what's going on: $ cat cursor.c #include #include int main() { Display *dpy = XOpenDisplay(NULL); int c = XcursorGetDefaultSize(dpy); printf("XcursorGetDefaultSize = %d\n", c); printf("GetSystemMetrics(SM_CXCURSOR) = %d\n", GetSystemMetrics(SM_CXCURSOR)); printf("GetSystemMetrics(SM_CYCURSOR) = %d\n", GetSystemMetrics(SM_CYCURSOR)); } $ gcc cursor.c -o cursor -lXcursor -lX11 $ ./cursor XcursorGetDefaultSize = 22 GetSystemMetrics(SM_CXCURSOR) = 32 GetSystemMetrics(SM_CYCURSOR) = 32 [1] http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/src/display.c#n168 -- 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: keyboard problem with mwm and window done with Motif
On 01/08/2014 15:00, Isabelle EDOUARD wrote: I run with command line on my Windows 7 Xwin.exe in rootless mode. After I run the window manager: mwm.exe and finally I launch an application in a Red-Hat Server which use window done in Motif and Qt. With Qt windows the Keypad of my Keyboard works well (All the keyboard is OK) in a xterm too but with Motif windows is different: All seems to be well except 0. When I want to make 0 with the keypad, nothing appear, it's Ok with 1,2,3,4 etc ... but not with 0. Have I forgotten to configure a file or file(s) have bad configuration? Thanks for your help. Thanks for reporting this problem. I can't immediately reproduce it, so perhaps you can help me with a bit more information Can you attach your /var/log/xwin/XWin.0.log so I can see precisely what keyboard layout you are using? Can you tell me what particular motif application and version of Red-Hat server you are connecting to? -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/