XFree 6.8.2.0-4- Failed Graphics startup, White windows.
Hi Guys, I have a problem with my XP installation on a Dell Latitude laptop. My X knowledge is sadly lacking I'm afraid I have always looked plaintively at IT for help on such things in the past. I have just installed the latest, I think, version of cygwin and tried to start up the X server. I copied the template .xinitrc file to my local user directory and then typed startx. Then a window opens with nothing in it, just plain white. I have used both startx from a cygwin bash prompt and startxwin from DOS, same result. However when I installed it on my basic PC system at home it worked first time. If I try to open xclock from the start menu, likewise, I get a plain white box. I have found I can type commands into my plain white xterm box, I can't see them, but they do execute. So for example I typed xterm -fg white -bg black and I got another plain white box, the ~ in the title bar is white too... Any ideas? I'm not sure where to start I have wondered if it is colour map related, but wouldn't know how to tell. I found the log file and have included it below, along with my .xinitrc and .Xresources. I have noted that the size of the white box varies when I delete the .xresources file... I dunno if this is a clue... I found on the net some hints toward it maybe being an old DirectX version so I have downloaded the latest version of DirectX (v9), I have closed all other programs to try and ensure free (non-swapped) RAM, no joy. Hope you can point me in the right direction, thanks in advance, Rob - Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning (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/ winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winScreenInit - Monitors do not all have same pixel format / display depth. Using primary display only. winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () 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: 0809 (0809) (--) Using preset keyboard for English (United Kingdom) (809), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitClipboard () winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winProcEstablishConnection - winInitClipboard returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winDeinitMultiWindowWM - Noting shutdown in progress winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winMultiWindowWMIOErrorHandler! - My .xinirc file reads: - #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
Re: fonts in Cygwin
Michael Denk wrote: On Sun, 24 Jul 2005, Klaus Kassner wrote: I do get most fonts correctly, including, incidentally, the normal Helvetica. But some of the fonts are not there, in particular Helvetica-Narrow. Ah, now I see your problem. Doesn't work for me either with Helvetica-Narrow. So I don't get Helvetica-Narrow, nor, I believe ZapfChancery. In any case there are several fonts missing, including Helvetica-Narrow. Are there people out there who have them in their default cygwin installation? I did some research: The Postscript fonts that Ghostscript uses aren't normally available to X programs, e.g. Xfig. This causes the error messages about missing fonts you mentioned. You mentioned the Debian package gsfonts-x11. This package solves the above problem by telling X of the existence of the Ghostscript fonts. I'm currently working on a similar solution for Cygwin---stay tuned. Sure, I will :-). I am very interested in getting this to work, since I mostly use Helvetica Narrow in my slides. I have tried to find out where these fonts are on my work computer, where everything is available under ubuntu, but I have not yet fully figured out how to use them on other computers. It seems that Helvetica Narrow is actually some Nimbus Sans font and there is a file /etc/X11/fonts/Type1/gsfonts-x11.alias containing the mapping. So maybe this is part of the way to tell X of the existence of the Ghostscript fonts, but I doubt it is the complete picture. -- 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/
Using xauth with Cygwin-X
I use openSSH running under Cygwin-X to communicate with a Solaris workstation at work. When I logged into Solaris with SSH, I received messages that there was no valid xauth data and that fake data would be used for X11 forwarding. My mail reader (exmh) also complained repeatedly about failures of xauth authentication. I dug out my old X manual (which goes back to X11R5) and looked up xauth. It suggested running this command under Solaris: xauth -extract $DISPLAY | rsh my home PC with Cygwin xauth merge - Since I didn't want to use rsh I did this: 1) (Solaris) xauth -extract $DISPLAY xauth.data 2) I transferred xauth.data to the root directory under Cygwin, using SSH. 3) (Cygwin) xauth -merge /xauth.data The last command told me that a new /home/larry/.Xauthority file was created, which made sense to me. Otherwise there were no messages. I shut down my bash shell, closed my Cygwin X server, and restarted everything. I still get the same errors when I log into the Solaris workstation. Any suggestions? Larry Griffith -- 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: fonts in Cygwin
On Mon, 1 Aug 2005, Klaus Kassner wrote: I have tried to find out where these fonts are on my work computer, where everything is available under ubuntu, but I have not yet fully figured out how to use them on other computers. It seems that Helvetica Narrow is actually some Nimbus Sans font and there is a file /etc/X11/fonts/Type1/gsfonts-x11.alias containing the mapping. So maybe this is part of the way to tell X of the existence of the Ghostscript fonts, but I doubt it is the complete picture. Actually I got Helvetica Narrow working. I don't know how Debian handles XXX.alias files as normally only files named fonts.alias are recognized as aliases. I appended the content from this file to fonts.alias, did some renaming (e.g. medium vs. regular), copied the fonts from the ghostscript fonts dir to the Type1 fonts dir and called font-update to rebuild fonts.dir, fonts.scale and the font cache. After restarting the X server this worked for some fonts in Xfig or xfontsel, others crashed the applications. I found some information on the internet that Debian users who have installed gsfonts-x11 experienced similar behavior to some extent. I wrote some nifty installation script that does all the work in setting up the mappings to the ghostscript fonts but as long as I don't know why some fonts cause these crashes I prefer not to publish it. This could take a while. Bye, Michael -- Michael Denk Fakultät für Mathematik und Informatik Tel. +49 (0851) 509-3136 Universität Passau, Raum K08 IM (Aquarium) denk at fmi.uni-passau.dehttp://www.fmi.uni-passau.de/~denk -- 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: Translucency
Michael, You definitely shed some light on the subject but I'm having the same problem: Everytime I start xcompmgr, my XWin server crashes. xcompmgr-1.1.1 compiled quite nicely under cygwin and I changed startxwin.bat to take out the -multiwindow option from XWin and ran it with -rootless. Then I started twm window manager and my mrxvt terminal but when I run xcompmgr, it all comes to a crashing halt. I prefer linux, which is why I'm persistently trying to make my Windows XP machine act as much like Linux as possible. Hasn't anyone been able to get translucent terminals working under Cygwin? Thanks again, Ron --- Michael Denk [EMAIL PROTECTED] wrote: Hi Ron! On Sun, 31 Jul 2005, Ron Geis wrote: Thank you for replying. Excuse me replying directly to you, but I couldn't figure out how to post a reply on the mailing list! No problem. If your mail client isnt't able to reply to the Reply-To address instead of the From Address, you can manually change the recepient's address to cygwin-xfree@cygwin.com thus replying to the mailing list. Are you running cygwin/mrxvt on Windows XP? Yes, I am. Did you simply run ./configure --enable-everything before compiling mrxvt? Or, was there anything else you had to do during build? I followed the steps as shown on this page: http://www-cdf.fnal.gov/~cplager/cygwin.html#mrxvt So yes. The FAQ file in the mrxvt download says you need to run xcompmgr... When I set mrxvt*transparent: true in either .mrxvtrc or .Xdefaults, all I get is a terminal with a rough, grey, opaque background. What am a doing wrong? Ah, I see. When replying to your posting on the mailing list I must have overread the subject. I supposed you only wanted to get transparency, not translucency. What happens when you enable transparency is that the mrxvt windows inherit the background from your X server. If you run Cygwin/X in multiwindow mode and haven't done anything to change the background, you should get some greyish background as you mentioned. You can change the background with xsetroot or xsetbg though I think the latter isn't part of Cygwin/X. I'm running Cygwin/X in rootless mode and have my windows managed by openbox. My mrxvt window gets the background as set in my openbox configuration. Now that I know what you ment I tried to get translucency working in order to get alpha channel transparency. Cygwin/X isn't configured by a XF86Config or xorg.conf anymore. All the things normally found in this files are only available as command line options for XWin.exe. To enable the Composite extension necessary for the translucency feature you have to add +extension Composite to your XWin start command either in startxwin.bat when starting from Windows or in one of the files that does fire up X when you use startx from within Cygwin. I tried this, compiled xcompmgr-1.1.1 from http://freedesktop.org/xapps/release/ without any problems and could start it successfully. But as soon as i started an X application my X server crashed. :( I'm not that into this translucency thing. Perhaps I did something wrong or maybe Cygwin/X needs a special version of xcompmgr, I don't know. Please post to the mailing list if you have any success in getting this working. Have fun Michael -- Michael Denk Fakultät für Mathematik und Informatik Tel. +49 (0851) 509-3136 Universität Passau, Raum K08 IM (Aquarium) denk at fmi.uni-passau.de http://www.fmi.uni-passau.de/~denk __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/