Ctrl+Alt+BackSpace don't kill Xserver

Hello,
I have installed OpenMandriva Lx 4.2 in a VirtualBox.
in Plasma-Desktop → Systemeinstellungen → Eingabegeräte → Tastatur → Erweitert → x Tastenkombination zum erzwungenen Beenden des X-Servers
x Strg+Alt+Löschtaste
and in Autostart:

$ cat ~/.config/autostart/xserver-terminate.desktop
[Desktop Entry]
Comment[de_DE]=Xserver terminate
Comment=Xserver terminates
Exec=setxkbmap -option terminate:ctrl_alt_bksp
GenericName[de_DE]=Xserver terminate
GenericName=Xserver terminate
Icon=system-run
Name[de_DE]=Xserver terminate
Name=Xserver terminate
StartupNotify=true
Terminal=false
Type=Application
X-KDE-SubstituteUID=false

But in VirtualBox → Eingabe → Einfügen → Ctrl-Alt-BackSpace
no effect.
Also rightCtrl + BackSpace no effekt.

How can I repair that?

with regards
Ch. Hanisch

First im my Lx 4.2 VBox VM’s Right Ctrl+backspace to kill desktop is working. I believe to have this enabled is default setting in OM Lx.

Is your VBox VM a fresh install or a distro upgrade form Lx 4.1?

This from KDE User Wiki might help.

My VBox VM OpenMandriva Lx 4.2 is a Upgrade from Lx 4.1
What mean that?

The problem is also in OpenMandriva Lx 4.1!

with regards
Ch. Hanisch

Because we need to know whether your operating system was a fresh install or a distribution upgrade from and older version. Some problems might be old files left over from the previous version. A fresh install would not have this.

My memory is not the best. But as I recall this was the default setting in Lx 4.1 and was changed at the request of users for Lx 4.2. So I was wondering if the problem is a file left over from Lx 4.1.

A fresh install is always preferred. However we have many users that did this distro upgrade successfully.

Could you run this and upload the file created in your home directory here:

$ cat /etc/sddm.conf > /home/uname/sddm.conf.txt

Where you replace uname with your actual user name. This creates the file sddm.conf.txt in your home directory which you can upload here.

Hello,
in Plasma(Wayland) works the killing X-server well,
In Plasma and in LXQt don’t work.
Here the ~/sddm.conf.txt:

[Autologin]
Relogin=false
Session=plasma

[General]
HaltCommand=/bin/systemctl poweroff
Numlock=none
RebootCommand=/bin/systemctl reboot
InputMethod=

[Theme]
Current=breeze
CursorTheme=breeze_cursors
DisableAvatarsThreshold=7
FacesDir=/usr/share/faces
ThemeDir=/usr/share/sddm/themes
EnableAvatars=True

[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
HideShells=/sbin/nologin,/bin/false,/usr/sbin/nologin
HideUsers=root
MaximumUid=60000
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=false

[X11]
DisplayCommand=/usr/share/X11/xdm/Xsetup_0
MinimumVT=1
ServerPath=/usr/bin/X
XephyrPath=/usr/bin/Xephyr
SessionCommand=/usr/share/X11/xdm/Xsession
SessionDir=/usr/share/xsessions
XauthPath=/usr/bin/xauth
ServerArguments=
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
EnableHiDPI=false

[Wayland]
SessionDir=/usr/share/wayland-sessions
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionLogFile=.local/share/sddm/wayland-session.log
EnableHiDPI=false

In Plasma(Wayland) the Keyboard is not in German, instead in English.

with regards
Ch. Hanisch

Did you ever do this:

Also remember you are in VirtualBox. VirtualBox is a great tool but not everything works as well or the same as it does on hardware. I find in VBox I have to press Ctrl>Backspace multiple times for it to work.

If I were you and still encounter so many problems I would do a fresh install.

@Hanisch in VirtualBox try: rightCtrl + BackSpace key pressed quickly twice

Hello,

Thank you, this was the answer!

with regards
Ch. Hanisch

Hello,

Systemeinstellungen → Eingabegeräte → Tastatur → Belegung → x “Selbst bei nur einer Belegung anzeigen”
After Logou/Login the Keyboard is again in English.

I think, that is a Bug in Wayland.

with regards
Ch. Hanisch