Help about xorg-x11-fnts

2005-07-07 Thread Alireza Ghasemi
Hello,
I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
it.There is no typical Makefile and no configure script.Please explain me
step by step how to compile it and get use of X11 in Cygwin.I have
downloaded all other needed packages But it is very difficult for me to
download huge 16 MB xorg-x11-fnts binary file.
I copied the package to /usr/X11R6/lib/X11/fonts but again When I try to run
X I get error about 'fixed font'.
What should I do?
Thanks



Re: Help about xorg-x11-fnts

2005-07-07 Thread Igor Pechtchanski
On Thu, 7 Jul 2005, Alireza Ghasemi wrote:

 Hello,
 I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
 it.There is no typical Makefile and no configure script.Please explain me
 step by step how to compile it and get use of X11 in Cygwin.I have
 downloaded all other needed packages But it is very difficult for me to
 download huge 16 MB xorg-x11-fnts binary file.
 I copied the package to /usr/X11R6/lib/X11/fonts

Don't copy it -- use the Cygwin setup program to install it.

The X.Org X packages use Imakefiles instead of Makefiles -- there's
adequate documentation on X.org.  But read on.

 but again When I try to run X I get error about 'fixed font'.
 What should I do?

Normally, you'd be referred to the Cygwin/X FAQ at
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof.

However, in this case, that would be useless, as you didn't use a
prescribed procedure to install the packages, so anything could be
happening.  This kind of installation isn't (and cannot be) supported on
the Cygwin lists.
Igor
P.S. Your spacebar key seems to be malfunctioning.
-- 
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Help about xorg-x11-fnts

2005-07-07 Thread Alexander Gottwald
On Thu, 7 Jul 2005, Alireza Ghasemi wrote:

 Hello,
 I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
 it.There is no typical Makefile and no configure script.Please explain me
 step by step how to compile it and get use of X11 in Cygwin.I have
 downloaded all other needed packages But it is very difficult for me to
 download huge 16 MB xorg-x11-fnts binary file.

The fonts are built from a large source distribution containing everything 
from X. The xorg-x11-*-src packages are just snippets of the large 
distribution. 

The build from the source packages does not properly work and requires good 
knowledge of make and the directory layout of X11.

Download
xorg-x11-fnts-6.8.2.0-1-src.tar.bz2

Unpack
tar xvjf xorg-x11-fnts-6.8.2.0-1-src.tar.bz2
tar xvjf xorg-x11-fenc-6.8.2.0-1-src.tar.bz2

Fix references to xorg-x11-base-6.8.2.0-1-src.tar.bz2
ed xc/fonts/bdf/misc/Imakefile EOF
/Arabic
s/#if .*/#if 0/
/^CLEARLYUOBJS
s/^CLEARLYUOBJS/_/
w
EOF

Build
cd xc/fonts/encodings
xmkmf -a
cd ../bdf
xmkmf
make Makefiles
for i in misc 75dpi 100dpi; do make -C $i install TOP=../../..; done

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Cygwin-Xfree 6.8.2.0-1 - Keyboard problem with Matlab 6.X

2005-07-07 Thread Mathieu OUDART

Hi all,

I actually use Cygwin/X to display software from remote Unix servers.

It really works fine except with matlab 6 :
When I launch matlab, the main window appears on my local display but 
the keyboard seems inactive.

