Tu ne peux pas le faire avec l’option password???
passwordFile (option -passwd)
File from which to get the password (as generated by the vncpasswd program). Default is null,
i.e. to request password from the user.
regarde aussi du coté de [quote]X RESOURCE ACTIONS
These are the actions which you can use in X resource translations:
ShowPopup(), HidePopup()
Show and hide the popup window, respectively.
SendRFBEvent()
Send an RFB event to the VNC server. With no argument, simply sends the RFB equivalent of the X
event which caused the action. With arguments, generates either key or pointer events depending on
the arguments:
SendRFBEvent(keydown,keysym)
SendRFBEvent(keyup,keysym)
SendRFBEvent(key,keysym) (short for keydown then keyup)
SendRFBEvent(ptr,x,y,buttonMask)
SendRFBEvent(ptr,buttonMask)
where
[color=red]* keysym is the string representing an X keysym. The best way to find these is to use "xev", or
look in /usr/include/X11/keysymdef.h and strip off the "XK_".[/color]
* x and y are the position of the pointer event. If not specified, use the position of the X event
which caused the action.
* buttonMask is a bit mask representing buttons 1 to 8 with bits 0 to 7 respectively, 0 meaning up,
1 meaning down (pressed). So 0 means no buttons, 1 means button 1 pressed, 5 means buttons 1 & 3
pressed, etc.
[/quote]