LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-06-2014, 09:48 PM   #1
schnaidel
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Rep: Reputation: Disabled
Angry Problems after installing slackpkg.


Hello everyone & thanks in advance;

I'm starting in the world of linux and i decided to install slackware because my college career is networking and security administration... First semester

Directly to the problem; after installing the slackpkg, I get this problem and I can't come up the GUI... and sorry for my english, I'm also learning

Xauth: file /root/.serverauth.733 does not exist
Xauth: file /root/.Xauthority does not exist
Xauth: file /root/.Xauthority does not exist

/usr/bin/X: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: no such file or directory
Xinit: giving up
Xinit: unable to connet to X server: connection refused
Xinit: server error.

I think the problem is in libxshmfence.so.1, but i don't know how to fix it.
 
Old 08-06-2014, 10:57 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
Slackpkg is an application that runs on Slackware. It is used to install applications from the Slackware servers.

You also should not be launching a GUI for root. You should have a user created, and then you should launch KDM as root:

Code:
# kdm;exit
and then login to the desktop as that user.

Have you read through the installation docs at http://docs.slackware.com/slackware:install

It is pretty complete and encompasses literally everything you are asking about: the installation, user creation, and on through to the graphical login.

You may have already installed everything correctly. Did you install the default FULL install? If so, try creating a user and then configure the GUI login as detailed on the page I linked to. That should get you up and graphically running!

Good luck!
 
Old 08-07-2014, 12:31 AM   #3
schnaidel
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Unhappy

notKlaatu;

thanks for answering me. I tried as root and as a user, and nothing... I can't see the desktop

xauth: file /home/username/.serverauth.785 does not exist
 
Old 08-07-2014, 05:00 AM   #4
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
Try running

Code:
xwmconfig
Also, what command are you using in your attempt to start X?

Also, did you go through the http://docs.slackware.com/slackware:install instructions? It tells you how to set up a GUI environment.
 
Old 08-07-2014, 03:30 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,172

Rep: Reputation: Disabled
First, I don't understand hat you mean by "after installing the slackpkg", as the package "slackpkg" is included in Slackware, so you don't have to install that afterwards.

If you meant that you tried to install another package, please tell us which one it is (its exact name) and where you got it. I ask because libxshmfence.so.1 is not part of Slackware, so maybe you tried to install a package not intended for Slackware, or maybe you need to install a dependency of that package first.
 
1 members found this post helpful.
Old 08-07-2014, 04:08 PM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
The problem is libxshmfence.so.1, it's just been added in Slackware-current, it is not in Slackware-14.1

schnaidel, you should always do
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
in that order. To fix your problem, run 'slackpkg install-new'.

But really, as someone who is 'starting in the world of Linux' you should not use -current, it is the testing branch for people who can help to debug the next version of Slackware...
 
2 members found this post helpful.
Old 08-07-2014, 04:22 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,172

Rep: Reputation: Disabled
I agree with 55020, of course.

It's also possible that you did in fact install Slackware-14.1 or Slackware64-14.1 (by the way, please tell us which version you have installed), then un-commented (removing the leading #) a "wrong" mirror in /etc/slackpkg/mirrors, for instance a mirror for Slackware current if you installed another Slackware version. The mirror you un-comment should be for the very same version that you have installed.
 
1 members found this post helpful.
Old 08-07-2014, 09:12 PM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,732

Rep: Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990
So you're using slackware-current? If you're brand new to Slackware, I'd recommend sticking with 14.1. Not that Slackware-current isn't perfectly usable (it mostly is), but some things can be less than stable, depending upon where the team is in the dev cycle. Plus, if you're not familiar with Linux or how Slackware does things, it can be kind of tricky to know how/where something went wrong. (That is, what's a bug with the OS and something you did wrong.)

Were you reading this guide? http://docs.slackware.com/slackware:beginners_guide

Also, when you created a normal user account, did you add yourself to groups? I always forget that step and then wonder why I can't do anything. http://docs.slackware.com/slackbook:users
 
1 members found this post helpful.
Old 08-07-2014, 10:50 PM   #9
schnaidel
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks all of you.

bash-4.2$ cat /etc/*-release
NAME=Slackware
VERSION="14.1"
ID=slackware
VERSION_ID=14.1
PRETTY_NAME="Slackware 14.1"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:14.1"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"

i don't want to turn off the pc ajajjaja

I have installed Slackware64 14.1. When I finished install slackware, i proceed with the following;
useradd -d /home/username/ -c "YOU" -m -s /bin/bash username
passwd username
usermod -G audio -a username
usermod -G cdrom -a username
nano /etc/inittab id:3 = id:4
/etc/rc.d/rc.inet1 stop
chmod -x /etc/rc.d/rc.inet1
chmod +x /etc/rc.d/rc.networkmanager
/etc/rc.d/rc.networkmanager start
lilo
nano /etc/slackpkg/mirrors un-commented

slackpkg update
slackpkg upgrade-all
when it finish the upgrade, I select the option (o)
reboot

and then the libxshmfence.so.1 error... I think that's all guys
 
Old 08-07-2014, 11:53 PM   #10
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
Which mirror are you uncommenting, and why are you doing a

Code:
slackpkg upgrade-all
 
Old 08-08-2014, 03:07 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by schnaidel View Post
nano /etc/slackpkg/mirrors un-commented

slackpkg update
slackpkg upgrade-all
when it finish the upgrade, I select the option (o)
reboot

and then the libxshmfence.so.1 error... I think that's all guys
Again you missed the command
Code:
slackpkg install-new
which leads to your issues.
And please show us the exact line of the mirror URL you uncommented in the mirors file. Your issues with libxshmfence are an indication that you are using a Slackware-current mirror and not a Slackware 14.1 mirror.

Very useful article which you should read now if you have not done so already: http://docs.slackware.com/howtos:sla...:systemupgrade

Eric
 
2 members found this post helpful.
Old 08-08-2014, 01:48 PM   #12
schnaidel
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
notKlaatu, Didier Spaier, 55020, garpu, Alien Bob...thank you all for helping me;
you were right, the uncommented mirror was incorrect.
The problem is solved, thanks again.

I would like your advice to implement new programs on my slackware. I want to learn commands, security. How to add kali and backtrack tools, how to protect against threats because my career is network administration and security.

How can i install aterm?
How can I see videos on youtube and importantly; I have an APEX TV of 32 inch and the letters are small, the resolution is at 1920x1080 60Hz

wooooowwww, i think i'm going too fast jajajajaj... i'm excited

Note: I don't want to use another Linux, I'll learn step by step everything that you recommend me.
 
Old 08-08-2014, 03:20 PM   #13
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,732

Rep: Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990Reputation: 990
If you're brand new to Linux, the O'Reilly Linux book really helped me out. It's not specifically about slackware, but it's got some good, basic information. Also, I'd recommend the Linux Documentation Project. Again, not distro-specific, but basic things any Linux person should know, IMO. (http://www.tldp.org/)

These two sites should be bookmarked, too: http://www.slackware.com/config/ and: http://docs.slackware.com/
 
1 members found this post helpful.
Old 08-11-2014, 06:46 PM   #14
schnaidel
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks garpu
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] problems w/ slackpkg doughyi8u Slackware 5 10-09-2012 06:03 PM
problems after using slackpkg Twister512 Slackware 15 10-28-2007 10:41 PM
slackpkg problems dive Slackware 3 11-16-2005 04:08 PM
Problem installing Slackpkg Oakstaff Slackware 3 02-16-2005 06:44 PM

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

All times are GMT -5. The time now is 06:57 PM.

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