Page 1 of 1
[SOLVED] Calculate Linux - vboxguest installieren
Posted: Tue Apr 09, 2024 12:37 pm
by Sabaton
Hallo zusammen,
ich habe die "virtualbox-guest-additions" wie unter Gentoo installiert.
Leider geht es so noch nicht.
Code: Select all
visudo
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
ESC -> Kommandomodus
:wq -> speichern und schliessen
emerge app-emulation/virtualbox-guest-additions
rc-update add virtualbox-guest-additions
usermod -G vboxsf,vboxguest -a peter
reboot
Es kommt dabei noch eine Meldung von "/usr/share/doc/virtualbox-guest-additions-7.0.14-r2/xorg.conf.vbox"
in "/etc/X11/xorg.conf" editieren.
Hab die Meldung leider vorschnell weggeklickt.
Kann mir jemand sagen wie ich das realisieren muss um die "virtualbox-guest-additions" fertig einrichten zu können?
Mfg,
Sabaton
Posted: Tue Apr 09, 2024 4:02 pm
by Sabaton
xorg.conf.vbox
Code: Select all
Section "Device"
Identifier "Device-vboxvideo"
Driver "vboxvideo"
EndSection
Section "Screen"
Identifier "Screen-vboxvideo"
Device "Device-vboxvideo"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen-vboxvideo"
EndSection
calculate peter # cat /etc/X11/xorg.conf
Code: Select all
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.7.5.7
# Processed template files:
# /var/db/repos/calculate/profiles/templates/3_ac_install_live/1-merge/x11-base/xorg-server/X11/xorg.conf.default
# To modify this file, create a /etc/X11/xorg.conf.clt template.
#------------------------------------------------------------------------------
Section "ServerLayout"
Identifier "Xorg Configured"
Screen "Monitor"
EndSection
Section "Files"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/droid"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extension
EndSection
Section "Screen"
Identifier "Monitor"
Subsection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubsection
EndSection
Section "Extensions"
Option "Composite" "On"
EndSection
Code: Select all
calculate peter # ls -lsa /etc/X11/xorg.conf.d
insgesamt 20
4 drwxr-xr-x 2 root root 4096 9. Apr 16:44 .
4 drwxr-xr-x 5 root root 4096 9. Apr 12:57 ..
4 -rw-r--r-- 1 root root 27 17. Mär 2020 20opengl.conf
4 -rw-r--r-- 1 root root 603 9. Apr 10:58 keyboard.conf
4 -rw-r--r-- 1 root root 709 9. Apr 12:56 touchpad.conf
Wie muss ich vorgehen?
Mfg,
Sabaton
Posted: Wed Apr 10, 2024 4:45 am
by Sabaton
Die Auflösung von 1920x969 mit "xrandr" festzuzurren geht auch nicht.
Nach Neustart des Systems ist die Einstellung 1920x 969 wieder vergessen.
Code: Select all
sudo xrandr --newmode "1920x969_60.00" 154.25 1920 2040 2240 2560 969 972 982 1006 -hsync +vsync
sudo xrandr --addmode Virtual1 "1920x969_60.00"
Was mache ich falsch?
Posted: Wed Apr 10, 2024 4:38 pm
by Sabaton
Ich hab nochmal ein
Code: Select all
emerge -av app-emulation/virtualbox-guest-additions
durchlaufen lassen, hier die Meldungen:
Code: Select all
* Messages for package app-emulation/virtualbox-guest-additions-7.0.14-r2:
* use flag gui is off, enable it to install the
* X Window System video driver.
*
* Please add users to the "vboxguest" group so they can
* benefit from seamless mode, auto-resize and clipboard.
*
* The vboxsf group has been added to make automount services work.
* These services are part of the shared folders support.
*
* Please add:
* /etc/init.d/virtualbox-guest-additions
* to the default runlevel in order to start
* needed services.
* To use the VirtualBox X driver, use the following
* file as your /etc/X11/xorg.conf:
* /usr/share/doc/virtualbox-guest-additions-7.0.14-r2/xorg.conf.vbox
*
* An autostart .desktop file has been installed to start
* VBoxClient in desktop sessions.
*
* You can mount shared folders with:
* mount -t vboxsf <shared_folder_name> <mount_point>
*
* Warning:
* this ebuild is only needed if you are running gentoo
* inside a VirtualBox Virtual Machine, you don't need
* it to run VirtualBox itself.
Ich hab bei dem "make.conf"
folgendes hinzugefügt:
Danach ein "cl-update" durchgeführt.
Es wurden 26 Pakete installiert.
Nach einem Reboot habe ich aber immer noch den alten Zustand.
Ich bin echt ratlos.
Mir würde ja die Auflösung von 1920x969 schon langen, die Gasterweiterung ist nicht unbedingt nötig.
Mfg,
Sabaton
Posted: Thu Apr 11, 2024 4:22 am
by Sabaton
Ich hab jetzt mal ein Script "xrandr.sh" erstellt, das ich ausführbar gemacht habe und in
Systemeinstellungen->Starten und Beenden->Autostart->Anmeldungs-Script
hinzugefügt habe.
Code: Select all
#!/bin/bash
xrandr --newmode "1920x969_60.00" 154.25 1920 2040 2240 2560 969 972 982 1006 -hsync +vsync
xrandr --addmode Virtual1 "1920x969_60.00"
xrandr --output Virtual1 --mode "1920x969_60.00"
Leider geht es so nach dem Reboot auch nicht.
Wenn ich in der Konsole aber
Code: Select all
xrandr --newmode "1920x969_60.00" 154.25 1920 2040 2240 2560 969 972 982 1006 -hsync +vsync
xrandr --addmode Virtual1 "1920x969_60.00"
xrandr --output Virtual1 --mode "1920x969_60.00"
nacheinander eintippe funktioniert die Auflösung 1920x969 aber.
Was ist an dem Script bzw. dessen Autostart verkehrt?
MfG,
Sabaton
Posted: Thu Apr 11, 2024 6:10 am
by Sabaton
Geschafft!
Im Script hab ich ein Leerzeichen vergessen.
Code: Select all
#! /bin/bash
xrandr --newmode "1920x969_60.00" 154.25 1920 2040 2240 2560 969 972 982 1006 -hsync +vsync
xrandr --addmode Virtual1 "1920x969_60.00"
xrandr --output Virtual1 --mode "1920x969_60.00"
So funktionierts.
Mfg,
Sabaton