Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 just installed Slackware on /dev/hda5 (dual-booting with WinXP Pro). I can't get Lilo to run at boot, so I'm having to boot with the bootdisk I made during installation. I do that, login as root, and I have a prompt, something like darkstar@slackware, I'm sure you know what I'm talking about. What is the command to boot into the KDE GUI?
Also, how would I get Lilo installed? I had it installed during the installation process, but it won't load during bootup, as mentioned before.
Make a regular user first with the adduser command. After that you can login as regular user. As you might know, logging in as root is not advisable for number of reasons.
After adding a regular user, you can issue the following command to start kde
Code:
startkde
For lilo, you can login as root and issue the following command
Code:
liloconfig
and don't forget to install it on /dev/hda (or whatever is your primary master hard drive)
-Tux,
You can also edit /etc/inittab file and look for line
Code:
id:3:initdefault:
Change that "3" to "4" and you will get a graphical login (like gdm, kdm or xdm). I believe you would have to configure the default graphical login.
Okay, I have Lilo installed properly: thanks for that. I tried startkde and it gave me this:
Code:
kde-config: error while loading shared libraries: libart_lepl_2.so.2: cannot open shared object file: no such file or directory
/opt/kde/bin/start kde: line 138: xset: command not found
/opt/kde/bin/start kde: line 141: xset: command not found
/opt/kde/bin/start kde: line 144: xset: command not found
/opt/kde/bin/start kde: line 154: xsetroot: command not found
startkde: Starting Up...
kreadconfig: error while loading shared libraries: libart_lgpl_2.so:cannot open shared object file: no such file or directory
ksplash: error while loading shared libraries: libart_lgpl_2.so:cannot open shared object file: no such file or directory
kdeinit: error while loading shared libraries: libart_lgpl_2.so:cannot open shared object file: no such file or directory
startkde: Could not start kdeinit. Check your installation.
/opt/kde/bin/startkde: line 207: xmessage: command not found
Warning: connect() failed: : no such file or directory
ksmserver: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object or file: no such file or directory
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
/opt/kde/bin/startkde: line 232: artsshell: command not found
startkde: running shutdown scripts...
startkde: Done
user@darkstar:~$
When you have configured your xserver, you may also need to run "xwmconfig" and select KDE as your default desktop so that an .xinitrc or .xsession file is created which will start KDE correctly.
I ran xorgconfig and the command was not found. I ran xwmconfig and selected KDE as default, as I had before, and when I ran startkde it gave me the same error log.
Were you root when you ran this command? If you didn't run it after install, you're not going to get X to work until you do. It should be in /usr/X11R6/bin.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
I guess you logged in as normal user and switched then with su to become root. In this case you might not get the right PATH settings, so that commands in /usr/X11R6/bin are not found. You can either log in as root from the beginning (right after booting up when the first login appears) or you could execute the commands with the right path, for example type /usr/X11R6/bin/xorgconfig to get it started
Edit: To make it clear, xwmconfig and startx also reside in the same directory /usr/X11R6/bin, so to start them you would have to do the same and type them in with the path before them. If you cannot start the "startx" command as normal user look for "PATH" here on linuxquestions, you will find many threats on it and how to add additional directories to it. You could just look at the file /etc/profile for this. This is where the PATH is defined systemwide.
Last edited by titopoquito; 08-30-2005 at 06:18 PM.
Originally posted by JRR883 I ran xorgconfig and the command was not found. I ran xwmconfig and selected KDE as default, as I had before, and when I ran startkde it gave me the same error log.
You need to run "startx" and not "startkde" when you xserver has been configured and you have chosen KDE as your default desktop afer running "xwmconfig".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.