VirtualBox

Changeset 102028 in vbox


Ignore:
Timestamp:
Nov 9, 2023 12:22:22 PM (13 months ago)
Author:
vboxsync
Message:

Additions: X11/Wayland: Installer: Detect Wayland on user graphical login and start corresponding service, bugref:10194.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/Installer/98vboxadd-xclient

    r98103 r102028  
    4141   # what we had in mind, so we do not start VBoxClient in that case.  We do
    4242   # not use "exit" here as this script is "source"d, not executed.
    43   /usr/bin/VBoxClient --clipboard
    44   /usr/bin/VBoxClient --checkhostversion
    45   /usr/bin/VBoxClient --seamless
    46   /usr/bin/VBoxClient --draganddrop
    47   /usr/bin/VBoxClient --vmsvga-session # In case VMSVGA emulation is enabled
     43
     44    # Check wheather X11 or Wayland version of VBoxClient should be started.
     45    vbox_wl_check=$(/usr/bin/vboxwl --check 2> /dev/null)
     46    if test "$vbox_wl_check" = "WL"; then
     47        /usr/bin/VBoxClient --wayland
     48    else
     49        /usr/bin/VBoxClient --clipboard
     50        /usr/bin/VBoxClient --seamless
     51        /usr/bin/VBoxClient --draganddrop
     52    fi
     53
     54    /usr/bin/VBoxClient --checkhostversion
     55    /usr/bin/VBoxClient --vmsvga-session # In case VMSVGA emulation is enabled
    4856fi
Note: See TracChangeset for help on using the changeset viewer.

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