Find the answer to your Linux question:
Results 1 to 7 of 7
Hi folks, host - Ubuntu 10.01 guest (VM) - ubuntu 10.01 Sun VirtualBox - virtualizer How can I change screen resolution? $ locate xorg.conf Code: /usr/lib/X11/xorg.conf.d /usr/lib/X11/xorg.conf.d/05-evdev.conf /usr/lib/X11/xorg.conf.d/10-synaptics.conf /usr/lib/X11/xorg.conf.d/10-vmmouse.conf /usr/lib/X11/xorg.conf.d/10-wacom.conf ...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    [SOLVED] How to change monitor resolution

    Hi folks,

    host - Ubuntu 10.01
    guest (VM) - ubuntu 10.01
    Sun VirtualBox - virtualizer

    How can I change screen resolution?

    $ locate xorg.conf
    Code:
    /usr/lib/X11/xorg.conf.d
    /usr/lib/X11/xorg.conf.d/05-evdev.conf
    /usr/lib/X11/xorg.conf.d/10-synaptics.conf
    /usr/lib/X11/xorg.conf.d/10-vmmouse.conf
    /usr/lib/X11/xorg.conf.d/10-wacom.conf
    /usr/share/man/man5/xorg.conf.5.gz
    xorg.conf doesn't existing

    System -> Preferences -> Monitor
    800x600 max.

    Thanks

    B.R.
    satimis

  2. #2
    Just Joined!
    Join Date
    May 2010
    Posts
    30
    the xorg.conf is in /etc/X11

  3. #3
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    Quote Originally Posted by satimis View Post
    Hi folks,

    host - Ubuntu 10.01
    guest (VM) - ubuntu 10.01
    Sun VirtualBox - virtualizer

    How can I change screen resolution?
    [...]
    xorg.conf doesn't existing
    You just create a /etc/X11/xorg.org file. X will use it.

    May also want to take a look at xrandr command.

    Regards
    Luis

  4. #4
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by kados View Post
    the xorg.conf is in /etc/X11
    $ ls /etc/X11
    Code:
    app-defaults             fonts    xinit     Xresources  Xsession.options
    cursors                  rgb.txt  Xreset    Xsession    XvMCConfig
    default-display-manager  X        Xreset.d  Xsession.d  Xwrapper.config
    It is NOT there

    satimis

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by ptkobe View Post
    You just create a /etc/X11/xorg.org file. X will use it.
    Hi Luis


    I don't need it. Only for this occasion.

    A further question which file will Ubuntu 10.04 use if without xorg.conf?


    May also want to take a look at xrandr command.
    Whether you meant;

    How change display resolution settings using xrandr|Ubuntu Geek

    B.R.
    satimis

  6. #6
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    Quote Originally Posted by satimis View Post
    A further question which file will Ubuntu 10.04 use if without xorg.conf?
    X now detects and configure (or tries to) your hardware every time it runs.
    So if it is successful, there's no need for the xorg conf file.
    it's not only on ubuntu, I believe.

    About xrandr, that's it. xrandr is the relatively recent xorg tool to change configuration on the fly, after X is already running

    Start by typing
    $ xrandr
    and if you see the resolutions you want, see man xrandr and go from there. If it is just "for this occasion", it may be the tool. But, of course, you'll have to learn it.

    Regards
    Luis

    PS/EDIT: if you install ati or nvidia proprietary drivers, they will create a xorg.conf file.

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    Solved

    Hi folks,

    Solution found as follow (nothing to do with Ubuntu);

    On host
    Applications -> System Tools -> Sun VirtualBox

    highlight the VM (Ubuntu 10.04)

    Settings -> Storage -> Attributes
    CD/DVD Device: VBoxGuestAddition.ISO

    Boot up the VM.

    After login. On console;

    $ cd /cdrom
    $ sudo ./VBoxLinuxAdditions_amd64.run

    $ sudo nano /etc/X11/xorg.conf
    to create an empty file. Put following lines on it
    Code:
    Section "Device"
    Identifier "VirtualBox Video Card"
    Driver "vboxvideo"
    EndSection
    
    Section "InputDevice"
    Identifier "VBoxMouse"
    Driver "vboxmouse"
    Option "CorePointer"
    EndSection

    then run;
    $ sudo /etc/init.d/vboxadd setup
    Code:
    Removing old VirtualBox vboxvideo kernel module ...done.
    Removing old VirtualBox vboxvfs kernel module ...done.
    Removing old VirtualBox vboxguest kernel module ...done.
    Building the VirtualBox Guest Additions kernel modules
    Building the main Guest Additions module ...done.
    Building the shared folder support module ...done.
    Building the OpenGL support module ...done.
    Doing non-kernel setup of the Guest Additions ...done.
    You should restart your guest to make sure the new modules are actually used
    Reboot the VM

    That is ALL. Screen can be resized.

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...