Plasma a a systemwide environment (Mageia 9)

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Plasma a a systemwide environment (Mageia 9)

Postby cogidis » Sep 5th, '24, 13:59

Hello,

I chose a runlevel 3 on purpose, and when I type
Code: Select all
startx
, it starts a minimal dekstop environment that looks like xfce, although xfce-task is not installed.

I run
Code: Select all
startx startkde
, it starts plasma without any problem.

The same, obviously with
Code: Select all
alias startx="/usr/bin/startx startkde"
in /etc/profile.

It also works, user by user with a .xinitrc :

Code: Select all
echo "exec startkde">~/.xinitrc


But what is the normal procedure to choose plasma as a system wide environment ? I tried :
Code: Select all
DESKTOP=KDE
DISPLAYMANAGER=sddm

in /etc/sysconfig/desktop, but it does not help at all.

Thanks for your help !
cogidis
 
Posts: 4
Joined: Jul 11th, '24, 18:52

Re: Plasma a a systemwide environment (Mageia 9)

Postby doktor5000 » Sep 5th, '24, 16:36

Hi there, startx is deprecated and should not be used anymore.

Also, the desktop session is not called KDE anymore but Plasma, have a look at the respective xsession files.
Normally in the display manager the most recently selected session is used. Depending on the display manager you can also configure the default session. Check /etc/sddm.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18041
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Plasma a a systemwide environment (Mageia 9)

Postby cogidis » Sep 5th, '24, 18:17

Hallo Doktor5000 !

Thanks for your answer.

If startx is deprecated, what is it replaced by ? It is is a server that boots without a graphical environment. I do not want to type "init 5" either, I would like to remain in runlever 3 an whenever needed, to launch X with Plasma.

So I am not sure that /etc/sddm.conf will help a lot, sddm is used in runlevel 5 if I am not mistaken. Here it is anyway :

Code: Select all
InputMethod=

[Users]
HideShells=/sbin/nologin,/bin/false,/usr/sbin/nologin,/bin/true
HideUsers=mysql,apache,mldonkey
RememberLastSession=true
RememberLastUser=true



In /etc/sysconfig/desktop, if I change "KDE" by "plasma" or "PLASMA", the behaviour is the same.

Here is the content of /usr/share/xsessions :

Code: Select all
-rw-r--r--   1 root root  3222 juin  10 17:32 01plasma.desktop
-rw-r--r--   1 root root  1378 mai   18  2023 icewm.desktop
-rw-r--r--   1 root root  3333 mai   18  2023 icewm-session.desktop


After all, there was icewin left, and not xfce ! I uninstalled it but the situation remains the same. Any ideas ?
Last edited by doktor5000 on Sep 5th, '24, 19:32, edited 1 time in total.
Reason: added code tags
cogidis
 
Posts: 4
Joined: Jul 11th, '24, 18:52

Re: Plasma a a systemwide environment (Mageia 9)

Postby doktor5000 » Sep 5th, '24, 19:36

cogidis wrote:sddm is used in runlevel 5 if I am not mistaken.

sddm will switch you to runlevel 5
Code: Select all
systemctl start sddm

Also once you run X you're not in runlevel 3 anymore
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18041
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest