I currently handle the nxserver-freenx port from the nx-overlay (see bug #101691). The newest version works perfectly but there is a problem when using it with a different, than the original us-keyboard layout and the new Xorg 7.0.0 modular Xserver. Therefore, regardless what one configures in the NX-Client or in the window manager (e. g. KDE), it still uses the plain us-keyboard. The NX-Server seems to search for keyboard layouts in /usr/X11R6/lib/X11/xkb where it no longer exists. Instead the new Xserver provides this directory under /usr/share/X11. A simple link from /usr/share/X11/xkb -> /usr/X11R6/lib/X11/xkb is sufficient to let it work correctly, although im not sure if this is the best way to handle it. Any ideas how to fix this in a new release of nxserver-freenx? Best regards, Heiko. Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de " LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/nx" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo browserplugin cjk cli crypt ctype cups dri ecc eds emacs emboss encode esd ethereal font-server foomaticdb fortran ftp gcj gdbm gif gimpprint gnome gnustep gpgme gpm gstreamer gtk gtk2 idea imap imlib ipv6 isdnlog java jikes jpeg kde libg++ libwww linuxthreads-tls mad mikmod mime mmap mmx motif mozsvg mp3 mpeg ncurses nis nls nptl nsplugin objc ogg oggvorbis opengl oss pam pam_chroot pam_console pam_timestamp pcre pdflib perl png posix pppd python qt quicktime rdesktop readline reflection sdl session smime sockets spell spl ssl symlink tcpd threads truetype truetype-fonts type1-fonts udev unicode userlocales utf8 vim-with-x vorbis xinerama xml xmms xorg xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I confim the problem with : net-misc/nx-x11-1.5.0-r8 x11-base/xorg-x11-7.0-r1 In a post here : http://mail.kde.org/pipermail/freenx-knx/2006-June/003559.html a proposed solution is to update xorg-x11-7.0 to xorg-x11-7.1
A symlink is fine for now. I need to modify the source to include the fixes. NX stuff is not very friendly towards xorg7 in it's current form. :( A lot of work needs to be done to make more friendly. -_- So, I need to write some patches and hope that takes care of it once and for all. :D Cheers.
Hi, I cannot reproduce this w/ X.Org 7.1. Are you still having this problem? Best regards, Stu
Problem exists here with X.org 7.1 and FreeNX 0.5.0-r1. Neither the sym link nor other solutions solve the problem. Keyboard is setted to german on Windows client the keyboard in the NX session is english. So no umlauts works... emerge --info ============= Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686) ================================================================= System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.12.6 Last Sync: Mon, 20 Nov 2006 19:00:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.3.5, 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 a52 aac aalib acl acpi activefilter aiglx alsa apache2 ares arts asf async audiofile bcmath berkdb bitmap-fonts branding bzip2 cairo calendar caps cddb cdr cli cracklib crypt css ctype cups curl curlwrappers dbus dga discard-path dlloader dmi dmx doc dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode esd examples exif expat extraengine extrafilters fam fame ffmpeg firefox flac fltk fontconfig foomaticdb fortran fpx gd gdbm ggi gif glibc-omitfp glitz gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk hal iconv idn imagemagick imap imlib inifile input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k kcal kde kerberos kernel_linux lcms ldap libcaca libg++ linguas_de lm_sensors lzo mad madwifi mailwrapper mbox mcve memlimit mhash mikmod ming mjpeg mmap mmx mng modplug motif mozbranding mp3 mpeg mpm-worker musepack musicbrainz mysql mysqli ncurses network nis nls nntp nowebdav nptl nptlonly nsplugin nxclient ogg openexr opengl oss pam pccts pcntl pcre pcsc pdo perl php physfs pic png posix ppds pppd pwdb python qt3 qt4 quicktime quotas rdesktop readline real reflection samba sasl scanner sdl session simplexml slang slp smux sndfile snmp sockets socks5 speex spell spl srp srvdir sse sse2 ssl subversion svg symlink syslog sysvipc tcpd tetex theora threads tidy tiff tk tokenizer toolbar tools truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU vcd vda video_cards_nvidia vidix visualization vnc vorbis wddx wifi win32codecs winbind wmf xcomposite xforms xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc yaz yv12 zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS Package versions ================ x11-drivers/xf86-input-keyboard Available versions: 1.0.1.3 1.1.0 ~1.1.1 [M]1.2.0 Installed: 1.1.0 Homepage: http://xorg.freedesktop.org/ Description: Keyboard input driver * x11-base/xorg-server Available versions: 1.0.2-r7 ~1.1.0-r1 ~1.1.1 1.1.1-r1 ~1.1.1-r2 [M]1.1.99.902 [M]1.2.99.0 Installed: 1.1.1-r1 Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers * net-misc/nxserver-freenx Available versions: ~0.5.0-r1 Installed: 0.5.0-r1 Homepage: http://freenx.berlios.de/ Description: An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse
Now, it works! The Problem was the update of X.org from version 7.0 to 7.1. The keyboards didn't get recompiled. So I'm removing /usr/share/X11/xkb/ and reinstall all packages with files in this directory. After this I'm setting the symlin from /usr/lib/X11/xkb to /usr/share/X11/xkb. Recompiling nx-packages. And now it works.
Missing something. Adding AGENT_EXTRA_OPTIONS_X="-co /usr/share/X11/rgb -fp /usr/share/fonts/corefonts,/usr/share/fonts/ttf-bitstream-vera,/usr/share/fonts/local,/usr/share/fonts/misc,/usr/share/fonts/Type1,/usr/share/fonts/TTF,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi -xkbdir /usr/share/X11/xkb" to /etc/nxserver/node.conf
Not reproduced with : net-misc/nx-3.0.0 x11-base/xorg-x11-7.2 I think this bug can be closed.
Confirmed here with a french keyboard layout, nx 3.0 is based on x.org so it helps a lot Closing, thanks for the report
Reopening to set correct resolution