Re: xterm 185-3 freetype
Lev, Lev Bishop wrote: xterm 185-3 doesn't seem to have freetype/xft/fontconfig/etc support. it ignores the faceName resource, and doesn't recognize the -fa command line option. also cygcheck shows no dependence on C:\cygwin\usr\X11R6\bin\cygXft-2.dll. however, version 185-2 is fine. Hmm... nice catch. This seems to have been caused by some test packages I have been building and installing. 185-4 is uploaded now. Harold
Re: xterm 185-3 freetype
Thomas Dickey wrote: On Thu, 25 Mar 2004, Lev Bishop wrote: xterm 185-3 doesn't seem to have freetype/xft/fontconfig/etc support. it ignores the faceName resource, and doesn't recognize the -fa command line option. also cygcheck shows no dependence on C:\cygwin\usr\X11R6\bin\cygXft-2.dll. however, version 185-2 is fine. That would be because the configure script didn't find the libraries - I assume, since the configure script normally tries to check for those. It looks for xft-config (the script that tells how to compile/link). Perhaps that has been renamed? I think I had another xft-config in /opt/... without actually having libXft and friends in the path that that script pointed to. I have uninstalled those test packages now (which were modifying the PATH through profile.d scripts) and the rebuild of 185-4 seemed to find libXft and friends just fine. Harold
Re: XTerm won't start on Win2000
I've fixed the problem by totally removing Cygwin and re-installing from scratch. So I guess there was some sort of problem with my previous download. I still have no idea what though. I'm a newbie to Cygwin X, and I can't open an XTerm. I've tried various options including startxwin.bat, startxwin.sh (from a Cygwin bash shell) and manually typing in commands from startxwin.sh. When running the bat file in dos, I get nothing - no error messages and no xterms. From bash, I still don't get xterms but I do get an error message: xterm Xt error: Can't open display: 127.0.0.1:0.0 I've tried reinstalling the whole of my Cygwin dist, just Xfree, fonts and zlib with absolutely no effect. I'm not using ssh and I have a colleague who should have an identical PC build who uses Xfree fine, so I know it's possible. There is no X log being created in /tmp. In fact, /tmp is empty. Having read other posts, I find this distinctly worrying. I'm running Win2000Professional and I've checked for suppressed pop-ups about missing dlls. There aren't any. Sorry not to provide more information but this is all I have! Any clues for where to find more logs, or (even better) a solution to my predicament would be greatly appreciated. Susannah
Re: Xterm on HP-UX
On Wed, 24 Mar 2004, Wright, David L wrote: Hello, I am using cygwin with xfree68 to connect from my Windows XP machine to a HP-UX 11.11 machine. I am doing a rlogin from an xterm window. Whenever I type in a '@' while logged into the HP machine, I also get a new line. This is preventing me from using such things as sqlplus. Is there a fix for this problem? That sounds like a shell issue: HP's default settings for stty. stty -a would show if @ (and #) are used. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
Re: xterm stops drawing
Chad, Try the 'test' package XFree86-xserv-4.3.0-48. You get this by running Cygwin's setup.exe again (no need for reinstall) and manually select the 4.3.0-48 version by clicking on the Keep value several times until it says 4.3.0-48. Be aware that you have to do this *everytime* you run Cygwin's setup.exe, or else it will downgrade you to 4.3.0-47 again. Harold Chad Haynes wrote: Hello, I recently installed cygwin/X and everything was working pretty well. Today I installed the rxvt package and suddenly everything went nuts in multiwindow mode. Running the startxwin.sh script which worked fine before no longer functions properly. The window that appears is only half drawn and when I try to drag it around there is a ghost of the image on the other side of the screen. After the window has been dragged, it no longer draws anything other than the border. I reinstalled everything, but it has not helped. I have dual monitors connected and am using the command: Xwin -multiwindow -multimonitors I'm attaching my cygcheck, any help would be greatly appreciated.
Re: xterm stops drawing
Unfortunately this did not help, the same problems are still happening. -Chad Harold L Hunt II wrote: Chad, Try the 'test' package XFree86-xserv-4.3.0-48. You get this by running Cygwin's setup.exe again (no need for reinstall) and manually select the 4.3.0-48 version by clicking on the Keep value several times until it says 4.3.0-48. Be aware that you have to do this *everytime* you run Cygwin's setup.exe, or else it will downgrade you to 4.3.0-47 again. Harold Chad Haynes wrote: Hello, I recently installed cygwin/X and everything was working pretty well. Today I installed the rxvt package and suddenly everything went nuts in multiwindow mode. Running the startxwin.sh script which worked fine before no longer functions properly. The window that appears is only half drawn and when I try to drag it around there is a ghost of the image on the other side of the screen. After the window has been dragged, it no longer draws anything other than the border. I reinstalled everything, but it has not helped. I have dual monitors connected and am using the command: Xwin -multiwindow -multimonitors I'm attaching my cygcheck, any help would be greatly appreciated.
Re: xterm stops drawing
Send in /tmp/XWin.log. Chad Haynes wrote: Unfortunately this did not help, the same problems are still happening.
Re: xterm stops drawing
Here it is, thanks for taking the time to look at this. -Chad Harold L Hunt II wrote: Send in /tmp/XWin.log. Chad Haynes wrote: Unfortunately this did not help, the same problems are still happening. ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winScreenInit - dwWidth: 1280 dwHeight: 1024 winSetEngine - Multi Window = ShadowGDI 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. winCreateBoundingWindowWindowed - User w: 1280 h: 1024 winCreateBoundingWindowWindowed - Current w: 1280 h: 1024 winAdjustForAutoHide - Original WorkArea: 0 106 1024 1280 winAdjustForAutoHide - Adjusted WorkArea: 0 106 1024 1280 winCreateBoundingWindowWindowed - WindowClient w 1174 h 1024 r 1174 l 0 b 1024 t 0 winCreateBoundingWindowWindowed - Returning winAllocateFBShadowGDI - Creating DIB with width: 1174 height: 1024 depth: 32 winAllocateFBShadowGDI - Dibsection width: 1174 height: 1024 depth: 32 size image: 4808704 winAllocateFBShadowGDI - Created shadow stride: 1174 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () null screen fn ReparentWindow null screen fn RestackWindow winFinishScreenInitFB - Calling winInitWM. InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitWM - Returning. winFinishScreenInitFB - returning winScreenInit - returning winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () InitOutput - Returning. 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: 0409 (0409) Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 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/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 587 512 winBlockHandler - Releasing pmServerStarted winInitMultiWindowWM - pthread_mutex_lock () returned. winBlockHandler - pthread_mutex_unlock () returned 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 winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winDeinitMultiWindowWM - Noting shutdown in progress OsVendorReset - Hello winDeinitMultiWindowWM - Noting shutdown in progress
Re: xterm Xt error: Can't open display:
On Tue, 9 Dec 2003, cryst wrote: [EMAIL PROTECTED]'s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue Dec 9 12:29:56 2003 from 192.168.1.23 [EMAIL PROTECTED] chris $ xterm xterm Xt error: Can't open display: [EMAIL PROTECTED] chris $ and the like. This used to work. Does anyone have any idea what is going wrong? http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: xterm Xt error: Can't open display:
Thanks, but I've been there and it didn't help. (Hence this list). Any idea on how to diagnose this? Chris Bruner - Original Message - From: Alexander Gottwald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:00 PM Subject: Re: xterm Xt error: Can't open display: On Tue, 9 Dec 2003, cryst wrote: [EMAIL PROTECTED]'s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue Dec 9 12:29:56 2003 from 192.168.1.23 [EMAIL PROTECTED] chris $ xterm xterm Xt error: Can't open display: [EMAIL PROTECTED] chris $ and the like. This used to work. Does anyone have any idea what is going wrong? http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: xterm Xt error: Can't open display:
Could it be related to mixing (as you showed in your post) DISPLAY= and Export DISPLAY ??? The example shows: $ DISPLAY=localhost:0.0 $ export DISPLAY $ ssh -X remotehost or $ DISPLAY=localhost:0.0 ssh -X remotehost which is different from your original post. May you tried all the combinations already? Jay cryst said the following on 12/09/2003 01:06 PM: Thanks, but I've been there and it didn't help. (Hence this list). Any idea on how to diagnose this? Chris Bruner - Original Message - From: Alexander Gottwald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:00 PM Subject: Re: xterm Xt error: Can't open display: On Tue, 9 Dec 2003, cryst wrote: [EMAIL PROTECTED]'s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue Dec 9 12:29:56 2003 from 192.168.1.23 [EMAIL PROTECTED] chris $ xterm xterm Xt error: Can't open display: [EMAIL PROTECTED] chris $ and the like. This used to work. Does anyone have any idea what is going wrong? http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: xterm Xt error: Can't open display:
Yes I've tried all combinitions of these. We have a proprietary version of xdisplay (winpro) which works... Also, as I said, it used to work until I upgraded in November or so. (I upgraded the Linux box at the same time though, so who knows where the problem lies). Chris Bruner - Original Message - From: Jay Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 1:10 PM Subject: Re: xterm Xt error: Can't open display: Could it be related to mixing (as you showed in your post) DISPLAY= and Export DISPLAY ??? The example shows: $ DISPLAY=localhost:0.0 $ export DISPLAY $ ssh -X remotehost or $ DISPLAY=localhost:0.0 ssh -X remotehost which is different from your original post. May you tried all the combinations already? Jay cryst said the following on 12/09/2003 01:06 PM: Thanks, but I've been there and it didn't help. (Hence this list). Any idea on how to diagnose this? Chris Bruner - Original Message - From: Alexander Gottwald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:00 PM Subject: Re: xterm Xt error: Can't open display: On Tue, 9 Dec 2003, cryst wrote: [EMAIL PROTECTED]'s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue Dec 9 12:29:56 2003 from 192.168.1.23 [EMAIL PROTECTED] chris $ xterm xterm Xt error: Can't open display: [EMAIL PROTECTED] chris $ and the like. This used to work. Does anyone have any idea what is going wrong? http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: xterm Xt error: Can't open display:
Chris, Did you read the last part of the article at the link Alexander posted? The one about server configuration? You mentioned upgrading Linux, and I'm not sure the default sshd_config comes with X11Forwarding enabled. Igor P.S. Oh, and please instruct your mailer to not quote people's e-mail addresses in your messages. On Tue, 9 Dec 2003, cryst wrote: Yes I've tried all combinitions of these. We have a proprietary version of xdisplay (winpro) which works... Also, as I said, it used to work until I upgraded in November or so. (I upgraded the Linux box at the same time though, so who knows where the problem lies). Chris Bruner - Original Message - From: Jay Smith PROTECTED To: PROTECTED Sent: Tuesday, December 09, 2003 1:10 PM Subject: Re: xterm Xt error: Can't open display: Could it be related to mixing (as you showed in your post) DISPLAY= and Export DISPLAY ??? The example shows: $ DISPLAY=localhost:0.0 $ export DISPLAY $ ssh -X remotehost or $ DISPLAY=localhost:0.0 ssh -X remotehost which is different from your original post. May you tried all the combinations already? Jay cryst said the following on 12/09/2003 01:06 PM: Thanks, but I've been there and it didn't help. (Hence this list). Any idea on how to diagnose this? Chris Bruner - Original Message - From: Alexander Gottwald PROTECTED To: PROTECTED Sent: Tuesday, December 09, 2003 12:00 PM Subject: Re: xterm Xt error: Can't open display: On Tue, 9 Dec 2003, cryst wrote: [EMAIL PROTECTED]'s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Tue Dec 9 12:29:56 2003 from 192.168.1.23 [EMAIL PROTECTED] chris $ xterm xterm Xt error: Can't open display: [EMAIL PROTECTED] chris $ and the like. This used to work. Does anyone have any idea what is going wrong? http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding bye ago -- 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: xterm Xt error: Can't open display:
Thank you Igor, It was the sshd-config that was the problem. I've now got gnome-session starting. Also sorry bout the addresses. I didn't realize that my client was misbehaving that badly. Unfortunatly I don't see any way of turning it off. Time to change to a new client I suppose. (sigh). suggestions?
RE: xterm keyboard problems when login-in to a sun
This is usually remedied like this: % stty erase [hit backspace key here] Then your backspace key works as intended. Regards - Henrik -Original Message- From: Kris Thielemans [mailto:[EMAIL PROTECTED] Sent: 21. november 2003 13:48 To: Cygwin-Xfree Cc: Kris Thielemans Subject: xterm keyboard problems when login-in to a sun Hi I'm using XFree86 on my NT box with very good results. Thanks! I'm using it in default mode (no multiwindow). I have one problem: I launch xterm on my PC, then rlogin (or ssh -X) to a SUN (default shell on the SUN is csh). Then I cannot delete characters that I type on the command line: backspace gets displayed as ^H delete gets displayed as ~[[3 I guess this can be solved somehow with stty, but 1) I don't know how and 2) I thought this shouldn't happen when you come from an xterm as it is supported by SUN termcap obviously (I'm not surprised when this happens when login in via a cygwin terminal). [the latter point is why I'm posting this here] Note that backspace does work when I launch a bash shell, but fine. Note also that when then launching xterm on the SUN (displaying on my PC) the Delete key works (to delete the previous character), while backspace still displays as ^H. Here is the output of stty -a I got from the SUN (with xterm on the PC). speed 9600 baud; rows = 46 columns = 80; ypixels = 694 xpixels = 739 intr = ^c; quit = ^|; erase = ^?; kill = ^u; eof = ^d; eol = undef; eol2 = undef; swtch = undef; start = ^q; stop = ^s; susp = ^z; dsusp = ^y; rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v; -parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -parext -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tabs stty -a with xterm on the SUN looks very similar. Kris Thielemans PS: when xterm displays a shell from the PC, backspace works as I expect, but that's because stty -a reports 'erase=^H'. I wouldn't mind if anybody told me who sets all this and where. It's an eternal problem with Unix systems. PPS: please reply to myself and to the list if you don't mind.
RE: xterm -ls -e
This is because you are actually using two shells. The first is what is run by xterm and honors the -ls. The second is run from the first and does not. What should work is putting a -l after the bash you are running as the command (ie. run xterm -ls -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l). I hope that helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kris Thielemans Sent: Tuesday, September 16, 2003 11:16 AM To: Cygwin-Xfree Cc: Kris Thielemans Subject: xterm -ls -e Hi I'm using almost the default startxwin.bat with the following: start XWin -emulate3buttons run xterm -ls -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash Funnily enough, the xterm I get did NOT run bash as a login shell (the -ls option), as my ~/.bash_profile hasn't been read (for instance, the path is not complete). When I delete the -e stuff, i.e. use run xterm -ls -sl 1000 -sb -rightbar -ms red -fg yellow -bg black everything is alright. (This only works because bash is the default shell on cygwin). In fact, the same problem occurs when running xterm from within an existing xterm/bash session. Typing xterm -ls -e /usr/bin/bash does not read the profile, while xterm -ls does. So, I suspect an xterm problem. I'm using NT 4.0 sp6a and a cygwin setup of 30th of August (i.e. before the 64 bit stuff). Kris Thielemans (kris.thielemans at imperial.ac.uk) Hammersmith Imanet Cyclotron Building Hammersmith Hospital Du Cane Road London W12 ONN, United Kingdom web site address: http://www.hammersmithimanet.com/~kris
Re: Xterm: need HELP to configure it properly
Alexey, There is likely something else wrong with your system. I have never seen your problem reported before. Do you have any Windows Power Toys installed? Some of those have been reported to cause problems. Also, do you have any keyboard utility programs installed? How fast is your machine (speed may play a factor in whether or not this problem shows up). Harold Alexey Lyubimov wrote: After the first-time install of X, I have found that I need to press Enter key TWICE when I want to run any command in the Xterm console. It was a surprise for me. So my question is: What should I do to force Xterm act like usual bash shell: I mean how to type a command and press Enter _once_ to run it? Thank you, Alexey Lyubimov
Problems with -multiwindow (was Re: Xterm doesn't work on second display in dual head system)
--- Alexander Gottwald [EMAIL PROTECTED] schrieb: On Mon, 16 Jun 2003, Stefan Heinzmann wrote: That was a good tip: the -multiplemonitors was missing. With it, xterm also works on the secondary screen. However, remote KDE is even unhappier than before with it (see my other thread on this list). It crashes XWin on every other mouseclick. Maybe XWin remote with KDE on a dual head display is a bad combination? Do you use the -multiwindow switch? If you use it you can't run another windowmanager. In multiwindow mode XWin starts its own windowmanager and the one from KDE will most likely cause big trouble. You can start KDE without windowmanager if you start ksmserver with the parameter -w null. Sorry for the delayed response, I had to reinstall my entire Linux system because of a vain and ultimately disastrous attempt to get rid of package conflicts (unrelated to XFree86). I'm up and running again and tried your suggestion. First of all, your suspicion was right. I did use multiwindow and the window manager clash was causing the grief. Not using -multiwindow works, but somehow the KDE kicker sits too low on the screen so that part of it is off-screen. Somewhere there must be a bug in the geometry calculations. When using -multiwindow and turning off the KDE window manager the result is still unusable. Interestingly, the kicker starts up at the same wrong position as described above. But at some point during startup it loses its title bar and wanders upwards to the correct position. Finally when the KDE desktop appears the kicker disappears or gets hidden. Also reaction to mouse events is strange, for example right clicks on the desktop bring up the context menu as expected, but a following left click to make it disappear again give the focus to a comletely unrelated windows application. The next left click brings the focus back to the KDE desktop. Clicking on the home icon in the top left corner of the KDE desktop brings up Konqueror, but this crashes XWin. XWin appears to have some problems with multiwindow operation. Anyway, it is usable without -multiwindow. Cheers Stefan __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
Re: Xterm doesn't work on second display in dual head system
On Mon, 16 Jun 2003, Stefan Heinzmann wrote: That was a good tip: the -multiplemonitors was missing. With it, xterm also works on the secondary screen. However, remote KDE is even unhappier than before with it (see my other thread on this list). It crashes XWin on every other mouseclick. Maybe XWin remote with KDE on a dual head display is a bad combination? Do you use the -multiwindow switch? If you use it you can't run another windowmanager. In multiwindow mode XWin starts its own windowmanager and the one from KDE will most likely cause big trouble. You can start KDE without windowmanager if you start ksmserver with the parameter -w null. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Xterm doesn't work on second display in dual head system
Howdy Stefan, -- Original Message - Subject: Xterm doesn't work on second display in dual head system yet another problem: I use a dual head display based on a Matrox G400DH card in a Win2K system. When starting Xfree86/cygwin it opens an xterm window that works while it is on the main display. But when I drag it into the second display it doesn't accept keystrokes anymore. They get buffered, though: They appear when I drag the window back into the primary display. Is that a bug or have I misconfigured anything? -- Let me guess, the 2nd monitor is to the left of your primary display, right? The old version of the XWin.exe server didn't support multihead displays with negative origins, but the latest test releases have had this bug fixed for a month or two. Check the announcement for Test91, the last test release IIRC, to get a newer exe: http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00044.html -- -Earle F. Philhower, III [EMAIL PROTECTED] http://www.ziplabel.com
Re: Xterm doesn't work on second display in dual head system
--- Earle F. Philhower, III [EMAIL PROTECTED] schrieb: Howdy Stefan, -- Original Message - Subject: Xterm doesn't work on second display in dual head system yet another problem: I use a dual head display based on a Matrox G400DH card in a Win2K system. When starting Xfree86/cygwin it opens an xterm window that works while it is on the main display. But when I drag it into the second display it doesn't accept keystrokes anymore. They get buffered, though: They appear when I drag the window back into the primary display. Is that a bug or have I misconfigured anything? -- Let me guess, the 2nd monitor is to the left of your primary display, right? The old version of the XWin.exe server didn't support multihead displays with negative origins, but the latest test releases have had this bug fixed for a month or two. It's on the right, actually. Maybe I should add that the second display has a different geometry from the first (1st: 1920x1200, 2nd:1280x1024) and I use the Matrox feature that displays the taskbar only on the primary monitor. This also means that if you maximize a window in either display it only uses that display instead of stretching over both displays. I guess this has got something to do with the problem, but since I don't know how this works internally I can't tell. Cheers Stefan __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
Re: Xterm doesn't work on second display in dual head system
--- Earle F. Philhower, III [EMAIL PROTECTED] schrieb: Howdy Subject: Re: Xterm doesn't work on second display in dual head system It's on the right, actually. Maybe I should add that the second display has a different geometry from the first (1st: 1920x1200, 2nd:1280x1024) and I use the Matrox feature that displays the taskbar only on the primary monitor. This also means that if you maximize a window in either display it only uses that display instead of stretching over both displays. I guess this has got something to do with the problem, but since I don't know how this works internally I can't tell. You should still try the test release anyway, but one other thing: Are you using the proper flags? For multiwindow and multimonitors you need both options or only the screen 1 will be supported: XWin.exe -multiwindow -multiplemonitors That was a good tip: the -multiplemonitors was missing. With it, xterm also works on the secondary screen. However, remote KDE is even unhappier than before with it (see my other thread on this list). It crashes XWin on every other mouseclick. Maybe XWin remote with KDE on a dual head display is a bad combination? Cheers Stefan __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
RE: xterm shows no color for color fonts
Thanks all. I finally solved the mystery. It could be that I might have an old xterm and there is wrong setting in my .Xdefaults that I set termName to vt100. Cheers. Haibing --- [EMAIL PROTECTED] wrote: Hi. The original xterm did not support colour. Some operating systems still ship with this version. e.g. Solaris 2.6 has the non-colour version. The version of xterm that comes with recent versions of xf-86 should. Try xterm -version. On xf-86/cygwin (where colour works) I get XFree86 4.2.0(165). On Solaris 2.6 (no coloru) I get xterm: bad command line option -version. - Ben Kelley. -Original Message- From: Haibing Ma [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 12:37 To: [EMAIL PROTECTED] Subject: RE: xterm shows no color for color fonts Thanks for your reply. I checked /etc/X11/app-defaults/XTerm-color, it looks fine to me. I also tried /usr/bin/ls --color=always, it shows no color in xterm. I tried rxvt, it works fine. Any other clue? I think rxvt is fine with me, the only problem is that the HOME key doesn't work. Haibing --- [EMAIL PROTECTED] wrote: Hi. xterm normally picks up its colour definitions from its X resources. Normally on xf86/cygwin this would be the file /etc/X11/app-defaults/XTerm. I guess it is also worth checking that the application you are using to try to display coloured text is actually sending the correct escape sequences to xterm. e.g. /usr/bin/ls --color=always - Ben Kelley. -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 08:35 To: [EMAIL PROTECTED] Subject: Re: xterm shows no color for color fonts / Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty! Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com
Re: xterm shows no color for color fonts
/ Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty!
RE: xterm shows no color for color fonts
Hi. xterm normally picks up its colour definitions from its X resources. Normally on xf86/cygwin this would be the file /etc/X11/app-defaults/XTerm. I guess it is also worth checking that the application you are using to try to display coloured text is actually sending the correct escape sequences to xterm. e.g. /usr/bin/ls --color=always - Ben Kelley. -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 08:35 To: [EMAIL PROTECTED] Subject: Re: xterm shows no color for color fonts / Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty! Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
Re: xterm shows no color for color fonts
Thanks for your reply. I tried rxvt, and it shows colors just as I want. (I'm using emacs21.2 delivered by cygwin.) Something wrong with xterm? By the way, I'm using Win2000. Haibing --- Andrew Markebo [EMAIL PROTECTED] wrote: / Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty! __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com
RE: xterm shows no color for color fonts
Thanks for your reply. I checked /etc/X11/app-defaults/XTerm-color, it looks fine to me. I also tried /usr/bin/ls --color=always, it shows no color in xterm. I tried rxvt, it works fine. Any other clue? I think rxvt is fine with me, the only problem is that the HOME key doesn't work. Haibing --- [EMAIL PROTECTED] wrote: Hi. xterm normally picks up its colour definitions from its X resources. Normally on xf86/cygwin this would be the file /etc/X11/app-defaults/XTerm. I guess it is also worth checking that the application you are using to try to display coloured text is actually sending the correct escape sequences to xterm. e.g. /usr/bin/ls --color=always - Ben Kelley. -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 08:35 To: [EMAIL PROTECTED] Subject: Re: xterm shows no color for color fonts / Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty! Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com
RE: xterm shows no color for color fonts
Hi. The original xterm did not support colour. Some operating systems still ship with this version. e.g. Solaris 2.6 has the non-colour version. The version of xterm that comes with recent versions of xf-86 should. Try xterm -version. On xf-86/cygwin (where colour works) I get XFree86 4.2.0(165). On Solaris 2.6 (no coloru) I get xterm: bad command line option -version. - Ben Kelley. -Original Message- From: Haibing Ma [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 12:37 To: [EMAIL PROTECTED] Subject: RE: xterm shows no color for color fonts Thanks for your reply. I checked /etc/X11/app-defaults/XTerm-color, it looks fine to me. I also tried /usr/bin/ls --color=always, it shows no color in xterm. I tried rxvt, it works fine. Any other clue? I think rxvt is fine with me, the only problem is that the HOME key doesn't work. Haibing --- [EMAIL PROTECTED] wrote: Hi. xterm normally picks up its colour definitions from its X resources. Normally on xf86/cygwin this would be the file /etc/X11/app-defaults/XTerm. I guess it is also worth checking that the application you are using to try to display coloured text is actually sending the correct escape sequences to xterm. e.g. /usr/bin/ls --color=always - Ben Kelley. -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED] Sent: Friday, 14 March 2003 08:35 To: [EMAIL PROTECTED] Subject: Re: xterm shows no color for color fonts / Haibing Ma [EMAIL PROTECTED] wrote: | When I opened vi or emacs-nox, it shows bold fonts and underlines, but | it doesn't show colors. All characters are in my foreground color. I | set xterm*VT100*colorMode: true. I even tried +cm option, it doesn't | work either. Did miss anything? What does it look like if you try it (which version of Emacs BTW?) from rxvt instead of xterm? /Andy -- The eye of the beholder rests on the beauty! Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
Re: xterm Page-Up -- does it work?
No. And also, page up seems to work on xterms running on remote sun boxes. I access the remote twm desktop from the same laptop, using VNC. Same PageUp keys. Exact same Xresources and .twmrc . Go figure. Fred P.S. I gather that it works for you? Yes, though I hit shift-pgup. Works the same in a regular xterm or a remote gnome-terminal, etc. Cary Actually..Shift-PageUp works for me too! That's different from twm on the sun boxes (solaris 8). Thanks alot! Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
Re: xterm Page-Up -- does it work?
Is your num-lock on? Shing-Fat Fred Ma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hello, I just fired up Xfree86 after using cygwin for a while. Nice. The xterms don't page up, though. Is this just a missing functionality, or is it me? Couldn't find anything about it in the archives. Thanks Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
Re: xterm Page-Up -- does it work?
From: Cary Jamison Cary dot Jamison at powerquest dot com Date: Thu, 30 Jan 2003 14:38:19 -0700 Subject: Re: xterm Page-Up -- does it work? Is your num-lock on? No. And also, page up seems to work on xterms running on remote sun boxes. I access the remote twm desktop from the same laptop, using VNC. Same PageUp keys. Exact same Xresources and .twmrc . Go figure. Fred P.S. I gather that it works for you?
Re: xterm Xt error: Can't open display
1. is X running? 2. which user is X running as? 3. what machine does it think it's running on? (ie, does it know that 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 before. 4. if the above seem to be working, try xhost + 5AT8S8CQEEX4QHI which will allow anyone on that machine to run programs. theoretically :) Alex Vinokur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent by: cc: cygwin-xfree-owner@ Subject: xterm Xt error: Can't open display cygwin.com 10/03/2002 09:55 AM Please respond to cygwin-xfree = Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 = Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ## Attempt-1 ## Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ## Attempt-2 ## Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? == Alex Vinokur mailto:[EMAIL PROTECTED] http://up.to/alexvn ==
Re: xterm Xt error: Can't open display
Ben Calvert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1. is X running? How can I know that ? 2. which user is X running as? The same question 3. what machine does it think it's running on? (ie, does it know that 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 before. The same question 4. if the above seem to be working, try xhost + 5AT8S8CQEEX4QHI which will allow anyone on that machine to run programs. theoretically :) Administrator@5AT8S8CQEEX4QHI ~ $ xhost + 5AT8S8CQEEX4QHI xhost: unable to open display 127.0.0.1:0.0 = Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 = Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ## Attempt-1 ## Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ## Attempt-2 ## Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? -- == Alex Vinokur mailto:[EMAIL PROTECTED] http://up.to/alexvn ==
Re: xterm Xt error: Can't open display
you were launching an xterm not being under X. Post your /tmp/Xwin.log on the list and read FAQ. --- Alex Vinokur [EMAIL PROTECTED] a écrit : Sylvain Petreolle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Obvious question : did you launch XFree (e.g launch 'startx' in cygwin or by startxwin.bat from windows)? -- launching 'startx' in cygwin -- Administrator@5AT8S8CQEEX4QHI ~ $ startx giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. -- launching startxwin.bat from windows -- C:\cyg_win\usr\X11R6\binstartxwin.bat startxwin.bat - Starting on Windows NT/2000 XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Re: xterm Xt error: Can't open display
- Original Message - From: Sylvain Petreolle [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 6:31 PM Subject: Re: xterm Xt error: Can't open display you were launching an xterm not being under X. Post your /tmp/Xwin.log on the list and read FAQ. -- launching 'startx' in cygwin : BEGIN -- Administrator@5AT8S8CQEEX4QHI ~ $ startx giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. -- launching 'startx' in cygwin : END -- XWinn.log : BEGIN -- ddxProcessArgument () - Initializing default screens winInitializeDefaultScreens () - w 1024 h 768 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winDetectSupportedEngines () - Windows NT/2000 winDetectSupportedEngines () - DirectDraw installed winDetectSupportedEngines () - Allowing PrimaryDD winDetectSupportedEngines () - DirectDraw4 installed winDetectSupportedEngines () - Returning, supported engines 001f winSetEngine () - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL () - Using Windows display depth of 16 bits per pixel winAdjustForAutoHide - Original WorkArea: 0 0 739 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 739 1024 winCreateBoundingWindowWindowed () - WindowClient w 1018 h 713 r 1018 l 0 b 713 t 0 winCreateBoundingWindowWindowed () - Returning winAllocateFBShadowDDNL () - lPitch: 2036 winInitVisualsShadowDDNL () - Masks f800 07e0 001f BPRGB 6 d 16 winLayerCreate () - dwDepth 16 winRandRInit () winCreateDefColormap () - Deferring to fbCreateDefColormap () winScreenInit () - returning Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 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/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Fatal server error: could not open default font 'fixed' -- XWinn.log : END [snip] == Alex Vinokur mailto:[EMAIL PROTECTED] http://up.to/alexvn ==
Re: xterm Xt error: Can't open display
Sylvain Petreolle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Obvious question : did you launch XFree (e.g launch 'startx' in cygwin or by startxwin.bat from windows)? -- launching 'startx' in cygwin -- Administrator@5AT8S8CQEEX4QHI ~ $ startx giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. -- launching startxwin.bat from windows -- C:\cyg_win\usr\X11R6\binstartxwin.bat startxwin.bat - Starting on Windows NT/2000 XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server 127.0.0.1:0.0 after 0 requests (0 known processed) with 0 events remaining. --- Alex Vinokur [EMAIL PROTECTED] a écrit : = Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 = Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ## Attempt-1 ## Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ## Attempt-2 ## Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? == Alex Vinokur mailto:[EMAIL PROTECTED] http://up.to/alexvn == ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
RE: xterm behaving oddly
By the way i should mention that i tried to start other programs in X, such as gvim or xfig and they all came up nicely in the X Server window. It seems that xterm is the odd one out. -Original Message- From: Elias Biris Sent: Friday, June 28, 2002 9:48 AM To: '[EMAIL PROTECTED]' Subject: xterm behaving oddly Hi, I am trying to run XFree on cygwin. Had tried in the past (2 months ago) with success. Now I got all the packages for XFree (XFree86 4.2.0(165) - as appears to be the latest in the setup screens) using the cygwin setup program and tried WindowMaker/fvwm/ION window managers. In my previous attempt with XFree I had got all the packages by hand and installed them one by one. In window managers that I tried, although they start without errors, when I try to get an xterm it just flashes by the screen and vanishes. There is no error or debug output in the Cygwin shell box where I typed startx. Has anyone seen this before? I attach a the result of cygcheck -s -v -r below Kind regards Elias Biris, Systems and Design Verification RD Cadence Design Systems Ltd, SOC Design Centre 1 The Alba Campus TEL: +44 (0)1506595036 Livingston, EH54 7HH FAX: +44 (0)1506595959 - Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jun 28 09:43:26 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path: d:\atria\bin C:\cygwin\usr\local\bin C:\cygwin\usr\local\lib C:\cygwin\usr\local\lib\qt2\bin C:\cygwin\usr\local\lib\qt2\lib C:\cygwin\usr\local\bin\i686-pc-cygwin . c:\programs\bin c:\programs\perl\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\HOME\packages\ion\bin f:\Programs\emacs\emacs-21.1\bin c:\WINDOWS c:\WINDOWS\COMMAND c:\WINDOWS\SYSTEM SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `c:\HOME' MAKE_MODE = `unix' PWD = `/c/HOME/install/ion-devel-20020605' TCL_LIBRARY = `c:\ruby\tcl\lib\tcl8.3' USER = `ebiris' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\ebiris\Application Data' CLEARCASE_PRIMARY_GROUP = `daemon' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PC-EBIRIS' COMSPEC = `C:\WINNT\system32\cmd.exe' HOMEPATH = `\' HOMESHARE = `\\svr1-livingston\users\ebiris\Private' INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include' JAVA_HOME = `C:\jdk1.3.1' JAVA_VERSION = `1.3.1' LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib' LOGONSERVER = `\\DC1SJGLOBAL' MANPATH = `:/usr/ssl/man' MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/c/HOME/install' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW' PKG_INSTALL_DIR = `c:\HOME\src\eCos-1.3.1\ebiris-install' PLUCKER_HOME = `f:\Programs\Plucker' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 3 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0303' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' RUBY_TCL_DLL = `c:\ruby\tcl\bin\tcl83.dll' RUBY_TK_DLL = `c:\ruby\tcl\bin\tk83.dll' SCOPUS = `C:\SCOPUS32' SHELL = `/bin/bash' SHLVL = `1' SMS_LOCAL_DIR = `C:\WINNT' SYBASE = `C:\SYBASE' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\DOCUME~1\ebiris\LOCALS~1\Temp' TERM = `cygwin' TG_HOME = `C:\Together5.02' TMP = `c:\DOCUME~1\ebiris\LOCALS~1\Temp' TOGETHER_HOME = `C:\Together5.02' USERDOMAIN = `GLOBAL' USERNAME = `ebiris' USERPROFILE = `C:\Documents and Settings\ebiris' VIM = `/usr/share/vim' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `c:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f (default) = `f:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/s (default) = `s:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/tmp (default) = `c:\tmp' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/z (default) = `z:' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
RE: xterm fails to start with setuid failed: Permission denied
Let me guess - you have logged in as a domain user, but your home directory is /home/Administrator (or whatever the local administrator is named in dutch...) It seems that cygwin is capable of seeing all domain users and when running 'whoami' returns 'Administrator' instead of the domain user. I would guess that you will have to create an account in /etc/passwd manually - the question is just how... - but I will guess that you will have to find the SID of you domain user and add it to /etc/passwd. Med venlig hilsen / Regards Franz Wolfhagen Florimon van Putte [EMAIL PROTECTED]@cygwin.com on 26-06-2002 10:50:35 Please respond to Florimon van Putte [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:Cygwin-Xfree [EMAIL PROTECTED] cc: Subject:RE: xterm fails to start with setuid failed: Permission denied Ok, I've done mkpasswd -l /etc/passwd mkpasswd -d /etc/passwd mkgroup -l -u /etc/group mkgroup -d -u /etc/group but I keep having xterm die on me with setuid failed: Permission denied ?? rgds, Florimon van Putte
RE: xterm fails to start with setuid failed: Permission denied
Let me guess - you have logged in as a domain user, but your home directory is /home/Administrator (or whatever the local administrator is named in dutch...) Thank god I'm using an English NT installation :)) Anyway - argh ! It works after all - after running the mkpasswd and mkgroup, I hadn't exited my login shell. When I did and restarted it, I landed into /home/fputte instead of /home/Administrator and now it works. Thanks for the help ! rgds, Florimon It seems that cygwin is capable of seeing all domain users and when running 'whoami' returns 'Administrator' instead of the domain user. I would guess that you will have to create an account in /etc/passwd manually - the question is just how... - but I will guess that you will have to find the SID of you domain user and add it to /etc/passwd. Med venlig hilsen / Regards Franz Wolfhagen Florimon van Putte [EMAIL PROTECTED]@cygwin.com on 26-06-2002 10:50:35 Please respond to Florimon van Putte [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:Cygwin-Xfree [EMAIL PROTECTED] cc: Subject:RE: xterm fails to start with setuid failed: Permission denied Ok, I've done mkpasswd -l /etc/passwd mkpasswd -d /etc/passwd mkgroup -l -u /etc/group mkgroup -d -u /etc/group but I keep having xterm die on me with setuid failed: Permission denied ?? rgds, Florimon van Putte
RE: xterm fails to start with setuid failed: Permission denied
Hi, I'm getting the same for xterm. My Cygwin / XFree86 installation from about three months ago was running fine, but when I upgraded it yesterday I get the same problem, at least when running as a domain user. Xterm works when I run it as the local administrator though. I also have problems with xcalc (window is filled with the 0 button), and xedit (displays the message Error: Shell widget fileMenu has zero width and/or height and doesn't start). This is both as domain user and local administrator This happens with both XFree86 and StaNet X-Win32 as X servers. Is there a problem with the client utilities build? This is caused by a stricter uid/gid handling in cygwin 1.3.11. I've stumbled about it and Corinna Vinschen told me to make sure, that for all user, who could own files, which you like to access has to be a corresponding entry in /etc/passwd. See http://www.cygwin.com/ml/cygwin/2002-06/msg01198.html for more informations.
Re: xterm fails to start with setuid failed: Permission denied
Ralf Habacker wrote: This is caused by a stricter uid/gid handling in cygwin 1.3.11. I've stumbled about it and Corinna Vinschen told me to make sure, that for all user, who could own files, which you like to access has to be a corresponding entry in /etc/passwd. See http://www.cygwin.com/ml/cygwin/2002-06/msg01198.html for more informations. Thanks: after fixing my /etc/passwd, it works for me. BUT, I don't use ntsec, which is why I had never read the docs about it too closely. This stricter uid/gid stuff affects non-ntsec use as well: perhaps the user manual could be updated to reflect this? Regards, Peter. P.S. xcalc and xedit are still broken. Maybe a Motif/Lesstif problem? Anyway, these are not the most important of utilities.
Re: xterm title not shown
I wrote in [EMAIL PROTECTED] in gmane.os.cygwin on Wed, 15 May 2002 21:41:14 +0100: The default /etc/profile sets up PS1 with the xterm escape sequences to put the username and current directory into the title. Either edit /etc/profile or override it in your ~/.bash_profile or ~/.bash_rc. Sorry. That should have been ~/.bashrc, of course. -- Sam Edge
RE: xterm ofer ssh to my local xfree/xwin on windows 2000 with umlaut-problems
Hi, take a look at http://www-usercgi.tu-chemnitz.de/~goal/index.php3?jump=xfree#modmap best regards, Darko But for example, I open in the ssh-bash an xterm and the xterm opens on my localy xfree/cygwin, I have a different language in the xterm-bash. I cannot user the äöü etc. When I make this with a booted linux on my side instead of windows and make a ssh and the x11-forwarding to my local linux-xfree, I have the german umlauts etc. How Do I get this running under cygwin?
Re: xterm problems
I set the TERM variable to vt100 and it works. But it gets changed to vt102 everytime i restart cygwin. Where am I supposed to change it so it's permanent? - Original Message - From: Tzafrir Cohen [EMAIL PROTECTED] To: Wilfred Villegas [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, January 26, 2002 3:51 PM Subject: Re: xterm problems On Sat, 26 Jan 2002, Wilfred Villegas wrote: I just recently installed the newest xfree86 (4.2.0).I have cygwin installed on a Windows 98 machine.I have two problems: 2) Even though startx doesn't work, startxwin.sh works, and that's what I use now.But when I'm in xterm, and open one of the man pages, I get this message: WARNING: terminal is not fully functional - (press RETURN) This is related to the terminal definitions. Immediate workaround: run: TERM=vt100 (or 'set term=vt100' on tcsh) Gives you almost all of what you need, and is defined just about anywhere. What is your current value of TERM? ('echo $TERM') BTW: The terminfo definition file of xterm is /usr/share/termonfo/x/xterm -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir