Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Diskussionsforum
  • Search

[SOLVED] Calculate Linux - vboxguest installieren

Unterhaltung über Gentoo und andere Themen: Alles was nicht in ein Support-Forum gehört.
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

[SOLVED] Calculate Linux - vboxguest installieren

  • Quote

Post by Sabaton » Tue Apr 09, 2024 12:37 pm

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
Last edited by Sabaton on Thu Apr 11, 2024 6:12 am, edited 2 times in total.
Top
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

  • Quote

Post by Sabaton » Tue Apr 09, 2024 4:02 pm

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
Top
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

  • Quote

Post by Sabaton » Wed Apr 10, 2024 4:45 am

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?
Top
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

  • Quote

Post by Sabaton » Wed Apr 10, 2024 4:38 pm

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:

Code: Select all

USE="gui"
VIDEO_CARDS="vmware"
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
Top
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

  • Quote

Post by Sabaton » Thu Apr 11, 2024 4:22 am

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
Top
Sabaton
Apprentice
Apprentice
Posts: 216
Joined: Sat Mar 02, 2019 8:48 am

  • Quote

Post by Sabaton » Thu Apr 11, 2024 6:10 am

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
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Diskussionsforum”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy