LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't startx or anything (https://www.linuxquestions.org/questions/slackware-14/cant-startx-or-anything-343186/)

gbonvehi 07-14-2005 05:22 PM

The normal way to mess the files like that is to install a bad made package. I remember seeing that behaviour, I don't remember if it was using rpm2tgz with my user instead of root.

tmantist 07-16-2005 06:50 PM

Maybe when you uninstalled dependencies with installing/removing/deleting g-wrap.

WARNING: making your own slackware tgz binary packages can cause severe damage if you do not understand the "*pkg" tools well. When you make these packages by your self, 'makepkg' works without errors, but 'installpkg' may overwrite important directories such as /bin/, /usr/ and so on when you install packages. When done incorrectly it puts all files and directories on '/' instead of /usr/bin, /usr/sbin/, and or /usr/lib when done as root. I did that once, and I was one sad Mofo.

Make a backup of your '~/' directory if you think that your box might drop dead any minute from a "race-condition error". Smart Linuxers always have a rescue system handy, mines is Knoppix.

lydgate 07-18-2005 04:27 PM

Okay, after restoring all the permissions in /usr everything works, but now my sound doesn't work. When gnome starts up, volume control gives an error. alsaconf says this:
Code:

Loading driver...
Loading ALSA mixer settings:  /usr/sbin/alsactl restore
/usr/sbin/alsactl: load_state:1267: No soundcards found...
Loading OSS compatibility modules for ALSA.
Setting default volumes...

alsamixer:
Code:

alsamixer: function snd_ctl_open failed for default: No such file or directory
My sound card is: "00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)" and it worked fine before this, I never even had any trouble with it I just ran alsaconf and it worked. Any suggestions?

weiddy 02-28-2006 05:22 PM

Hello *!

I have the same problem! But i run: chmod +xr on /usr /usr/lib /usr/doc /usr/share and the problem dont be ok.

I run:

echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin

bash-3.00# startx
/usr/X11R6/bin/startx: line 132: xauth: command not found
/usr/X11R6/bin/startx: line 133: xauth: command not found
/usr/X11R6/bin/startx: line 132: xauth: command not found
/usr/X11R6/bin/startx: line 133: xauth: command not found
/usr/X11R6/bin/startx: line 141: xinit: command not found
/usr/X11R6/bin/startx: line 144: xauth: command not found

I have xauth,xinit in /usr/X11R6/bin and permission is OK!

Any help to me?

Thanks in advance!

Widgeteye 03-01-2006 11:15 AM

Quote:

Anyone know how those permissions could have gotten messed up in the first place?

Most likely trying to install a redhat version with alien, whatever that is.
One of the things an installation program does is install directories and set their permissions as it is installing the program. Since redhat is somewhat different from Slackware it most likely set the permissions that would be used in redhat.

I never use redhat packages to install a program on my system. NEVER,NEVER,NEVER!!!
:)

Anyway from now on when you get warnings and errors while trying to install an app on Slackware, instead of giving up, come here or search the web for answers so you can learn how to take care of your system. You were probably just missing some really simple dependancies and needed to install them so your app would build.
And most times you can ignore warnings.

Better luck next time. :)


All times are GMT -5. The time now is 12:06 AM.