LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-01-2019, 07:28 PM   #16
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 497

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324

Very strange. With no changes to anything in /etc/rc.d/rc.4 (just using the default KDM), I can log into XFCE with any user by simply clicking the blue arrow in the bottom left and selecting "XFCE". It looks like this.
 
Old 09-01-2019, 08:21 PM   #17
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,117

Rep: Reputation: 595Reputation: 595Reputation: 595Reputation: 595Reputation: 595Reputation: 595
@drgibbon

According to your signature and the desktop wallpaper from your screenshot I presume you're on Slackware 14.2 and not on -current. Am I right?
 
Old 09-01-2019, 09:01 PM   #18
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Rep: Reputation: Disabled
@jrch:
Quote:
I have seen some linux machines come up with a graphical login in the default window manager, so I know it can be done.
Yes, most of the other distros support boot splashes through a hook called plymouth. Using plymouth requires patching the kernel.

Slackware provides unmodified kernels and therefore does not support boot splashes. Never really did although the Salix devs gave that a whirl some years ago. That means learning to live with some of the output spew.

One way to reduce the boot output is to use the quiet boot parameter. If using Lilo add that option to the /etc/lilo.conf append section. If using GRUB, add the option to /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT. Remember to run lilo or grub-mkconfig after editing the config files. The quiet option will avoid all of the kernel output and leave only the rc.d script output, which is more calmer.

Quote:
This only (very belatedly, after many lines of POST) gives a KDE login screen, which is not wanted.
That login screen is called the display manager. A default Slackware includes xdm. There are other display managers, but all display managers support letting users log into their desired desktop environment.

A side note, traditionally the term POST means Power-On Self Test and is related to how the BIOS ensures the system is ready to hand-off the boot process to the operating system. The spew seen in Slackware is boot initialization, often called stdout for standard output.

Quote:
Checked carefully in wife's acct, NO dot files (or any others) owned by root.
One way to be sure is log in as root:

chown -R lovely_wife_account_name:lovely_wife_account_name /home/lovely_wife_account_name

Like this:

chown -R betty_boop:betty_boop /home/betty_boop

If the log in issues continue and if the rc.d script output still seems annoying to the lovely wife, give Salix a test spin. Salix is a Slackware derivative that adds color to the rc.d output and renders the output more eye appealing. The Salix default desktop is Xfce.

Do know that unlike the default Slackware, the Salix devs disable the root account. That is easily restored.
 
Old 09-01-2019, 09:05 PM   #19
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 497

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Quote:
Originally Posted by abga View Post
@drgibbon

According to your signature and the desktop wallpaper from your screenshot I presume you're on Slackware 14.2 and not on -current. Am I right?
14.2 on the work desktop, -current on laptop.
 
1 members found this post helpful.
Old 09-01-2019, 09:06 PM   #20
0XBF
LQ Newbie
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
The fact that it's working every other time has got me stumped, maybe someone more knowledgeable will have an idea.

Did you migrate your wife's home folder from another install or distribution? Can you try starting with a fresh account (e.g. run the adduser script), run xwmconfig and try on that? The fact that its user specific seems like some config . file in the home directory is incorrect... but then it still doesn't make sense why its working sometimes.
 
Old 09-01-2019, 09:16 PM   #21
0XBF
LQ Newbie
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
@jrch:

Yes, most of the other distros support boot splashes through a hook called plymouth. Using plymouth requires patching the kernel.

Slackware provides unmodified kernels and therefore does not support boot splashes. Never really did although the Salix devs gave that a whirl some years ago. That means learning to live with some of the output spew.

One way to reduce the boot output is to use the quiet boot parameter. If using Lilo add that option to the /etc/lilo.conf append section. If using GRUB, add the option to /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT. Remember to run lilo or grub-mkconfig after editing the config files. The quiet option will avoid all of the kernel output and leave only the rc.d script output, which is more calmer.
Adding quiet will stop the kernel's messages at the start of booting but once init fires up it prints quite a few messages. I noticed alienBOB had a package for adding a splash without patching the kernel (http://www.slackware.com/~alien/slackbuilds/splashy/). I have not tried to use it though and he hasn't touched it in 12 years so I have no idea if it builds on current systems.
 
