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.
After a lot of manual fixing, I managed to get Slackware-current working fine. However, I had to install the man and man-pages from swaret because it wasn't installed earlier.
Now man works fine as a user, but as root, it doesn't display anything. Just a blank page. I installed groff because man seems to require this, but it still doesn't work as root.
It's hard to say what is the problem even when you did lot of manual fixing only known to you. In my experience Slackware does not need such "fixes", just editing configuration files.
I would try to remove subdirs for man cache files
Code:
rm -rf /var/man/cat{[1-9],n}/*
(there may be a problem with permissions) and reinstall man and groff package for sanity
Those fixes were for other problems including a few dependency issues with other programs and glibc.
man does work fine as user. But when I su to root or log in as root, it just displays an empty screen. Not sure how to fix this, although it's not a major problem.
Maybe you should try what I was suggesting, maybe man tool refuses to display content of a cached file when with improper permissions, but that's only my doubt. I'm running 2 boxes with Slack current and can normaly read man pages as root.
Just another idea concerning possible wrong environment settings. Can you su to root wihtout '-' option to keep users settings and try it again ? Also check PATH, MANPATH and TERM environment variables when logged in as root. May be it has something to do with different setting of locales. Try
Code:
LANG=C LC_ALL=C man 1 man
Stracing a problematic app is also a good way if you know what you are doing.
After a lot of manual fixing, I managed to get Slackware-current working fine. However, I had to install the man and man-pages from swaret because it wasn't installed earlier.
Now man works fine as a user, but as root, it doesn't display anything. Just a blank page. I installed groff because man seems to require this, but it still doesn't work as root.
1. check your PATH (for root)
2. why would you need root privileges to read man pages ?!
Well, sometimes I su to root to do some operation and then require to check up a command. In that situation I use the man command.
Also, now I tried compiling 2.6.16 from Slackware and it doesn't work. I will have to restore grub to point to the earlier kernel before I can try out the suggestions in this thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.