This is a patch in debian that is very nice and would be nice to have in Gentoo as well. What it does is to prompt for the username and password on the command line instead of popping up an X dialog that very often does not even have the focus.
Created attachment 204731 [details, diff] vnc-4.1.3-tty-password.patch The patch taken from the debian package. I had to fix a few trivial conflicts when applying it to net-misc/vnc-4.1.3-r2 but it was overall a clean patch and does the job. Note that the old behaviour can be restored by passing the -xdialog parameter on the command line.
Created attachment 204733 [details, diff] vnc-4.1.3-r2.patch A patch for the current ebuild to apply the patch in attachment 204731 [details, diff].
Created attachment 210392 [details, diff] tigervnc-1.0.0-tty-password.patch Attaching a patch for tigervnc-1.0.0-r1. I see that this is a better maintained port of vnc.
Please submit this upstream
net-misc/vnc is gone.