SlackwareThis Forum is for the discussion of Slackware Linux.
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've been following these instructions to get beryl working on my computer: http://wiki.beryl-project.org/wiki/I..._Nvidia_driver. I got Slackware 11 with the 2.6.17.13 kernel. After removing the X11 apps and installing the new ones, i tried to uninstall the Nvidia driver that didn't work, and try to go back to the one i was using.
So i typed as root:
./NVIDIA-Linux-.......pkg1.run --uninstall
For my surprise, i got a permission denied error, and i am root!!!!
Also, just so i give more info about the problem, I installed the 8774 version of the NVIDIA driver last time, and it's been working ever since. I tried installing it again, and it notices that there is another version, so it just warns me that it is going to uninstall and then install the new one. I have a backup of my original xorg.conf file, and after installing the working version of the driver and copying xorg.conf back, i get the following error:
Failed to load module "glx" (module does not exist, 0)
Failed to load module "nvidia" (module does not exist, 0)
No drivers available.
If you need something else, be sure to let me know. I don't mind not installing beryl, but at least get my original config working.
Additionally, all the links downloaded a lot of X11 and xorg files, and i installed them all. I guess i have a new version of xorg running, hence, making the driver or something else break down.
Since you are doing all this I assume stability is not your #1 concern ;-) So...why not just move to -current and use compiz which is already included. Beryl and compiz are becoming the same thing anyway.
When typing the modprobe nvidia command as root, it just jumps back to the prompt. I guess it finds nothing. As for X, it is down, i am running everything from command all the way. What i did was, according to the manual, removed all old X11, and installed a new version, at least the files i downloaded all installed fine; then, i tried installing a new nvidia driver. Since this driver didn't work, i went back to the old one that was running before i started doing all these things. But hey, that one didn't work either.
Just for the kicks, i went to /var/log/packages and looked for the files that were titled x11. I found that the number there was 7.1. I guess that's the new version i have installed. It may be that i missed a few files to install so that X server works fine. Weird thing is that when typing startx on my console, there's a line that reads X Window System Version 7.2.0, and a couple lines down, another one that says X Protocol Version 11, Revision 0, Release 7.2. Am i like mixing oil and water here?
As for the compiz thing, if i ever get passed this problem, i will surely give it try. JEJEJe, so help me fix my computer so i can give compiz a try.
Thanks so much for the help. If you need some more info to help me out, just write and i'll surely look it up for you.
Bid update here!!! I removed all x11 and the xorg file i installed, and started out installing only xorg 7.2 and the misc fonts. After that, i installed nvidia's driver version 8774, the one working before, and i got the nvidia splash screen going. Bad news is it goes to a weird shell and does not load any kind of GUI after displaying the nvidia splash screen. I can only suppose that i am missing some other file or files to get all the GUI back up and running.
Have you run xwmconfig and chosen a desktop environment?
Yeah i did, in fact i chose kde, which was the first option displayed, and it just gets me back to that same weird prompt, with the difference that i get an X shaped pointer that i can move around. In fact, if i try startx again, it tells me that the 'Server is already active for display 0'.
As for the compiz thing, if i ever get passed this problem, i will surely give it try. JEJEJe, so help me fix my computer so i can give compiz a try.
My point was, why bork your Slackware system when you could just install -current (now Slack 12 RC1)? It should get you past this problem, and then you will be able to keep your system up to date and stable much more easily.
Oh good then. I guess i am missing something else. I will try to reinstall X11 from the Slack 11 dvd, if i can find it that is. Like i said, it's gotta be something missing cause i get the nvidia splash screen but then comes to a single weird looking shell.
./NVIDIA-Linux-.......pkg1.run --uninstall
For my surprise, i got a permission denied error, and i am root!!!!
This could happen because the script is not executable.
Code:
root@xendria:/home/fire/test# ls -l
total 4
-rw-r--r-- 1 fire users 19 2007-06-21 13:02 test
root@xendria:/home/fire/test# ./test
-bash: ./test: Permission denied
root@xendria:/home/fire/test# chmod +x test
root@xendria:/home/fire/test# ./test
Hello world
Try to chmod +x NVIDIA..... first and then try to run it
I've had weird shells after startx before, usually means xorg's on but no window manager's loaded.
Could be something wrong with the symbolic link from /etc/X11/xinit/xinitrc, and/or the copy of .xinitrc in your $HOME
If you boot from init level 3, and use startx in tty1 to start the xserver, you can check error messages by hitting CTRL+ALT+F1.
Yes, i do get the output of /var/log/Xorg.0.log when pressing those keys. At the bottom, i get these 4 lines (i will post only the part that changes for all once i put what is repeated):
Could not init font path element /usr/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /usr/lib/X11/fonts/OTF, removing from list!
Could not init font path element /usr/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/lib/X11/fonts/100dpi/, removing from list!
Could these lines be the source of my problem? I will dig into the xinitrc that you mentioned, although i'm not pretty sure what i am looking for.
Thanks in advance for the help dudes, so much!!!
Also, i have managed to get samba working in the machine that's not working, so i could post up the contents of that file that you had me look into. Here's the contents of /etc/X11/xinit/xinitrc:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
startkde
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.