[vbox-dev] Guest Additions udev rule to fix console font

Sérgio Basto sergio at serjux.com
Thu Jul 14 00:17:04 GMT 2016


On Ter, 2016-07-05 at 20:07 +0500, Evgeniy Isaev wrote:
> 01.07.2016 23:03, Sérgio Basto пишет:
> > 
> > On Sex, 2016-07-01 at 09:28 +0000, Evgeniy Isaev wrote:
> > > 
> > > In Ubuntu execution of rule /lib/udev/rules.d/85-keyboard-
> > > configuration.rules 
> > > and loading kernel module vboxvideo occur independently and
> > > consistency is 
> > > not guaranteed. As a result, font on the consoles set randomly
> > > from
> > > video 
> > > bios or user defined. To avoid this, you must set up the consoles
> > > after 
> > > loading the module. This can be done by adding simple rule to  
> > > /etc/udev/rules.d/60-vboxadd.rules:
> > > 
> > > SUBSYSTEM=="graphics", ATTR{name}=="vboxdrmfb", RUN+="console-
> > > setup-
> > > tty 
> > > fbcon"
> > The correct location, IMO, is /usr/lib/udev/rules.d/  
> > #cat /usr/lib/udev/rules.d/60-vboxguest.rules 
> > 
> > ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc",
> > OWNER="root",
> > MODE="0600"
> > ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root",
> > MODE="0666"
> > 
> > I just have this in 60-vboxguest.rules , is for guest system isn't
> > it
> > ? 
> > 
> > Best regards,
> > -- 
> > Sérgio M. B.
> > 
> > 
> I have this in /etc/udev/rules.d/60-vboxadd.rules on guests:
> KERNEL=="vboxguest", NAME="vboxguest", OWNER="vboxadd", MODE="0660"
> KERNEL=="vboxuser", NAME="vboxuser", OWNER="vboxadd", MODE="0666"
> 
> Maybe it depends on the version of VirtualBox?

Sorry for late reply ,  I try use same version of upstream , maybe my
file is outdated , ./src/VBox/Installer/linux/installer-common.sh
generates some of these files. But I also have 
VirtualBox-guest-additions-5.0.24-1.fc24.x86_64.rpm (I think Oracle
just do rpms for hosts) and need a plain text file of 60-vboxadd.rules
I will try update it soon .


-- 
Sérgio M. B.





More information about the vbox-dev mailing list