LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2011, 09:16 AM   #1
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Rep: Reputation: 32
Would love a desktop in 13.37 please


Hiya,
Long time 13.0 user here. I'm initially trying 13.37 in a VM. Now the only thing I decided not to install from the packages was the games one.

After everything was installed and i added a non-root user, i tried "startx" to find that wasn't recognised. So i tried "xwmconfig" and that wasn't recognised. So basically, somehow, i dont have gdm, kdm, or xdm installed. Not really sure how I've managed this.

What's the best way to recover from this?

Many thanks in advance!

Tom
 
Old 05-02-2011, 09:36 AM   #2
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Rep: Reputation: 18
did you made an upgrade or a clean install?¿
 
Old 05-02-2011, 09:36 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Login as root, mount your install-DVD and cd to the slackware directory on the DVD. Now issue this command:
Code:
installpkg */*.t?z
This will install all packages from the DVD.
 
Old 05-02-2011, 09:45 AM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
The non-root user can't start xwmconfig. Try it as root first.
 
Old 05-02-2011, 09:57 AM   #5
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
clean install, and I ran commands as root too.

cheers Tobi, is this a little overkill though?
 
Old 05-02-2011, 10:00 AM   #6
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Rep: Reputation: 64
Have you tried running the corresponding scripts from pkgtool?
 
Old 05-02-2011, 10:00 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Hmm ... makes me wonder what else is missing. If I where you I would make a text file containing the little script mentioned in UPGRADE.TXT, minus the 'y' (a.k.a. 'games') directory, since you said you didn't want that. i.e.:

Code:
#!/bin/sh
for dir in a ap d e f k kde l n t tcl x xap; do
 ( cd $dir ; upgradepkg --install-new *.t?z )
done
Then make it executable, switch to root, remount the install DVD/CD, change ('cd') into the the 'slackware' subdirectory under the mount point and finally, run the script. It will then install any packages that are missing.

Note: This will only install missing packages!

Last edited by ruario; 05-02-2011 at 10:06 AM. Reason: Clarification that this only installs missing packages
 
Old 05-02-2011, 10:14 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Alternatively, if you don't want to make the tiny script you could just 'cd' into the 'slackware' subdirectory and issue the following as root:
Code:
find a ap d e f k kde l n t tcl x xap -regex ".*/.*t?z" -exec upgradepkg --install-new {} \;

Last edited by ruario; 05-02-2011 at 10:17 AM.
 
Old 05-02-2011, 10:22 AM   #9
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Cheers all,
Will try a few of these suggestions and get back to you soon.

I knew a successful install without looking at any help pages was just too good to be true
 
Old 05-02-2011, 10:24 AM   #10
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
OMG i'm such an idiot. I dont think i downloaded the correct amount of CDs....

I'll look into that as well.

Thanks again.
 
Old 05-02-2011, 10:29 AM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
As long as you are planning on putting the machine on a network you only ever need one CD. Just do a network install. Or install what is available on the first disk and do the rest later via slackpkg later.

This would also work for you if you know which series you are missing, e.g. if you wanted to install the 'x' series:

Code:
slackpkg install x
(Just make sure you have a mirror set in /etc/slackpkg/mirrors)

Add more series as needed with spaces after 'x', so for example to install all of 'x' and all of 'xap' you could issue:

Code:
slackpkg install x xap

Last edited by ruario; 05-02-2011 at 10:38 AM. Reason: clarified example
 
Old 05-02-2011, 10:29 AM   #12
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by mlangdn View Post
The non-root user can't start xwmconfig. Try it as root first.
Yes, they can. It is a per-user setting.
Code:
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).
From man xwmconfig.
 
Old 05-02-2011, 11:59 AM   #13
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
hmm ok thanks. Of course, i need to know what packages are really needed, which i shall look into. I guess this is better than downloading the dvd iso. i will be on a network, but wirelessly, so I guess i need to get wicd from somewhere. And i use the mirror that i use with my 13.0 install.



Many thanks again,

Tom
 
Old 05-02-2011, 12:49 PM   #14
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by mutexe View Post
hmm ok thanks. Of course, i need to know what packages are really needed, which i shall look into. I guess this is better than downloading the dvd iso. i will be on a network, but wirelessly, so I guess i need to get wicd from somewhere. And i use the mirror that i use with my 13.0 install.
I would do a full install if you have the disk space. You don't really need that much in modern disk terms.

If you want the wicd package, any of the mirrors will have wicd in the extra/wicd/ directory. Use another machine to download the package and then copy it over to your Slackware machine.
 
Old 05-02-2011, 02:53 PM   #15
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Right, I've set my VMs network adapter to be bridged, plugged in a network cable, and am now installing each of the series I need using slackpkg.

Thanks again for the help everyone.

Tom
 
  


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
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
I have win Xp on my desktop (intel X86) and I'd love to hav debian OS as well helsayes Linux - Newbie 15 04-09-2010 06:18 AM
LXer: If You Love Your Desktop, Buy A GNOME LXer Syndicated Linux News 1 05-02-2009 02:28 PM
I love my desktop headlessb Debian 8 10-29-2005 01:29 PM
I love linux, I love it ! SuseBoy General 5 07-17-2003 11:51 PM

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

All times are GMT -5. The time now is 08:51 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