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'm using a personally themed GDM, which works great. I started from the Salix SlackBuild and theme and adapted it to my needs. The stock GDM is quite ugly, but highly configurable.
The most simple solution for you would be to install a package from my MLED repo.
Go to the subdirectory corresponding to your architecture, and then download the gdm package. You also have to download and install libgnomecanvas, as this is a dependency. Should work out of the box.
Cheers,
Niki
PS: once GDM is installed, simply switch from runlevel 3 to 4, and that's it.
PPS: of course you're free to ignore all this and simply use XDM, the ugliest login manager on the planet.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
Quote:
Originally Posted by GazL
Are you talking about an automated login? If so, what about changing /etc/rc.d/rc.4 to run "su - guiuser -c 'startx'" ? Would that not work?
Nope, just the GUI that presents drop-down user name and box for password in Xfce. That particular machine (not mine) has three users and they're just looking for a gooey form instead of log in, startx (apparently that's confusing?). I dunno why.
look in /etc/rc.d/rc.4.
either give xdm a higher priority in the execution order or change the executable permission of the kdm binary.
[Edit: the second alternative also encapsulates the subalt of uninstalling the package altogether (probably the cleanest solution, even if pkgtools doesn't care for such alterations)]
Ir doesn't matter at all what xinitrc is linked to when starting in runlevel 4. When the KDM login page shows up just put in your username and choose from the dropdown list (I think it is named "session" or something similar) that you want to run XFCE. KDM will remember that choice (as do most other display managers, not sure about XDM), so that you don't have to do that every time.
xdm runs /etc/X11/xdm/Xsession, which runs ~/.xsession or /etc/X11/xinit/xinitrc if the user doesn't have a ~/.xsession. xwmconfig will create the appropriate ~/.xsession for the user when it is run.
kdm uses a different mechanism to find its startup scripts, but I don't install KDE so I can't say much about that.
I just tried it out - moved xdm to the top of the list in /etc/rc.d/rc.4 - works perfectly! (well, as someone has pointed out, xdm isn't exactly the star o' the show)
Technically XDM is just the default X11 Display Manager, it's not actually associated with Xfce.
GDM (Gnome Display Manager) is about as close to what you'd get for something near a native display manager for Xfce, but Xfce doesn't have an actual display manager suite.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
Bearing in mind that this is for a non-techie friend (not for me), I tried all the suggested methods on my work system. Got GDM and libgnomecanvas, built and installed, changed the default run level to 4 in /etc/inittab, reboot (coulda just done init 4, but what the heck). Up it pops, log in, log out, log in as somebody else, log out. Works.
OK, let's see what XDM does. Moved that to the top of the list in /etc/rc.d/rc.4, init 4, log in, log out, works (not pretty, no eye candy, but who cares -- eye candy isn't the point, simplicity is).
And, of course, the first go-round started up KDE's session manager and who knows what KDE pollution that can cause (yeah, eye candy to beat the band but... who needs it to log in on dang terminal?).
Trouble with using the simple, XDM, is that I tell a lie and I have to remember to tell the same lie when update rolls around -- either comment-out the GDM and KDE sections of rc.4 or edit it and move XDM to the top of the list. Either way, not desirable (I know my friend, simple is mandatory, complicated is not appreciated. Guy has a black screen with three icons on it, Firefox, Thunderbird and Terminal, anything else is nope, don't want it, you can imagine his reaction to KDE).
So, anyway, thanks to all for the input. I'm sticking with run level 3 and startx and I'll go tell my friend's system a lie and see what he thinks. He's probably going to bitch about the full-screen gray, but I don't want to find out where to fix that until he's a happy camper (I know it's in one of the config files, just don't know which one, but I'll find it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.