SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am feeling stupid...
I found some issues about SDDM and X login process here but not mine.
Since the -current upgrade which merge Ktown or the next one, if I run init4, I can not use another WM than KDE or Xfce, because there is a menu for Xfce.
To run fluxbox, I had to boot on init3 and launched X.
First, I checked user's .xinitrc and .xsession, they still use fluxbox.
Then I checked /etc/X11/xinit and xinitrc still links to xinitrc.fluxbox. Great.
So I have almost gone crazy...
/usr/share/sddm/scripts/Xsession contains this code :
Code:
# Commented out because $HOME/.xsession may start the wrong session type or
# cause dbus-run-session to start twice.
#if [ -f "$USERXSESSION" ]; then
# . "$USERXSESSION"
#fi
Which seems to explain the whole thing, as user's .xession is not used.
As a workaround I wrote fluxbox.desktop into /usr/share/xsessions, so fluxbox session is available into SDDM menu and allows to use fluxbox as WM.
My question is : is /etc/X11/xinit/xinitrc or user's .xsession and .xinitrc useless now ?
Do I miss something else ?
Thank you
NB: this is a fresh install with -current as source.
My question is : is /etc/X11/xinit/xinitrc or user's .xsession and .xinitrc useless now ?
The thing is .xinitrc should be used with 'startx' and .xsession with 'xdm' while you have here a 'sddm' so..
Since I don't intend to use a 'sddm' then no, I don't think .xinitrc or .xsession are useless.
Arguably, if xdm can't use an .xsession then xdm is useless and must be recompiled, but that's just my point of view I guess.
As /usr/bin/gdm, /usr/sbin/gdm, /opt/kde/bin/kdm or /usr/bin/kdm doesn't exist anymore on -current, rc.4 will launch SDDM by default. That means we can't launch any other WM than KDE or Xfce as is.
To launch /usr/bin/xdm, we have to use /etc/rc.d/rc.4.local, which is another way to solve my issue.
May be willing to launch Fluxbox from SDDM make no sense.
As /usr/bin/gdm, /usr/sbin/gdm, /opt/kde/bin/kdm or /usr/bin/kdm doesn't exist anymore on -current, rc.4 will launch SDDM by default. That means we can't launch any other WM than KDE or Xfce as is.
No it does not, what evidence you have to support that claim? It only means you may have to change one line in rc.4 in the future.
However, on DW page it clearly says:
No it does not, what evidence you have to support that claim? It only means you may have to change one line in rc.4 in the future.
However, on DW page it clearly says:
I am trying to be more clear on what I meant.
I did not say that you could not launch another WM at all. I even let know 2 ways to do so. As creating /etc/rc.d/rc.4.local, which was just the line under your quote... I just meant, by default, you have to look for modification to be able to launch other WM, things you did not have to look for with KDM for example, it was there.
And the way to launch other WM are, how to say, not «easy».
- I knew /etc/rc.d/rc.4.local because I read /etc/rc.d/rc.4.
- I found out /usr/share/xsessions/fluxbox.desktop by reading scripts and config files.
- The only obvious one, not for everyone but still more well known I guess, is to boot in init3 and launch X.
After this as I said
Quote:
May be willing to launch Fluxbox from SDDM make no sense.
- I knew /etc/rc.d/rc.4.local because I read /etc/rc.d/rc.4.
Got this part, apparently in -current you have to account for upstream changes and updates to rc.4 which simply don't happen in stable release.
Over here I'd write changes directly to rc.4 because it's not the kind of thing that gets security updates or new features after the point release.
What I didn't get at first is where exactly is the problem, I mean if startx can use .xinitrc, xdm can use .xsession and sddm can use .desktop file ..
Now it's rather obvious to me that relevant .desktop file for launching fluxbox via sddm appears to be missing by default and that looks like a bug.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.