[FreeNX-kNX] Fw: Re: Re: Freenx and keyboard input

ChrisB chris at ccburton.com
Sun Sep 27 13:06:19 UTC 2009


"ZhangRuirui" <rrzhang at ipp.ac.cn> wrote on 27/09/2009 11:22:35:

> I used Xmanager's Xshell to access the server before. It works fine.
> 

Before ?? Are you sure it works now. Do you have another non root user you 
can try ??

If root works over nx, it's probably the user account isn't it?? rather 
than FreeNX . . .


> The user account has keyboard problem both in gnome and kde desktop over 
nx.
> 
> Here is the nxsetup test:
> [root at newmdsserver ~]# nxsetup --test
> ----> Testing your nxserver configuration ...
> Warning: Could not find nxdesktop in /usr/NX/bin. RDP sessions won't 
work.
> Warning: Could not find nxviewer in /usr/NX/bin. VNC sessions won't 
work.
> Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
>          Users might not be able to request a default X session.


It's not always /etc/X11/xdm/Xsession, so as long as you aren't trying a 
default X . . .


> Warning: Invalid value "COMMAND_START_CDE=cdwm"
>          Users will not be able to request a CDE session.


So you didn't install it  . . .


> Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be 
> able to use SAMBA. 
> Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be 
> able to use SAMBA.


Yup, they're mount.cifs and umount.cifs now !!


> Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string 
> in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for 
> this version of FreeNX.


OK, but you are using 3.3 which will do fine . . .


>   Warnings occured during config check.
>   To enable these features please correct the configuration file.
> <---- done
> ----> Testing your nxserver connection ...
> HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
> NX> 105 quit
> Quit
> NX> 999 Bye
> <--- done


 . . . and in we go, but we know it works 'cos root got in fine !!


> 
> and the part of clients file using user account:
> ......

This is the stderr from X . . . 

. . . there ought normally not to be much in here !!

> expected keysym, got XF86_Switch_VT_12: line 41 of xfree86
> expected keysym, got XF86_Ungrab: line 45 of xfree86
> expected keysym, got XF86_ClearGrab: line 48 of xfree86
> expected keysym, got XF86_Next_VMode: line 51 of xfree86
> expected keysym, got XF86_Prev_VMode: line 54 of xfree86

This stuff is from /usr/share/X11/xkb/compat/xfree86

Looks like your XKB keyboard extensions are not doing so well !!



> The XKEYBOARD keymap compiler (xkbcomp) reports:


xkbcomp compiles the keyboard extensions . . .

. . . or maybe not in your case !!


> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> expected keysym, got XF86_Switch_VT_1: line 52 of pc
> expected keysym, got XF86_Switch_VT_2: line 56 of pc
> ...
> expected keysym, got XF86_Prev_VMode: line 140 of pc
> expected keysym, got XF86_Next_VMode: line 150 of pc
> Errors from xkbcomp are not fatal to the X server
> Unable to initialize XFixes extension.


Not fatal to X as it says, but the keyboard doesn't work !!


> 
> and the part of clients file using root accounts:
> ...


As root then . . . .


> expected keysym, got XF86_Next_VMode: line 51 of xfree86
> expected keysym, got XF86_Prev_VMode: line 54 of xfree86
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> > Warning:          Multiple interpretations of 
"NoSymbol+AnyOfOrNone(all)"
> >                   Using last definition for duplicate fields
> ...
> expected keysym, got XF86_Switch_VT_11: line 92 of pc
> expected keysym, got XF86_Switch_VT_12: line 96 of pc
> expected keysym, got XF86_Ungrab: line 128 of pc
> expected keysym, got XF86_ClearGrab: line 134 of pc
> expected keysym, got XF86_Prev_VMode: line 140 of pc
> expected keysym, got XF86_Next_VMode: line 150 of pc
> > Error:            Cannot open "compiled/server-1007.xkm" to write 


Well this is ( or would be ) a compiled map for display :1007, used rather 
than the default . . .

Does /var/lib/xkb/compiled/ exist ?? Is it mounted ro ?? Is something else 
using it ( shouldn't be two display :1007s )??

root should be able to write anywhere !!


Note X uses the trick of deleteing the file after reading it, so don't 
expect to find compiled files everywhere


However, X should fall back to a default map, so check what you have set 
as the default in /etc/X11/xorg.conf cos if that doesn't work with a 
pc105/US ( or whatever you have ) you will get the same result ( root 
could be using a different xorg.xonf )


> keyboard description
> >                   Exiting
> Unable to initialize XFixes extension.


In my view, this is not a FreeNX issue.


If I were you, I'd check if your default keyboard is different from your 
actual keyboard, patch up to date, and then if that doesn't fix it, hit 
your distro's knowledge base.

There might be a bug in your xkbdcomp, ( would be my guess ) but I'm not 
really into deep magic !!!

Let us know how you get on tho' !!

> 
> 
> do those matter?
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090927/27bb1c62/attachment.html>


More information about the FreeNX-kNX mailing list