From owner-freebsd-questions@freebsd.org Thu Jan 3 06:55:12 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AA791419FCB for ; Thu, 3 Jan 2019 06:55:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27D608D127 for ; Thu, 3 Jan 2019 06:55:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.226.69]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1Movrq-1h6p5I4BiA-00qTCm; Thu, 03 Jan 2019 07:55:07 +0100 Date: Thu, 3 Jan 2019 07:55:06 +0100 From: Polytropon To: "Kurt Buff - GSEC, GCIH" Cc: "freebsd-questions@freebsd.org" Subject: Re: Video resolution in a VM Message-Id: <20190103075506.1b053767.freebsd@edvax.de> In-Reply-To: References: <20190102221306.1bbd6c85.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:5mxwQdzg++6nQiEd+EqmFDNo0C1Zkhju1nazpfuo5QYGcFYmeAB 4hUG9NeDHURLVearuFydathArNIx0/9Wb0lIzSSCUlh9nioBuKm20r7J+X8maJHsV5oJf01 zTC4UtqqppYO34d0OmnzPSjx/xfr9QSD+kRo7jaYyd/VXrU2FDGxVSvnmxp9oh9lg/hjufI 9qs4wdgKTuBAjJUpegP4Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Gp1Z5bUnEwQ=:Oh6xGy+YkDTYMyVNYi/pSg TiCblYOKy45r50rJxgp+j1fKu1mb0g151EgNAKTNTOvr2aP8hWoC4db93NcDq0Bn2KDlE/vFJ x6RhslotuX6ZOkXzeCUDNyusuo/d5bCISRkr1VA6aH9yVGmL2a2Y2lKk7DDdGD4lRdvIx0aTm 0x5kcgdEApJUsv2+OTw2Pb0Kk8eXrkk0TLuV4RfuZkZ5QCuMaPwR8xQqL1v9I8HNJrbjyRUnp XcTLjAjCOgZPT0svRRUqPNCH8NHxVHPi0SILbuno3aodvRNfiLlGBH4qHzAVTphsgzPHLAgD2 jnkzIq7g+jSvvqefNBWLYoiRfk7cNYlYwut8Z8trm5C6QB6ucJs7rzqAGmeD2cq7h59IR68eB wjRLcjiEw4gvySXShOE2sr8WJPDJU70xyXJEacAQCKAbEjrWVx8MTcEz8AgSPj740Tx9TpYAx IxIm0c+rqMrdI+0veyp8OTzrZFCSy6s4WAiRaQASH0ptvrTxfFFqNa8lk7Z5XMDgpRhjrRd8z ktvaSASHW6NY5uxCrAgf0xbaFm9xx5yGK2pDpvRZjHtJQ5x8CS1253dNXyIQ7k5gADcxw68SY Uk6YkNy98SvQmxV0Z7iy5VLlGH+UTF8qE32TWt1+SdVCprb4KgSQDlgGD65Wg1/yy0337DGSI RWofSei8G1U8EC221hTRIljl9Ro1Hrjg2Fnckg9CSwFYZoMENUCnYp0aFLbcix6v4DK4vNyjN rV6mBap0MpwNXFoAKQ7zfWThCYwEP1d41Q6QbkeO2rasHIyUlBnY0QCnj/4= X-Rspamd-Queue-Id: 27D608D127 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.29 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[69.226.193.92.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.71)[0.714,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.81)[0.808,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.982,0]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.40)[ip: (1.35), ipnet: 212.227.0.0/16(-0.31), asn: 8560(0.96), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 06:55:12 -0000 On Wed, 2 Jan 2019 22:38:33 -0800, Kurt Buff - GSEC, GCIH wrote: > On Wed, Jan 2, 2019 at 1:13 PM Polytropon wrote: > > [...] > > Try using xrandr to set the screen size from insie the VM. > > A command line > > > > xrandr --size 1920x1080 > > > > should work. > > Dang. Nope. > > I get the message: > "Can't open display" Are you issuing this command from within an X terminal in the X session? What does echo $DISPLAY print? You can also run the command "xrandr" without arguments to get further information. > > You can also try to use a specific X configuration fragment, > > for example /usr/local/etc/X11/xorg.conf.d/screen-resolution.conf > > with a content like this: > > > > Section "Screen" > > Identifier "Screen0" > > Device "Card0" > > SubSection "Display" > > Modes "1920x1080" > > EndSubSection > > EndSection > > No success with that just now. Also tried this, without success: > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > SubSection "Display" > Viewport 0 0 > Depth 24 > Visual "TrueColor" > Modes "1920x1080" "1280x800" > EndSubSection > EndSection There is also a setting that can be used with the section for the monitor (in your case, the LC display): Section "Monitor" Identifier "Monitor1" VendorName "Something" ModelName "Something else" Option "PreferredMode" "1920x1080" Option "Position" "0 0" EndSection This fragment could be placed in another file residing in /usr/local/etc/X11/xorg.conf.d/ to be read by X at startup. Always check /var/log/Xorg.0.log for two things: 1. What graphics driver is being used? 2. Which errors "(EE)" are reported? Maybe you can find some helpful clues there... > > You could then experiment with the setting DisplaySize (in mm) > > and the Option "DPI" (for example with "110 x 110"), depending > > on the actual properties of the hardware (!) you are using. > > A laptop display only has one sceen size and one resolution. > > Normally, X will calculate the correct information itself, > > which is usually obtained from the display, but this might not > > work as intended because of the "VM mangling"... ;-) > > Hm. I will have to look that up as well. > > Thanks for the help so far. Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...