Actions

Higher Screen Resolution without VirtualBox Guest Additions

From Whonix

< VirtualBox(Redirected from Higher Screen Resolution)



Anaglyph-102548640.jpg

Introduction[edit]

Info This procedure is experimental and has not been widely tested.

This procedure is an alternative to using VirtualBox Guest Additions for a higher screen resolution. See also: Security Considerations.

Before attempting this procedure it is recommended to have a recent backup in case problems are encountered. However, it should be possible to undo these changes.

Higher Screen Resolution without VirtualBox Guest Additions[edit]

To achieve a higher screen resolution without installing VirtualBox guest additions, complete the following steps.

1. Create a relevant configuration file.

For example, create a file called /etc/X11/xorg.conf.d/00-virtualbox-monitor.conf.

Create the directory if it does not already exist.

sudo mkdir -p /etc/X11/xorg.conf.d

2. Open the configuration file in an editor with root rights.

sudoedit /etc/X11/xorg.conf.d/00-virtualbox-monitor.conf

3. Add the following contents.

Section "Device"
  Identifier "VirtualBox-Device"
  Option "Monitor-default" "VirtualBox-Monitor"
EndSection

Section "Monitor"
  Identifier "VirtualBox-Monitor"
  VendorName "VirtualBox"
  ModelName "VirtualBox"
  HorizSync 1.0 - 1000.0
  VertRefresh 1.0 - 1000.0
  Option "MinClock" "1.0"
  Option "MaxClock" "10000.0"
  Option "Primary" "True"
  Option "PreferredMode" "1600x1200"
EndSection

Section "Screen"
  Identifier "MyScreen"
  Device "VirtualBox-Device"
  Monitor "VirtualBox-Monitor"
EndSection

4. Run restart lightdm [1] or reboot.

Whonix ™ will now be set to 1600x1200 mode by default.

5. Optional: Change the default resolution mode.

If a default resolution mode other than 1600x1200 is preferred, then change the "PreferredMode" option in the "Monitor" section.

It is possible to dynamically switch modes from the command line with "xrandr --output default --mode [resolution value]". To view a list of available modes, run "xrandr".

6. Optional: Change the screen resolution using the KDE graphical user interface.

  • Start MenuSystem SettingsDisplay and Monitor.

If the preferred screen resolution is not listed (e.g. 1440x900), try running this command on the host.

vboxmanage setextradata "VM Name" "CustomVideoMode1" "1440x900x32"

If the Start Menu button is not visible (because it is outside the screen), then start Konsole and manually start System Settings by running systemsettings.

Ubuntu[edit]

Info This procedure was recommended for an earlier version of Ubuntu (14.04). Functionality in later versions has not been confirmed (e.g. Ubuntu 20.04).

If Ubuntu has a screen resolution of 640x480, it may be possible to achieve 1024x768 by:

  1. Running xdiagnose.
  2. Changing any setting under Debug -- marking them all or unmarking "Enable automatic crash reporting" were previously reported to work.
  3. Reboot.

Security Considerations[edit]

Follow these steps to minimize anonymity threats:

  • To prevent fingerprinting it is safest to not maximize the Tor Browser window. [2] [3]
  • To prevent accidentally maximizing a window, it is recommended to deactivate the following option: KDESystem SettingsScreen EdgesUncheck: Maximize Windows by dragging them to the top of the screen.
  • It might also be safer to not use the same screen resolution as the host.

Troubleshooting[edit]

If this procedure does not work or you want to revert the changes, delete /etc/X11/xorg.conf.d/00-virtualbox-monitor.conf.

sudo rm /etc/X11/xorg.conf.d/00-virtualbox-monitor.conf

Next, run restart lightdm [1] or reboot.

Technical Information[edit]

EDID[edit]

An anonymous user stated:

The reason you can't just get higher resolutions using xrandr "--newmode" and "--addmode" without an xorg.conf file appears to be that VirtualBox is not providing EDID information to the default VESA driver. The driver therefore makes the conservative assumption that it can't drive the "monitor" with the high clock rates needed for larger display sizes. The above config file tells the driver that it can use an effectively infinite range of clock rates.

Also see: VirtualBox get-edid output.

How to use xserver-xorg-video-modesetting?[edit]

Questions directed to the maintainers of the xserver-xorg-video-modesetting [archive] package and the debian-user mailing list [archive] went unanswered.

Interested readers might find the following resources helpful:

Footnotes[edit]

  1. 1.0 1.1
    sudo service lightdm stop

    sudo service lightdm start

  2. https://trac.torproject.org/projects/tor/ticket/7255 [archive]
  3. https://trac.torproject.org/projects/tor/ticket/14429 [archive]


text=Jobs in USA
Jobs in USA


Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Iconfinder news 18421.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg Reddit.jpg Diaspora.png Gnusocial.png Mewe.png 500px-Tumblr Wordmark.svg.png Iconfinder youtube 317714.png 200px-Minds logo.svg.png 200px-Mastodon Logotype (Simple).svg.png 200px-LinkedIn Logo 2013.svg.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png United Federation of Planets 1000px.png

Share: Twitter | Facebook

Love Whonix and want to help spread the word? You can start by telling your friends or posting news [archive] about Whonix on your website, blog or social media.

https link onion link

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.

Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.