Thanks very much, Alexander.  I think set -x showed what's going on.

+ DISPLAY=127.0.0.1:0.0
+ export DISPLAY
+ userresources=/home/wakileh/.Xresources
+ usermodmap=/home/wakileh/.Xmodmap
+ sysresources=/etc/X11/xinit/.Xresources
+ sysmodmap=/etc/X11/xinit/.Xmodmap
+ [ -f /etc/X11/xinit/.Xresources ]
+ [ -f /etc/X11/xinit/.Xmodmap ]
+ [ -f /home/wakileh/.Xresources ]
+ [ -f /home/wakileh/.Xmodmap ]
+ xmodmap /home/wakileh/.Xmodmap
xmodmap:  unable to open display '127.0.0.1:0.0'
+ [ -f /home/wakileh/.Xdefaults ]
+ xrdb -load /home/wakileh/.Xdefaults
.
.
.

>From "xmodmap:  unable to open display '127.0.0.1:0.0'", I presume I did something 
>stupid, but don't know what.  My .xinitrc has
#!/bin/sh 
set -x

DISPLAY=127.0.0.1:0.0
export DISPLAY

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi
.
.
.

I have to leave now to Switzerland and will be back tomorrow evening to try again and 
see if I can detect the problem.

Kind regards,

George

-----Original Message-----
From:   Alexander Gottwald [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, 23 April 2001 09:51
To:     George J. Wakileh
Cc:     'cygwin-xfree'
Subject:        RE: German Keyboard - Again :-)

try adding "set -x" after the "#!/bin/sh" line or at the beginning of startx and 
.xsession. This will print all commands the shell executes.

bye
    ago
-- 
[EMAIL PROTECTED]
http://www.gotti.org
+49 3725 3498080

Reply via email to