You are not logged in.

#1 2018-02-09 16:04:51

jemin
Member
Registered: 2018-02-07
Posts: 21

Arch as guest in VirtualBox; DPI always 96x96

Latest VirutalBox and updated Arch.

Out of box (no configs for xorg), dwm window manager started from console with

startx

.xinitrc contains:

VBoxClient-all
[[ -f ~/.Xresources ]] ~}) && xrdb -merge -I$HOME ~/.Xresources
exec dwm

.Xresources is empty

Checking resolutions on Dell U2515HX with:

 $ xdpyinfo | grep -B2 resolution 

shows:

screen #0
  dimension: 2000x1056 pixels (524x277 millimetres)
  resolutions: 96x96 dots per inch

The physical screen size is being identified correctly (actual size is 553x311 and 2560 x 1440 native resolution, the diff due to non-full screen).
But resolution is not correct. Native DPI 117.49.

The host runs on Mac OSX, with three monitors: Dell U2515HX, Dell U2412M (1200x1920 native), and MacBook Pro 13 inch screen.

Moving guest screen to another monitor, and running xdpyinfo, shows correct dimensions, but still 96x96 resolutions.

How do I achieve higher DPI?

Last edited by jemin (2018-02-09 16:19:35)

Offline

Board footer

Powered by FluxBB