This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xmodmap probs...


On Mon, 23 Apr 2001, Markus Schneider wrote:

> Hello,
> 
> I am trying hard to get my german keyboard working, but I am still running 
> into problems:
> 
> - I already created a ~/.xsession file, and downloaded the german 
> ~/.Xmodmap file from gotti.org 
> (http://www-usercgi.tu-chemnitz.de/~goal/?jump=xfree)
> 
> (.xsession)
> 
> usermodmap=$HOME/.Xmodmap
> sysmodmap=/usr/lib/X11/xinit/.Xmodmap
> 
> if [ -f $sysmodmap ]; then
>      xmodmap $sysmodmap
> fi
> 
> if [ -f $usermodmap ]; then
>      xmodmap $usermodmap
> fi
> 
> But I don't have the /usr/lib/X11 - branch! Did I miss something out? Do I 
on most unix systems /usr/lib/X11 is just a symlink to /usr/X11R6/lib/X11
> need $sysmodmap at all when I use the $usermodmap?
No. The system map is just taken as the standard one if no user map exists

> 
> - Running xterm locally works, and after I issue "xmodmap ~/.Xmodmap" I get 
> german Umlauts!!!
> 
> But I want to use my Linux box as a remote client:
> 
> $ XWin.exe -screen 0 1024x768x32 -whitepixel 255 -blackpixel 0 -fullscreen 
> -query yeti &
> 
> Now I can log in using kdm! Everything works perfect except my keyboard...
> After I changed back to Cygwin, I tried:
> 
> $ export DISPLAY=localhost:0.0
> $ xmodmap ~/.Xmodmap
> 
Use this from your linux box. The Xserver is after logging in via kdm 
owned by the linux box. You can not connect from your windows environment.

If you still have problems, try running ~/.xsession manually and
try the steps I have mentioned in the "german keyboard - again" thread.

You can copy the xmodmap.de to ~/.Xmodmap on your linux box. The 
german modmap will be installed after logging in via kdm.


> But I get error messages saying that 127.0.0.1 is not allowed to connect to 
> server...
> 
> $ xhost localhost
> 
> Does not work either (same problem!)
> 
> When X starts up, I get:
> "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy"
> 
You can ignore this. Its just a warning.

> Is there a connection between my problem and the missing SecurityPolicy file?
> Where do I get it then?

Copy it from your linux box :)

bye 
    ago
-- 
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org
+49 3725 3498080


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]