Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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 would start by backing up. Go through the install cd again, and select nothing except XFCE. Then uninstall all kde packages in runlevel 3. If your default is to boot to a DE, change the initdefault setting from 4 to 3 in /etc/inittab. If you're stuck in a DE, now you can change the setting and reboot but often 'sudo init 3' gets you out.
That's puzzling. What runlevel do you use? Do you use runlevel 4 with a displaymanager (kdm)? Are you able to choose the xfce-session when you login using kdm? Or do you use default runlevel 3 and the command startx? Did you do a full install of slackware 14.2?
You could try Salix Linux. 100% compatible with Slackware, but with several hundred extra ready-to-run programs, useful configuration tools, and Xfce as the default desktop.
I ran it already and chose XFCE but still doesn't work.
I've changed DEs/WMs many times with xwmconfig on Slackware and never had a problem. This is a shot in the dark, but did you run xwmconfig as user? If you run it as root, it will not affect user.
Otherwise, check /var/log, particularly messages and Xorg.0.log. There may be something there that sheds some light on this. Or run xwmconfig again as user and see whether it outputs any errors when you startx.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Rep:
Quote:
Originally Posted by frankbell
I've changed DEs/WMs many times with xwmconfig on Slackware and never had a problem. This is a shot in the dark, but did you run xwmconfig as user? If you run it as root, it will not affect user.....
Yes, if the user has already picked a desktop.
However, whatever desktop root picked during installation is the system wide default and anytime thereafter when root runs xwmconfig and selects a different desktop that change becomes the new default.
Last edited by cwizardone; 12-30-2017 at 08:20 PM.
However, whatever desktop root picked during installation is the system wide default and anytime thereafter when root runs xwmconfig and selects a different desktop that change becomes the new default.
Nice catch. I was thinking of running xwmconfig after installation was complete, but I don't think I've ever run xwmconfig as root once installation was complete, so I tried an experiment.
I have a VM of Slackware that I created in case I worked up the nerve to try LFS again. I started it up and logged in as root. I started X and it fired up XFCE, which I set as default upon installation.
I exited XFCE and ran xwmconfig, changed the environment to Fluxbox, then started X again. Root now had a Fluxbox interface.
I logged out as root, then logged in as user. User still had the default XFCE interface, but when user tried to log out of XFCE, it hung.
Then I crashed the VM, so I'll play with it more tomorrow.
Update, I played with it some more tonight: I got the VM going again. User still had XFCE, root still had Fluxbox, and everything seems to be functioning. So, in this case at least, running xwmconfig by itself as root does not seem to change the system default. Perhaps if you ran it from the installation "setup" script as root, it would change the system default. Anyway, it's a fun question to solve.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Rep:
Well, as previously mentioned, once root changes desktops by using xwmconfig that change becomes the default.
What I forgot to say was it does not change what an existing user has previously selected for a desktop.
Any new user will be given the default if they don't select one.
Last edited by cwizardone; 12-30-2017 at 09:37 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.