I installed Virtualbox, it asked me to add me to the vboxusers group, using Yast /Security and Users / User and Group management . After entering the password, yast applications were closed (only YaST software and bootloader worked, but on ncurses). On the advice from the forum, I installed patterns-openSUSE-kde_yast and patterns-openSUSE-x11_yast . Now I have a new problem, after entering the password, the error Authorization required, but no authorization protocol specified pops up, the any yast program just closes…
That happens when your user doesn’t have access to the authorization cookie needed to access the display server or the path to the cookie is not set in the environment variables.
This is usually done by the display manager on login, or pam_systemd I think.
Check the contents of printenv | grep -i auth
I wrote a command and got:
How to access cookies - I have no idea…
Now I am waiting for the following instructions!)
YaST Users had a problem recently, that appears to have been fixed by the latest update.
Please see the following thread and the bug report at the end: https://forums.opensuse.org/t/cant-start-user-and-group-management-in-yast2/172697/6
A “zypper dup” should fix the yast user problem, at least that is what I see with the English localization.
hip@192 ~ l /run/user/*/
итого 4,0K
drwx------ 10 hip hip 380 мар 11 21:35 .
drwxr-xr-x 3 root root 60 мар 11 21:35 ..
drwx------ 2 hip hip 60 мар 11 21:34 at-spi
srw-rw-rw- 1 hip hip 0 мар 11 21:34 bus
drwx------ 3 hip hip 60 мар 11 21:34 dbus-1
drwx------ 2 hip hip 60 мар 11 21:34 dconf
dr-x------ 2 hip hip 0 янв 1 1970 doc
dr-x------ 2 hip hip 0 мар 11 21:34 gvfs
drwx------ 2 hip hip 40 мар 11 21:34 gvfsd
srw-rw-rw- 1 hip hip 0 мар 11 21:34 pipewire-0
-rw-r----- 1 hip hip 0 мар 11 21:34 pipewire-0.lock
srw-rw-rw- 1 hip hip 0 мар 11 21:34 pipewire-0-manager
-rw-r----- 1 hip hip 0 мар 11 21:34 pipewire-0-manager.lock
drwx------ 2 hip hip 80 мар 11 21:34 pulse
-rw------- 1 hip hip 4 мар 11 21:35 rofi.pid
srwxr-xr-x 1 hip hip 0 мар 11 21:34 swww.socket
drwxr-xr-x 6 hip hip 160 мар 11 21:34 systemd
srwxr-xr-x 1 hip hip 0 мар 11 21:34 wayland-1
-rw-r----- 1 hip hip 0 мар 11 21:34 wayland-1.lock
What are we writing about? I see no such patterns on a standard configured Tumbleweed, but I do see, for instance:
patterns-yast-x11_yast
patterns-kde-kde_yast
I see:
LT-B:~ # zypper info -t pattern x11_enhanced
Loading repository data...
Reading installed packages...
Information for pattern x11_enhanced:
-------------------------------------
Repository : Main Repository (OSS)
Name : x11_enhanced
Version : 20200505-47.1
Arch : x86_64
Vendor : openSUSE
Installed : Yes (automatically)
Visible to User : No
Summary : X Window System
...
That it is a pattern not normally visible to the user and that recommends a ton of software among which Firefox, Chromium, ungoogled-Cromium (!), Seamonkey …
My feeling is that by starting down a non-standard route and following non-standard advice the OP is making things more complicated than it needs to be.
That might be good if you are an experienced user that knows what he/she is doing, but discourages other users from offering help about a system with a configuration nobody knows for sure.
OP is missing xwayland and other X11 stuff. If they don’t want the recommended packages, perhaps they could use the --no-recommends option. Although I do acknowledge your point about x11_enhanced not being the best way to go about it.
Perhaps a better option would be to install the following patterns as I see they’re installed on my default Gnome install:
x11
x11_yast
Tagging @hui as they know better about packages than I do.
A better option would be to start at the beginning and understand what happens before installing random software. The first obvious question is what desktop environment is in use. The output of
OP is using Hyprland, installed using a popular script on Github.
They do need X11 and wayland compatibility layer xwayland for older apps like Yast to work. My only doubt is how to best get all those required dependencies as I’m new to OpenSuse myself and yast installer with Gnome DE chosen took care of the installation part for me!
Now that I look at it, my system has quite a few popular apps still using X11 (of course through Xwayland as I’m on Gnome wayland session):
Not your fault, this thread was spun off of another thread.
The script uses the standard repos IIRC, but installs all the extra stuff needed to get the basic hyprland WM into a usable DE.
Probably the best way
My concern is that some of the “required” dependencies won’t be installed.
Zypper and APT for example have different definitions of what’s required. Zypper considers only the barest minimum required while APT for example considers it in a broader sense. For example, if I installed virt-manager on a new system, zypper would just install it and virt-viewer and some other minimal dependencies leaving the rest to be configured on my own, while APT would’ve pulled down everything required for VMs to work. Of course I’m not complaining as Yast has a completely automated setup for configuring VMs, though I miss the install something and it would just magically work aspect.
If a package does not indicate dependencies required for this package to work, it is packaging bug and must be reported.
You asked to install management application and you are surprised that you got management application?
Yes, and Debian also automatically enables every systemd service in every package that you installed. It does not mean that it is necessary a good thing.
You do not need to run VM on the local system to use VM manager to manage VM on other hosts on your network. You expect package manager to read your mind and second guess that you install VM manager because you wanted to run VM on the local host?
To run VM on the local host there is kvm_server pattern and to install management tools to manage VM on the local host there is kvm_tools pattern.
Fair point, it makes sense. I’m just a hobbyist VM user
I’m used to it coming from Debian. It’s the magic I was talking about, everything just works. For an advanced user, they can of course pass in the --no-install-recommends flag to avoid pulling in all the unnecessary packages.
Circling back to @Hippoid 's issue (not having access to XServer from Wayland session), do you reckon installing just the xwayland package would solve their problem or would it require a pattern or two?
I already have xwayland installed with the standard Hyprland installer from JaKooLit’s config for openSUSE Tumblweed…
hip@192 ~ sudo zypper install xwayland
[sudo] пароль для root:
Загрузка данных о репозиториях...
Чтение установленных пакетов...
"xwayland" уже установлен.
Нет кандидатов на обновление "xwayland-23.2.4-2.1.x86_64". Самая последняя версия уже установлена.
Разрешение зависимостей пакетов...
Нечего выполнять.
hip@192 ~
So, how do I solve my problem with running yast programs?
Something needs to start it. That is normaly done by the session startup scripts/commands because it needs exporting of DISPLAY, XAUTHORITY etc to all session processes and it also has to be made available to systemd user instance. Session startup is specific to desktop environments. You probably have better luck asking on Hyprland support channels.