(I cannot type anything inside the matlab's command window)

Moreover, a left click is a paste (?), middle is also paste while 
the right click opens correctly the context menu.


I can also notice that the statusbar (at the bottom of the matlab 
window) stays on initializing and never switches to Ready.


I've found some keyboard problems on the mathworks' web site, but only 
for some specific keys like numpad and those workarounds don't work for me.


Is it a known problem ? Is there something to do ?

Regards.

(See Xwin.log below)

--
Mathieu OUDART

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-1

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow -clipboard 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(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 24 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 24
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the screen. 
 Using default 24bpp masks.
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 24
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
MIT-SHM extension disabled due to lack of kernel support
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
winInitMultiWindowWM - Calling pthread_mutex_lock ()
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 040C (040c) 
(--) Using preset keyboard for French (Standard) (40c), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, 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/100dpi/, removing 
from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winProcEstablishConnection - Hello
winInitClipboard ()
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display.


Re: Cygwin-Xfree 6.8.2.0-1 - Keyboard problem with Matlab 6.X

2005-07-07 Thread Alexander Gottwald
On Thu, 7 Jul 2005, Mathieu OUDART wrote:

 Hi all,
 
 I actually use Cygwin/X to display software from remote Unix servers.
 
 It really works fine except with matlab 6 :
 When I launch matlab, the main window appears on my local display but 
 the keyboard seems inactive.
 (I cannot type anything inside the matlab's command window)
 
 Moreover, a left click is a paste (?), middle is also paste while 
 the right click opens correctly the context menu.

Maybe a problem with modifier keys. Try disabling numlock.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: Problems running OpenGL program on Cygwin

2005-07-07 Thread Larry Griffith

Dear List Members,

   Thanks for the responses from Alexander Gottwald and Reid
Thompson.  Before I could try their suggestions out, I had a crash
and had to reinstall Cygwin.  While doing so, I noticed that the
User's Guide suggested starting Cygwin-X with the MS-DOS batch
file startxwin.bat rather than with xinit.  Now everything works just
fine and I see the cube from cube.c!

   Larry 
Griffith





Duplication error upon startx with XWin :0; No terminal with XWin :1

2005-07-07 Thread Angus Veitch
First of all, thanks to Alexander and Igor for responding to my last 
message.  I'm edging my way forward, but haven't seen the light just 
yet.  I'm still not having much success running startx or xdmcp.  It's 
even possible that some of what I am observing is perfectly healthy, and 
it is my expectations or understanding of the program that are wrong.  
Since I don't know whether all my problems are related, I'll deal with 
startxwin.bat in this email and with startxdmcp.bat in the next one.  
Sorry for all the logs!


I'm running a freshly downloaded cygwin/x, and am trying to connect 
WinXP to a (nearly) freshly installed Linux box running MEPIS.


If I run startxwin.bat with the line XWin :0 -multiwindow -clipboard 
-silent-dup-error, I successfully load a terminal, but attempting to 
run startx invokes: Fatal server error: InitOutput - Duplicate 
invocation on display number: 0.  The full XWin.log follows:


-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-3

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin :0 -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(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
winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 
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: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
(--) 5 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.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened 
the display.
winClipboardProc - 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.

-

. . . and when I execute startx from the terminal . . .

-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-3

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winCheckDisplayNumber - Cygwin/X is already running on display 0

Fatal server error:
InitOutput - Duplicate invocation on display number: 0.  Exiting.

winDeinitMultiWindowWM - Noting shutdown in progress
-

I can't find any other xwin processes running (perhaps I don't know what 
to look for), but to keep xwin happy, I instead run startxwin.bat with 
XWin :1 (...etc).  The result is that I get no terminal at all  -- the 
cygwin/x window is just a blank grey screen.  The XWin.log follows:


-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-3

Contact: 

How do I fix XDMCP fatal error: Manager unwilling Host unwilling?

2005-07-07 Thread Angus Veitch
This is essentially Part 2 of my other email (Duplication error upon 
startx with XWin :0; No terminal with XWin :1).


I'm running a freshly downloaded cygwin/x, and am trying to connect 
WinXP to a (nearly) freshly installed Linux box running MEPIS.


Running the default startxdmcp.bat with XWin :0 -query %REMOTE_HOST% 
-nodecoration -lesspointer fails at: Fatal server error: XDMCP fatal 
error: Manager unwilling Host unwilling.  The full XWin.log follows:


-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-3

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin :0 -query 192.168.0.111 -nodecoration
-lesspointer

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(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/

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)
(--) Using preset keyboard for English (USA) (409), type 4
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
XDMCP fatal error: Manager unwilling Host unwilling

winDeinitMultiWindowWM - Noting shutdown in progress
-

Now, I'm new to both Linux and XDMCP, so I'm still feeling my way in 
this area.  But I have managed to track down /etc/kde3/kdm/kdmrc and 
modify the approriate line to:


[Xdmcp]
Enable=true

I have also done a few other things specified in the XDMCP HowTo 
available at http://en.tldp.org/HOWTO/XDMCP-HOWTO/.  But due to the 
specifics of MEPIS combined with my inexperience with Linux, there is 
still a reasonable chance that I have missed something.


Also, I think (but am not sure) that I have set up GuardDog (firewall) 
on MEPIS to allow the XDMCP requests.  At least I am now getting the 
same results with the firewall turned off as when it is turned on.


What is the likely cause of the fatal error in this case?  What steps 
should I take to overcome it?


Thanks,
Angus.




Cygwin Configuration Diagnostics
Current System Time: Fri Jul 08 01:25:11 2005

Windows XP Professional Ver 5.1 Build 2600 

Path:   C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Common Files\GTK\2.0\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1004(angus) GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1003(Debugger Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1004(angus) GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1003(Debugger Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

Path = `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Common Files\GTK\2.0\bin'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\angus\Application Data'
CLASSPATH = `C:\WINDOWS\System32\QTJava.zip'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `DURON1K'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
GAIMHOME = `D:\Gaim\Data  Settings'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\DURON1K'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 0, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0700'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
QTJAVA = `C:\WINDOWS\System32\QTJava.zip'
SESSIONNAME = `Console'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\angus\LOCALS~1\Temp'
TMP = `C:\DOCUME~1\angus\LOCALS~1\Temp'
USERDOMAIN = `DURON1K'
USERNAME = `angus'
USERPROFILE = `C:\Documents and Settings\angus'
windir = `C:\WINDOWS'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) 

Re: Duplication error upon startx with XWin :0; No terminal with XWin :1

2005-07-07 Thread Alexander Gottwald
On Fri, 8 Jul 2005, Angus Veitch wrote:

 If I run startxwin.bat with the line XWin :0 -multiwindow -clipboard 
 -silent-dup-error, I successfully load a terminal, but attempting to 
 run startx invokes: Fatal server error: InitOutput - Duplicate 
 invocation on display number: 0.  The full XWin.log follows:

Maybe because you've already started the xserver with startxwin.bat?

startxwin.bat and startxwin.sh and startx all do the same.

 
 . . . and when I execute startx from the terminal . . .

Why do you want this. With startxwin.bat, the xserver is already started


 So, my question is: Why is the terminal missing when I run startwinx.bat 
 with display number :1 rather than :0?

because at the start of startxwin.bat there is line 
SET DISPLAY=127.0.0.1:0.0
 ^^ 
which must match the display number used with XWin

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Duplication error upon startx with XWin :0; No terminal with XWin :1

2005-07-07 Thread Igor Pechtchanski

On Fri, 8 Jul 2005, Angus Veitch wrote:


First of all, thanks to Alexander and Igor for responding to my last
message. I'm edging my way forward, but haven't seen the light just yet.
I'm still not having much success running startx or xdmcp.  It's even
possible that some of what I am observing is perfectly healthy, and it
is my expectations or understanding of the program that are wrong.
Since I don't know whether all my problems are related, I'll deal with
startxwin.bat in this email and with startxdmcp.bat in the next one.
Sorry for all the logs!

I'm running a freshly downloaded cygwin/x, and am trying to connect WinXP to a
(nearly) freshly installed Linux box running MEPIS.

If I run startxwin.bat with the line XWin :0 -multiwindow -clipboard
-silent-dup-error, I successfully load a terminal, but attempting to run
startx invokes: Fatal server error: InitOutput - Duplicate invocation on
display number: 0.  The full XWin.log follows:
[snip]


If it really is a duplicate invocation on the same window station, you
should have an X icon in your system tray.  You could quit the current X
server, and your new one would come up.


I can't find any other xwin processes running (perhaps I don't know what to
look for),


ps -W | grep -i xwin


but to keep xwin happy, I instead run startxwin.bat with XWin :1
(...etc).  The result is that I get no terminal at all  -- the cygwin/x
window is just a blank grey screen.  The XWin.log follows:

-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-3

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin :1 -multiwindow -clipboard -silent-dup-error
[snip]
winDeinitMultiWindowWM - Noting shutdown in progress
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT
message, exiting main loop.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!

winDeinitMultiWindowWM - Noting shutdown in progress
-

So, my question is: Why is the terminal missing when I run startwinx.bat
with display number :1 rather than :0?


You're basically attempting to start two multiwindow window managers on
the same underlying Windows desktop.  If I understand this correctly, the
multiwindow manager needs some sort of exclusive access to the underlying
Windows interface to delegate all of the window handling, and having more
than one of them makes them interfere with each other.

Try starting the second XWin without the -multiwindow parameter, and see
if it helps.  You don't want -multiwindow for XDMCP anyway.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: How do I fix XDMCP fatal error: Manager unwilling Host unwilling?

2005-07-07 Thread Alexander Gottwald
On Fri, 8 Jul 2005, Angus Veitch wrote:

 Running the default startxdmcp.bat with XWin :0 -query %REMOTE_HOST% 
 -nodecoration -lesspointer fails at: Fatal server error: XDMCP fatal 
 error: Manager unwilling Host unwilling.  The full XWin.log follows:
 
 Fatal server error:
 XDMCP fatal error: Manager unwilling Host unwilling

 Now, I'm new to both Linux and XDMCP, so I'm still feeling my way in 
 this area.  But I have managed to track down /etc/kde3/kdm/kdmrc and 
 modify the approriate line to:
 
 [Xdmcp]
 Enable=true
 
 I have also done a few other things specified in the XDMCP HowTo 
 available at http://en.tldp.org/HOWTO/XDMCP-HOWTO/.  But due to the 
 specifics of MEPIS combined with my inexperience with Linux, there is 
 still a reasonable chance that I have missed something.

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-query

XDMCP and firewalls

XDMCP will not work correctly if you have a personal firewall installed or the 
built-in firewall of Windows is activated.

The XDMCP protocol will send and receive data on port 177/UDP. But the actual 
connections will be made to the local port 6000/TCP. It is safe to allow 
connections since the xserver has an own security layer. An overview of used 
ports is given in Table 2.

Table 2. Ports used with XDMCP connections
PortProtocolDirection   Comment
177 UDP Incoming/Outgoing   Actual XDMCP connection
6000+displayTCP IncomingConnection for X11 clients. display is 
usally 0 except you specify it on the commandline.

Special Note: XDMCP does not work with any kind of network address translation

There are configuration files for xdm which control which host can connect 
to the xdmcp server. They are usally located in /etc/X11/xdm/Xaccess. KDM
may use different locations. The default will allow any host access. But I 
don't know how the installed files differ from the defaults.

You might want to ask the distributor of MEPIS how to get XDMCP access to 
the system. 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Duplication error upon startx with XWin :0; No terminal with XWin :1

2005-07-07 Thread Alexander Gottwald
On Thu, 7 Jul 2005, Igor Pechtchanski wrote:

 You're basically attempting to start two multiwindow window managers on
 the same underlying Windows desktop.  If I understand this correctly, the
 multiwindow manager needs some sort of exclusive access to the underlying
 Windows interface to delegate all of the window handling, and having more
 than one of them makes them interfere with each other.
 
 Try starting the second XWin without the -multiwindow parameter, and see
 if it helps.  You don't want -multiwindow for XDMCP anyway.

No. It's not the window manager. It's the network layer of X11. The display
number refers to the TCP port (6000+$n) and the unix socket 
/tmp/.X11-unix/X$n. 
If you try to start more than one xserver with the same display it will fail
to bind to the TCP port but create the unix socket anyway. This leads to 
strange results, so we added the check with the mutex.

So the rule is: Different display numbers per XWin or xserver process.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Crash when single-click Xterm window

2005-07-07 Thread mrdna

Originally posted by me and by Alexander.Gottwald:

 Another thing: When I single click with left or right mouse button on an 
 XTerm window Cygwin freezes and has to be Ctrl+Alt+Delled. I can click and 
 drag text to copy it and all, but when I single click the window to remove 
 the highlighting Cygwin will freeze. This happens consistently. 

 Does this happen too without the -clipboard parameter for XWin?

Thanks. I tried running without -clipboard and there seems to be no problem 
when I right or left click an XTerm window. Stragely, with the -clipboard 
option only single clicks caused the problem. A left click-and-drag (and 
presumably a copy to the clipboard in the background) caused no problem. 

- Liam. 


_
eircom broadband is now up to four times faster than before.
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer




RE: Cygwin doesn't recognize the Canadian French keyboard

2005-07-07 Thread Daniel Landry
On Wed, 6 Jul 2005, Igor Pechtchanski wrote:
Ah.  I'm going to venture a guess and say that it's not simply an xterm,
but an xterm running bash[*] that doesn't work, and direct you to
http://cygwin.com/faq/faq_3.html#SEC48.

[*] bash uses readline, and, most likely, so does the python interpreter 
environment (top-level?).


Your guess is right.  I have followed the link and adapt to my specific 
need but it seems that I have missed something.  Accented characters are 
printed as if convert-meta is set to on.  As an example e (e acute) is 
displayed as \351.  These are my home configuration files

# .bashrc
?
alias less='less -r'
alias ls='ls -F --color=tty --show-control-chars'
export LANG=fr
export LC_ALL=fr_CA
export LC_CTYPE=iso-8859-1
export OUTPUT_CHARSET=iso-8859-1
export LESSCHARSET=iso8859
setxkbmap ca_enhanced

# .inputrc
set meta-flag on# enable 8-bit input
set convert-meta off# don't strip 8-bit characters
set input-meta on   # enable 8-bit input
set output-meta on  # display 8-bit characters correctly

Daniel Landry



RE: Cygwin doesn't recognize the Canadian French keyboard

2005-07-07 Thread Igor Pechtchanski
Daniel,

Please make sure your mailer respects the Reply-To: header -- I set it for
a reason.  There was no need to Cc: me -- I read the list.

On Thu, 7 Jul 2005, Daniel Landry wrote:

 On Wed, 6 Jul 2005, Igor Pechtchanski wrote:
 Ah.  I'm going to venture a guess and say that it's not simply an xterm,
 but an xterm running bash[*] that doesn't work, and direct you to
 http://cygwin.com/faq/faq_3.html#SEC48.

 [*] bash uses readline, and, most likely, so does the python interpreter
 environment (top-level?).

 Your guess is right.

At which point this stops being an X-related problem, and is better
discussed on the main list.  I've set the Reply-To: accordingly (though
the xfree list is likely to add another pointing to itself).

 I have followed the link and adapt to my specific need but it seems that
 I have missed something.  Accented characters are printed as if
 convert-meta is set to on.  As an example e (e acute) is displayed as
 \351.

Displayed by what?  If you type echo é at the bash prompt, does that
display properly?  What about echo -e '\0351'?

 These are my home configuration files

 # .bashrc
 ?
  ^
Huh?

 alias less='less -r'
 alias ls='ls -F --color=tty --show-control-chars'
 export LANG=fr
 export LC_ALL=fr_CA
 export LC_CTYPE=iso-8859-1
 export OUTPUT_CHARSET=iso-8859-1
 export LESSCHARSET=iso8859
 setxkbmap ca_enhanced

 # .inputrc
 set meta-flag on  # enable 8-bit input
 set convert-meta off  # don't strip 8-bit characters
 set input-meta on # enable 8-bit input
 set output-meta on# display 8-bit characters correctly

What does bind -v | grep meta show when run from bash?
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

RE: Cygwin doesn't recognize the Canadian French keyboard

2005-07-07 Thread Daniel Landry
In Xterm, running bash, the result is:

$ echo \351
e   (e acute is displayed correctly)

$ bind -v | grep meta
set convert-meta off
set input-meta off
set meta-flag off
set output-meta off

My complete .bashrc is (I have removed only the line beginning by #):

# User dependent .bashrc file

eval 'dircolors -b'
alias whereis=which
alias xterm='xterm -sl 5000'

# Requis pour accent francais dans certaines applications
alias less='less -r'
alias ls='ls -F --color=tty --show-control-chars'
export LANG=fr
export LC_ALL=fr_CA
export LC_CTYPE=iso-8859-1
export OUTPUT_CHARSET=iso-8859-1
export LESSCHARSET=iso8859
# Requis lorsque la dedection automatique de Xwin ne fonctionne pas
setxkbmap ca_enhanced



On Thu, 7 Jul 2005, Igor Pechtchanski wrote:

At which point this stops being an X-related problem, and is better
discussed on the main list.  I've set the Reply-To: accordingly (though
the xfree list is likely to add another pointing to itself).

 I have followed the link and adapt to my specific need but it seems that
 I have missed something.  Accented characters are printed as if
 convert-meta is set to on.  As an example e (e acute) is displayed as
 \351.

Displayed by what?  If you type echo e at the bash prompt, does that
display properly?  What about echo -e '\0351'?

 These are my home configuration files

 # .bashrc ?
 # .inputrc ?

What does bind -v | grep meta show when run from bash?