Is there a command that can tell me which my graphic card is and its pixel-depth? I am running vncserver and I would like to learn which is the best parameter for pixeldepth (-depth).
How do I find out the pixel depth of my graphic card?
command line;x11
xdpyinfo gives you this information. A display can support multiple depths.xdpyinfo | awk '$1==depth && sub(/,$/, , $2) {print $2}'If your display consists of multiple screens, they may support multiple depths.xdpyinfo | awk '    $1==screen {screen = substr($2, 2, length($2)-2)}    $1==depths {$1=$2=; print screen, $0}'You won't get any benefit from telling VNC to use a larger value, and some applications might misbehave if VNC isn't using a value in the list.