Old 09-01-2019, 09:19 PM   #22
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 497

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Quote:
Originally Posted by 0XBF View Post
run xwmconfig and try on that?
Running xwmconfig is not needed though when using runlevel 4/graphical login manager (it's only necessary for startx).
 
Old 09-01-2019, 09:44 PM   #23
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Rep: Reputation: Disabled
Quote:
Adding quiet will stop the kernel's messages at the start of booting but once init fires up it prints quite a few messages.
I suppose that depends on the definition of "quite a few." Compared to the kernel output spew, the init output is tame. Moreso, the init output is formatted the same within each rc.d script and does not present as scary an output as kernel spew.

When the init output uses color, like in Salix, which I adapted to my Slackware systems several years ago when the idea was first used in Zenwalk, the init output seems rather tame and docile.

Quote:
I noticed alienBOB had a package for adding a splash without patching the kernel (http://www.slackware.com/~alien/slackbuilds/splashy/).
That package is 12 years old. Here is a related discussion thread from the same period.
 
Old 09-02-2019, 06:47 AM   #24
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Debian, Xubuntu
Posts: 311
Blog Entries: 1

Rep: Reputation: 126Reputation: 126
If I were you, I would move your wife's profile out of the way and create a new, empty one. Make your wife's account the owner of this new, empty directory, and try and log in with her user account.

If that works, then there must be some mysterious problem with her profile. If it doesn't, then I'm out of inspiration.
 
Old 09-02-2019, 09:30 AM   #25
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,346

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
This might be what your looking for.
edit the $HOME/.dmrc to this
Code:
[Desktop]
Session=xfce
then
Code:
chmod 0444 $HOME/.dmrc

Last edited by colorpurple21859; 09-02-2019 at 09:32 AM.
 
Old 09-02-2019, 09:56 AM   #26
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,380

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
I apologize if you don't find this helpful since it doesn't directly address your question but I'd like to point out that it might be valuable to grasp, as well as explain to your wife, that runlevel 3 is an important "safety net". Even in the situation you're in now of trying to alter how your GUI functions, you have a great fallback exactly because you do boot to an environment that very rarely ever breaks and from which one can fix anything broken. Many operating systems and even Linux distros default to the "convenience" of the GUI but rob you of the power to fix things, leaving you dependent on some rescue disk or a complete reinstall.

I don't yet understand why you don't see other users than root in your "Greeter", which is the login graphic for all the Display Managers (xdm, gdm, sddm, lightdm, and kdm and maybe more). I just login as root in Runlevel 3 and then issue "kdm" after having created any user accounts with "adduser". The very first time the Greeter is sometimes blank but after I type in the user name the first time it always shows up automatically every time after unless I type in a different user and then that becomes the default until I type in a different user name again. There is in some of the Greeters an option to show all users but that is rarely the default since it is somewhat less secure on a PC that has several users. It's no big deal on single user boxen. Perhaps if you just type in your wife's username that first time the DM/Greeter you choose will behave the same way. It's certainly worth a shot.

I know this problem seems a struggle and it is but that struggle will make you and your wife stronger and pay you back many times over with the most reliable, most secure, most low maintenance operating system out there... and.., it will be one YOU own, not some corporate crutch wielder. Learn to walk then you can learn to run. That beats being hobbled every time.

Last edited by enorbet; 09-02-2019 at 11:58 AM. Reason: multi typos
 
1 members found this post helpful.
Old 09-02-2019, 10:16 AM   #27
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Debian, Xubuntu
Posts: 311
Blog Entries: 1

Rep: Reputation: 126Reputation: 126
Not sure why, but that post by enorbet suddenly makes me wonder what's the numeric id of your and your wife's accounts?
 
Old 09-02-2019, 12:03 PM   #28
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,380

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Quote:
Originally Posted by luvr View Post
Not sure why, but that post by enorbet suddenly makes me wonder what's the numeric id of your and your wife's accounts?
...or he could just type in

Code:
 adduser LightOfMyLife2
...accept the initial group defaults but scroll to the collection of several commonly required groups and add those and then co=figure whatever is desired ant login with that username. If that solves the problem User Managment (eg: Kuser) allows for creation of any needed groups or addition of users to existing groups.

Note: Of course "LightOfMyLife2" is just a brownie points suggestion but any username you like can be substituted

Last edited by enorbet; 09-02-2019 at 12:05 PM.
 
Old 09-03-2019, 02:33 PM   #29
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 133

Rep: Reputation: 35
If it's any help I'm using XFCE with XDM. Nothing fancy about this setup, though I don't have any KDE packages installed.

.xsession and .xinitrc don't exist.

I do have .dmrc with content

[Desktop]
Session=xfce

And that's pretty much it. Oh, and the inittab entry changing default runlevel 3 to 4.

XDM is perhaps too basic for some people (lack of shutdown, restart buttons -- though I've seen workarounds) but it's still a decent failsafe.
 
Old 09-03-2019, 06:53 PM   #30
0XBF
LQ Newbie
 
Registered: Nov 2018
Location: Winnipeg
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by drgibbon View Post
Running xwmconfig is not needed though when using runlevel 4/graphical login manager (it's only necessary for startx).
Maybe its not needed for the case of using XDM or KDM but for getting slim to start an x session it seems to be necessary. At least that's what my testing confirmed and its also in the slackware docs here: https://docs.slackware.com/howtos:window_managers:slim

Anyhow I hope OP managed to figure this out. It seems that getting a graphical login to start is not the issue, possible a permissions issue or conflicting config files. A few of us suggested starting with a fresh account so hopefully there's some follow up with that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
xfce4-power-manager crashes on resume from suspend (Slackware64 14.0) ruario Slackware 2 04-03-2013 08:31 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM

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

All times are GMT -5. The time now is 12:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration