For those like me who need to customize screen resolution to something like 980x715 in order to use as much space as it's available on the physical screen but don't want to see scrollbars, here's what to do.
Open (as root) X11 config file (which is /etc/X11/xorg.conf in some distributions) and add a ModeLine under Monitor section, VMWare identifier with a line like this:
ModeLine "WxH" 100 W A B C H X Y Z
W = desired width
H = desire height
A = (W/100 + 1) x 100
B = (W/100 + 2) x 100
C = (W/100 + 3) x 100
X = (H/100 + 1) x 100
Y = (H/100 + 2) x 100
Z = (H/100 + 3) x 100
where / is integer division. Eg, if W = 1234, W/100 = 12.
Take a concrete example, I need 980x715, so my ModeLine should read:
ModeLine "980x715" 100 980 1000 1100 1200 715 800 900 1000
Save the config file and restart X and now it's possible to choose such resolution inside a session.
Cf: In KB, there's already an article :
but we also needs to specify color depth.