VirtualBox

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#16027 closed defect (invalid)

Resizing problem with linux guests -> missing xrandr tool on guest

Reported by: deisler Owned by:
Component: guest additions/x11/graphics Version: VirtualBox 5.1.6
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

Hello.

I have on host OS Windows 10 64 bit Virtualbox 5.1.6 r110634 build. Guest's OS is Debian 8.5 minimal install with lightdm and openbox. Resize resolution isn't work.

I have installed and enabled VBoxGuestAdditions-5.1.6 in guest also.

Attachments (2)

Vbox.log (82.5 KB ) - added by deisler 8 years ago.
Xorg.0.log (24.1 KB ) - added by deisler 8 years ago.

Download all attachments as: .zip

Change History (13)

by deisler, 8 years ago

Attachment: Vbox.log added

by deisler, 8 years ago

Attachment: Xorg.0.log added

comment:1 by Michael Thayer, 8 years ago

A couple of things to check.

Is VBoxClient --display running in the guest? Normally this is started by your desktop environment, but I am not sure if this will happen with a minimal set-up unless you set it up yourself.

Is automatic resizing disabled in the machine window on the host? Sounds silly, but it does happen.

in reply to:  1 comment:2 by deisler, 8 years ago

Replying to michael:

A couple of things to check.

Is VBoxClient --display running in the guest? Normally this is started by your desktop environment, but I am not sure if this will happen with a minimal set-up unless you set it up yourself.

This command has exit code is 0 in desktop enviroment.

Is automatic resizing disabled in the machine window on the host? Sounds silly, but it does happen.

Automatic resizing is enabled.

I does 2 tests: In minumal install debian resize isn't work. In default install debian resize is work.

It may be lacking a library?

comment:3 by deisler, 8 years ago

For work resize resolution should been command xrand.

She is include in package x11-xserver-utils.

Thanks!

comment:4 by Michael Thayer, 8 years ago

Sounds like that should be made more obvious then.

comment:5 by Michael Thayer, 8 years ago

Resolution: invalid
Status: newclosed
Summary: Resizing problem with linux guestsResizing problem with linux guests -> missing xrandr tool on guest

Actually we use notify-send to send an error message. But on a minimal desktop you will not have that either. I will add code to print the message using xmessage in that case, and to print it to the console if that fails too. This will not go to the 5.1 series though, as you are the first person to have this problem.

Thanks for the effective debugging!

comment:6 by deisler, 8 years ago

May be good wiil log in syslog or Xorg.log or VBoxGuestAdditions.log?

comment:7 by Michael Thayer, 8 years ago

I hope that my change should work for your minimal desktop case too. Please give development snapshot Additions build (just the Additions) revision 111149 or later a try from the test builds page<1>. The Additions do not contain that many changes compared to the 5.1 releases. That does not apply to the other development snapshot builds though.

<1> https://www.virtualbox.org/wiki/Testbuilds

comment:8 by deisler, 8 years ago

I tested it and got warning 2 messages about xrdb and xrandr utility, it is cool! =)

Merge to upstream, please.

Thanks!

Last edited 8 years ago by deisler (previous) (diff)

comment:9 by deisler, 8 years ago

Without installed VBoxAdditions I got message "xrdb command not found". This behavior is required when additional is not installed?

comment:10 by Michael Thayer, 8 years ago

Now you have got me confused. Do you get the message about xrdb in a pop-up window? I was expecting a message about xrandr. And how does that happen without installing the Additions?

comment:11 by deisler, 8 years ago

After tests I uninstalled Additions over /opt/Add.../uninstall.sh script. I am checked that additional was deleted. After system reboot and log in to enviroment I got popup message "...xrdb command not found...". I am checked that additional was deleted again successfully. And then I did not receive messages anymore.

I don't understand why i got this message after successfully uninstall Additional and reboot system.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette