LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-06-2015, 11:32 PM   #1
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Rep: Reputation: Disabled
Can't run level 4 because you don't have GDM, KDM or XDM installed


I installed Slackware64-14.1 using the DVD ISO method.

Before installation I customized the tagfiles so that I only installed the packages I thought were essential to running the OS.

I don't wish to have Gnome or KDE as my graphical environment. For this reason I chose the packages fluxbox, blackbox, fvvm, lxpanel and ALL the packages listed in "xcfe" series.

Towards the end of the installation I chose the xinit.xcfe method.

After booting into tty1, I edited the /etc/inittab and changed id:3 to id:4

I rebooted my notebook computer and after logging in using my password, I typed the following command:

startx

The error message returned was: command not found

Additionally I received an error message stating "Hey, GDM, KDE or XDM not installed. Can't run level 4...."

How do I fix the problem?
 
Old 05-07-2015, 12:17 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Startx is part of xinit package.

For graphical runlevel, you need a display manager e.g. GDM, KDE or XDM
 
Old 05-07-2015, 02:26 AM   #3
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
Unless you really need the space just do a full install, it will save you time in the long run. The extra couple of MB's are worth it.
 
Old 05-07-2015, 02:51 AM   #4
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
Startx is part of xinit package.
Thanks for your reply.

Quote:
Originally Posted by veerain View Post
For graphical runlevel, you need a display manager e.g. GDM, KDE or XDM
I wish to run XDM only.

Which specific packages of which specific series do I need please?
 
Old 05-07-2015, 02:54 AM   #5
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linuxtinker View Post
Unless you really need the space just do a full install, it will save you time in the long run. The extra couple of MB's are worth it.
Unfortunately the space constraints on my notebook computer are limited.

I have googled extensively for the minimal set of packages that I need to install to run an XDM graphical environment. Sad to say there is no such answer.

Would you like to provide that answer? That would be great.
 
1 members found this post helpful.
Old 05-07-2015, 05:21 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by hiyob View Post
Would you like to provide that answer? That would be great.
AFAIK for xdm you need libICE,libSM,libX11,libXau,libXdmcp,libXext,libXmu,libXt,libxcb,util-linux.

And for startx (shipped in xinit as Veerain said) you need libX11,libXau,libXdmcp,libxcb.

But if you just want to run XFCE, another possibility would be to install Salix XFCE, see here.

Maybe you could post your tagfiles or a link to them, so we could see if they seem consistent at first sight.

Last edited by Didier Spaier; 05-07-2015 at 05:25 AM.
 
Old 05-07-2015, 08:37 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I also saw this post you wrote. Assuming that's actually the same topic, it would have been better to post it in the current thread (that's a user's opinion, I am not a moderator). I have no answer to that other question, as in genuine Slackware there is no dependencies database.

The list of threads in LQ about Slackware that includes the words "minimal" and "install" should give you some clues.

Also, Salix provides dependencies files for Slackware version 14.1 on i486 and x86_64. I assume that they are accurate but didn't check.
 
Old 05-07-2015, 12:55 PM   #8
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
AFAIK for xdm you need libICE,libSM,libX11,libXau,libXdmcp,libXext,libXmu,libXt,libxcb,util-linux.

And for startx (shipped in xinit as Veerain said) you need libX11,libXau,libXdmcp,libxcb.
Thanks for your reply.

The files listed in your reply have been marked as ADD in the relevant tagfiles.

And the following is what happened:

Installation of Slackware64 was successful, using my customized tagfiles.

After rebooting my notebook computer and typing startx, error messages began to appear on the console tty1:

Code:
xauth: file /root/.serverauth.944 does not exist
xauth: file /root/.Xauthority does not exist
xauth: file /root/.Xauthority does not exist
Code:
/usr/bin/X: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
 
Old 05-07-2015, 01:11 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Code:
~$ grep -r libnettle.so.4 /var/log/packages/*
/var/log/packages/nettle-2.7.1-i486-1:usr/lib/libnettle.so.4.7
libnettle being a dependency of xorg-server, there is no chance that you can start an X server without. For your information I have found that this way (I have a copy of the deps files I mentioned earlier in ~/Slint/deps/i486/deps):
Code:
~/Slint/deps/i486/deps$ grep -c nettle *|grep -v 0
amarok.dep:1
ark.dep:1
cmake.dep:1
emacs.dep:1
epic5.dep:1
glib-networking.dep:1
gnutls.dep:1
iputils.dep:1
kde-runtime.dep:1
kdenetwork.dep:1
libarchive.dep:1
libvncserver.dep:1
loudmouth.dep:1
mcabber.dep:1
pan.dep:1
samba.dep:1
tigervnc.dep:1
xine-lib.dep:1
xorg-server-xephyr.dep:1
xorg-server-xnest.dep:1
xorg-server-xvfb.dep:1
xorg-server.dep:1
~/Slint/deps/i486/deps$
Also, to find which package ships a not installed dependency, for instance
Code:
/archives/versions/slackware-14.1/slackware$ bzgrep libnettle.so.4 MANIFEST.bz2 
-rwxr-xr-x root/root    199968 2013-08-29 23:37 usr/lib/libnettle.so.4.7
/archives/versions/slackware-14.1/slackware$
Or use the Slackware Packages Browser.

Last edited by Didier Spaier; 05-07-2015 at 01:30 PM.
 
Old 05-07-2015, 05:00 PM   #10
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Code:
~$ grep -r libnettle.so.4 /var/log/packages/*
/var/log/packages/nettle-2.7.1-i486-1:usr/lib/libnettle.so.4.7
Thanks, Didier, for the above tip. The next time an error about a missing file occurs, I will use the "grep" command to find out which package is responsible.

Quote:
Originally Posted by Didier Spaier View Post
Also, to find which package ships a not installed dependency, for instance
Code:
/archives/versions/slackware-14.1/slackware$ bzgrep libnettle.so.4 MANIFEST.bz2 
-rwxr-xr-x root/root    199968 2013-08-29 23:37 usr/lib/libnettle.so.4.7
/archives/versions/slackware-14.1/slackware$
Or use the Slackware Packages Browser.
Sorry, I don't understand your above statement. Would you like to provide an example?

By the way, have you ever used customized tagfiles during installation of Slackware? If you have, could you help me answer my other post entitled "Unable to locate tagfiles on USB stick"?

Thanks in advance.

Last edited by hiyob; 05-07-2015 at 10:32 PM.
 
Old 05-07-2015, 05:36 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
/var/log/packages only record installed packages, thus in your case the grep command wouldn't have given you an answer.

In such a case, looking into MANIFEST.bz2 comes handy, as this file records all files that should be there in a full Slackware installation. This file is to be found in the /slackware or /slackware64 directory of the DVD or any mirror. There are similar files in /extra and /testing, but that are not of interest in you case. What I wrote is an example, as I keep a local copy of the file tree as found in mirrors for several Slackware versions. But if you don't it's probably simpler to use the Slackware Packages Browser.

I will also answer your other post.
 
Old 05-07-2015, 10:39 PM   #12
hiyob
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
/var/log/packages only record installed packages, thus in your case the grep command wouldn't have given you an answer.
Thanks for your tip.

Quote:
Originally Posted by Didier Spaier View Post
In such a case, looking into MANIFEST.bz2 comes handy, as this file records all files that should be there in a full Slackware installation.
How different are the contents of MANIFEST.bz2 from PACKAGES.TXT? I can download the latter by using the following URL: http://mirrors.slackware.com/slackwa...1/PACKAGES.TXT
 
Old 05-08-2015, 01:40 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by hiyob View Post
How different are the contents of MANIFEST.bz2 from PACKAGES.TXT? I can download the latter by using the following URL: http://mirrors.slackware.com/slackwa...1/PACKAGES.TXT
See under the heading "Presentation of Slackware software packages" in Get acquainted with Slackware.
 
  


Reply



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
kdm,gdm,xdm paul001 Linux - Newbie 1 10-11-2008 09:52 PM
XDM, KDM, GDM says no to consoles LocoMojo Slackware 24 07-08-2006 08:35 PM
alternatives to xdm, gdm, or kdm hdo781 Debian 1 02-02-2005 10:55 AM
gdm, kdm, xdm daemons, which do I need? Feldon Linux - Software 5 10-16-2004 09:56 PM
Cannot start xdm, kdm or gdm icisyd Linux - Newbie 13 09-23-2004 06:38 PM

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

All times are GMT -5. The time now is 04:35 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
Open Source Consulting | Domain Registration