On the Solaris side, comment out everything in .vnc/xstartup, and start your server
with the -query localhost option, which will give you dtlogin screen.
I don't think Xsession was ever intended to be launched directly by a user, so its
probably same case with AIX.
BJ.
>>>>>>>>>>
> Date: Tue, 9 Jan 2001 15:20:15 -0500
> From: Shane Ludwig <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: VNC and keymapping problem
>
> Hello,
>
> I'm using VNC viewer on a PC running NT.
>
> I have 2 VNC servers, one on a Solaris box and one on an AIX box.
>
> On both of these I'm running CDE and in my .vnc/xstartup file I have
> Xsession &
>
> Whenever I connect to either of these machines and use the xmodmap command,
> it completely hoses up my key mappings. For instance, on the AIX box, the i
> key generates an e, Tab generates a 1 and Enter generates a ].
>
> On the AIX box, it's even worse as Xsession, by default, runs an xmodmap
> command to load the keymap for your particular language, in my case en_US.
> I had to go in and edit the Xsession script itself to comment out that part.
>
> I have tried 2 different keyboards (one from IBM, one from Dell) and
> experienced the same problem with both of them. My roommate who has a
> Logitech keyboard experienced the same problem when connecting from his PC
> running NT to the boxes.
>
> After editing Xsession to remove the xmodmap command, everything works fine.
> I did an xmodmap -pk to view the map. I tried this when using all the above
> keyboards and I get the same set of keycodes.
>
> Looking in the map that's normally loaded by default from Xsession, located
> in /usr/lpp/X11/defaults/xmodmap/en_US/keyboard, I see that the keycodes
> listed there map to completely different keys.
>
> I don't have this problem when connected directly on the box, only when
> going through VNC.
>
> Any ideas?
>
> Thanks.
>
>
> --
> Shane Ludwig [EMAIL PROTECTED]
> *****************************************************************************
> * La femme attend l'homme, oui, mais comme l'araignie attend la mouche. *
> *****************************************************************************
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------