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.
Greetings folks. I have just finished installing my Slackware system but I have found this far that I cannot login into the Kde desktop it just shows the first icon on the animation of the login screen of kde and immediately takes me back to the user and password screen. Also before I can reach the login screen I must login as root and start kdm manually by typing kdm.
Please, any help will be very appreciated. Thank you.
well if you just run the login manager and nothing else, that I'd imagine that's all it should do. If you're not booting to runlevel 4 in /etc/inittab then you'd normally run "startx" as the user you want, you wouldn't lof in graphically.
Hey guys! Excuse me for my ignorance I didn't figure that was really so important but how can I do it? (I am a mess I know...)
I mean I cannot use nano (it is installed tho..), it says command not found. I cannot use kate, it won't allow me to save it or open it if I login to the console. What's up next?
I hope to don't bother you asking for some further helping.
@arubin Just as I suspected I cant do startx the same thing happens. Also I have found that in /etc/inittab I dont have any lines such as id.4............... or id.3.................
# 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
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
If you do not change anything in inittab, there will be a 3 instead of the 4 you see in mine. Does your file not look like this? Are you sure you are looking at /etc/inittab?
Regardless of your chipset (though it seems more common with intel), if KDE
crashes on startup, try disabling the Composite extension (which will also
disable all of the fancy desktop effects). Place the following content in
a file at /etc/X11/xorg.conf.d/disable-composite.conf:
Section "Extensions"
Option "Composite" "Disable"
EndSection
to edit files become root
Code:
su -
(the "-" at the end is mandatory to have a proper environment)
then use vi (or pico or what you prefeer).
It's much better for you to operate in a root shell (with the proper environment) than to use sudo (I'll avoid that).
Now I would like to know how to edit /etc/sudoers to make my user belong to sudoers, what commands use to edit that and also /etc/inittab
I have never user sudoers, although I know it is possible. I simply use 'su' and switch to root. You do have to enter the root password. Then you can edit any file that is owned by root.
Thank you for aiding me. This is what I have done this far, su - then type password then vi /etc/inittab but I cannot delete any digit or write anything.
try pico instead of vi, you may find it easier, but in the long term you may want to use vi, it will be available pretty much on every unix machine you will use.
He really needs to get startx working before going into runlevel 4 or he will find himself stranded. If startx does not work there is something wrong - likely do be the video driver.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.