LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-04-2022, 02:14 PM   #1
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Rep: Reputation: 56
[Solved] Issue choosing desktop?


While I was installing 15.0, I selected the xfce desktop. After the install was finished, I changed /etc/inittab to 4:

Code:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:.
Reboot the system and then KDE plasma greeted me with a login.

I opened up a terminal and ran xwmconfig and it's defaulting to xinitrc.xfce. Something is not right here.

Anyone else notice that?

see attached. This was taken after running xwmconfig from konsole.

New Note:

In my home directory, the file: .xinitrc has at the bottom of the file:

Code:
###################################################
##  Start xfce Desktop Environment               ##
###################################################

exec /usr/bin/startxfce4
Attached Thumbnails
Click image for larger version

Name:	xfce.jpg
Views:	71
Size:	68.8 KB
ID:	38274  

Last edited by bassplayer69; 02-05-2022 at 10:56 AM.
 
Old 02-04-2022, 03:10 PM   #2
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 797

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
'xwmconfig' sets the desktop environment for when you run 'startx' from runlevel 3. It also sets the desktop that is launched when you use the 'xdm' display manager from runlevel 4.

If you did a full install of 15 then chances are that you were greeted with the 'sddm' display manager. You can just select the desktop environment with the dropdown menu on the sddm screen. sddm does not use the settings from 'xwmconfig'
 
2 members found this post helpful.
Old 02-04-2022, 03:59 PM   #3
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by 0XBF View Post
'xwmconfig' sets the desktop environment for when you run 'startx' from runlevel 3. It also sets the desktop that is launched when you use the 'xdm' display manager from runlevel 4.

If you did a full install of 15 then chances are that you were greeted with the 'sddm' display manager. You can just select the desktop environment with the dropdown menu on the sddm screen. sddm does not use the settings from 'xwmconfig'

Thanks for the explanation. Just curious why I have to manually set the display manager after selecting xfce from the install. Don't recall having to do that with previous versions of slackware. Thanks again!
 
Old 02-04-2022, 04:02 PM   #4
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
and from the sddm login screen you have an "Xfce session" choice as well as an "Xsession default" choice.
the later will follow what you selected via xwmconfig.

unable to get into fluxbox until i realized i didn't need any .xinitrc & such but running xwmconfig & selecting "Xsession default" from the sddm login screen was enough.
 
1 members found this post helpful.
Old 02-04-2022, 05:47 PM   #5
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
So, the only other selection I have on the plasama login screen is: Plasma (Full Wayland) (Wayland)

When I click the V (down arrow triangle) nothing happens after the Wayland option is selected. See attached.
Attached Thumbnails
Click image for larger version

Name:	plasma-login-screen.jpg
Views:	65
Size:	19.0 KB
ID:	38275  
 
Old 02-04-2022, 05:57 PM   #6
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
If you want to have the other WM included with Slackware added to the sddm dropdown menu:

Fluxbox for example:

Go to /usr/share/xsessions

Create a text file (as root) fluxbox.desktop

Code:
[Desktop Entry]
Comment=Use this session to run Fluxbox as your desktop environment
Exec=/usr/bin/fluxbox
Name=Fluxbox
Type=Application
You can do this for all the WM included with Slackware:

Fluxbox
Blackbox
wmaker
fvwm2
twm
mwm
 
Old 02-04-2022, 08:30 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by bassplayer69 View Post
Just curious why I have to manually set the display manager after selecting xfce from the install. Don't recall having to do that with previous versions of slackware.
Yeah, as per above, the new display manager (SDDM) works differently to KDM in that it ignores the settings made by xwmconfig. You're right, you haven't had to do this in previous versions. Once you set it, it'll stick.
 
3 members found this post helpful.
Old 02-05-2022, 03:07 AM   #8
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
Quote:
Originally Posted by bassplayer69 View Post
So, the only other selection I have on the plasama login screen is: Plasma (Full Wayland) (Wayland)

When I click the V (down arrow triangle) nothing happens after the Wayland option is selected. See attached.
well indeed having only one option under the sddm login screen - bottom left - is not going to help you much.

you are running on a virtual machine, are you ?
a fresh installation with runlevel 4 (not typing startx) on actual computers leads to at least four desktop choices, one is xfce.

regarding xwmconfig
Code:
ls -1 /usr/share/xsessions/
plasma.desktop
xfce.desktop
xwmconfig.desktop             <-- here "Use /etc/X11/xdm/Xsession to start the desktop configured by xwmconfig"
z_plasma-safe.desktop
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
Choosing desktop enviroment for an older computer Solid Liquid Slackware 10 08-03-2007 02:11 AM
LXer: Choosing a desktop Linux distro LXer Syndicated Linux News 0 01-25-2006 04:01 AM
Need help choosing a desktop manager alaxulas Linux - General 4 04-22-2005 03:20 PM
Choosing the Desktop Enviroment from the console Claus Linux - Software 4 09-18-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration