Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Calculate Linux - vboxguest installieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Tue Apr 09, 2024 12:37 pm    Post subject: [SOLVED] Calculate Linux - vboxguest installieren Reply with quote

Hallo zusammen,

ich habe die "virtualbox-guest-additions" wie unter Gentoo installiert.
Leider geht es so noch nicht.

Code:

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
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Tue Apr 09, 2024 4:02 pm    Post subject: Reply with quote

xorg.conf.vbox

Code:
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:
#------------------------------------------------------------------------------
# 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:
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
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Wed Apr 10, 2024 4:45 am    Post subject: Reply with quote

Die Auflösung von 1920x969 mit "xrandr" festzuzurren geht auch nicht.
Nach Neustart des Systems ist die Einstellung 1920x 969 wieder vergessen.

Code:
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?
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Wed Apr 10, 2024 4:38 pm    Post subject: Reply with quote

Ich hab nochmal ein

Code:
emerge -av app-emulation/virtualbox-guest-additions


durchlaufen lassen, hier die Meldungen:

Code:
 * 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:
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
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Thu Apr 11, 2024 4:22 am    Post subject: Reply with quote

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:
#!/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:
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
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 190

PostPosted: Thu Apr 11, 2024 6:10 am    Post subject: Reply with quote

Geschafft!

Im Script hab ich ein Leerzeichen vergessen.
Code:
#! /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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum