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 installed Slackware as a VM within Virtual Box. The host OS is Windows 7, if it matters. I have successfully installed guest additions and XFCE starts and runs cleanly with or without the guest additions. KDE however (which was set as the default for startx) starts well giving me the appropriate desktop at the appropriate resolution but crashes halfway during the splashscreen animation. I am not sure it is worth wrestling with it.
How do I change the default for startx to xfce? I realize that I can always start it at the command line with startxfce4, but I may like to change the inittab run level to 5 which would trigger KDE with it's crashes.
for runlevel 4 (not 5) then kdm would run and give you the choice of which DE to start
Can you elaborate on using xwmconfig? How do I go about changing the startx default?
I am pretty sure that inittab uses level 5 for X11 unless Slackware has opted to be very atypical. In Unix and Linux (except for the distros that have opted to drop /etc/innitab altogether) if I am not mistaken the run levels go:
0 Halt
1 Single user mode
2 Multiuser no NFS
3 Multiuser
4 Usually unused
5 X11
6 Reboot
Does Slackware have a special use for inittab level 4?
excerpt from 'man xwmconfig';
NAME
xwmconfig - choose a default window manager for X.
SYNOPSIS
xwmconfig
DESCRIPTION
xwmconfig provides a menu of the window managers available on the machine so that you may choose
one of them to use when X is started with "startx".
When run by root, it sets the symbolic link /etc/X11/xinit/xinitrc, which selected the default
system-wide window manager to use for X, and also creates a /root/.xinitrc file with the same
window manager selected (perhaps suitable to move into /etc/skel/).
When run by a non-root user, xwmconfig writes out a $HOME/.xinitrc file, allowing the user to
choose their own default window manager (possibly overriding the one chosen as a system default).
AUTHOR
Patrick J. Volkerding <volkerdi@slackware.com>
Run 'xwmconfig' from the console and make your selection.
As a user, run xwmconfig from a terminal, and select your default wm.
If you run xwmconfig as root, the default changes for the entire system.
edit: apologies for redundancy...onebuck beat me to it.
cheers,
Thanks. Very interesting. I looked at the quoted Wikipedia article. I thought that most Unix and Linux ran the innittab levels similarly. My desire to load Slackware has already paid off with greater knowlege. I am also running Debian, Fedora, BSD and Solaris (have not explored Solaris much) as VMs on the same machine. And have Linux Mint and Ubuntu running natively on other machines. I guess I have gone a bit extreme with my explorations but the VM setup within Virtual Box has made it fairly painless to explore more widely.
Distribution: Currently deciding between Kubunto, Gentoo, Slackware, Fedora with KDE, Mint with KDE, & OPEN SUSE
Posts: 1
Rep:
Exploring distros
Quote:
Originally Posted by haziz
Thanks. Very interesting. I looked at the quoted Wikipedia article. I thought that most Unix and Linux ran the innittab levels similarly. My desire to load Slackware has already paid off with greater knowlege. I am also running Debian, Fedora, BSD and Solaris (have not explored Solaris much) as VMs on the same machine. And have Linux Mint and Ubuntu running natively on other machines. I guess I have gone a bit extreme with my explorations but the VM setup within Virtual Box has made it fairly painless to explore more widely.
I appreciate what you've said. I, too, am exploring different distros. I'd like to understand how they work, and possibly why so many have been devised. I've been told that slackware is particularly good for exploring software development. I've been looking to get something with a Gui, & KDE which has the only calendering/planning/logging software that seems reasonable. There are other choices, but I want something that retains what I've done as a record, as well as allowing me to express plans in whatever detail I need to do it. To me, it seems that once you've put information in, it should be retrievable for any purpose.
The KDE Kontact module fulfills that purpose quite well.
I also want to be able to develop software for the LINUX platform. Like you, I'm exploring different distros using Oracle's Virtual Box. My variety of distros pretty much matches yours.
I just haven't yet determined how to make some GUI work with some of these distros so that I can get going.
Can you elaborate on using xwmconfig? How do I go about changing the startx default?
I am pretty sure that inittab uses level 5 for X11 unless Slackware has opted to be very atypical. In Unix and Linux (except for the distros that have opted to drop /etc/innitab altogether) if I am not mistaken the run levels go:
0 Halt
1 Single user mode
2 Multiuser no NFS
3 Multiuser
4 Usually unused
5 X11
6 Reboot
Does Slackware have a special use for inittab level 4?
You might be surprised if you were to look at the contents of /etc/inittab...
Code:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Version: @(#)inittab 2.04 17/05/93 MvS
# 2.10 02/10/95 PV
# 3.00 02/06/1999 PV
# 4.00 04/10/2002 PV
# 13.37 2011-03-25 PJV
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by: Patrick J. Volkerding, <volkerdi@slackware.com>
#
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.