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.
Hi, my favourite method to choose kernel options when recompiling is
Quote:
kdesu make xconfig
This used to give me a three pane window with the option descriptions. Now (on -current 64bit) I do not see the descriptions. I just get a single pane. I have experimented with the available options, but no joy. Can anyone tell me what I am doing wrong?
Under Help click on the icon showing two vertical parallel lines.
Then move your mouse to the bottom of the right panel. When the cursor becomes a vertical line with top and bottom arrows crossed by two parallel horizontal line, click and drag up.
Also, IMO you could as well become root typing "su" instead of using kdesu, but that's just my choice
Also, IMO you could as well become root typing "su" instead of using kdesu, but that's just my choice
Depending on the program, this can cause issues with polluting your regular user's home directory with root owned files. I doubt xconfig would do this, but using kdesu while in a DE/WM isn't a bad habit to be in.
There is no need to configure and build kernel as root, only install requires root privileges.
It depends on where you store your sources and how you extract them. I keep all my kernel sources in /usr/src/, and unless I start changing permissions, it requires root access.
Didier - magic! that did it. I thought I had tried everything but your instructions worked. Thank you.
I use kdesu because it allows graphical applications to run as root when started from the terminal. I know there are other ways, but IMO this is the simplest.
As for running as root, as bassmadrigal says, it depends where you store your kernel sources, and I do the same as him. Cue Linus's 'kernel du jour' quote, but it has never given me any problems and it means I never forget where I put it :-)
It is much nicer if /usr/src has root:src ownership and your user is member of src.
Only if you care about building the kernel as a regular user. I see no need for it, and I don't see a need to create a group just for the occasional time I might build a kernel. I've been building kernels this way for over a decade, so maybe it's just the "old man" in me (I'm only 33, but been doing Linux since the early 2001 and Slackware since 2003) not willing to make a change in my habits.
He even gives a specific shout out to the debate on where to build your kernels...
Quote:
There is a debate whether you should build your kernels in the /usr/src tree or somewhere entirely else.
The cause is an old post by Linus Torvalds (from July 2000) where he advises people to build from within their home directory. I believe this advice is irrelevant for Slackware and the way it has it's kernel headers and glibc package setup. So, my advice is to ignore this old post by Linus and install your kernel sources into /usr/src if you want. The kernel building location is purely a matter of personal preference.
But as with most things in Linux, there is rarely just a single right way and a single wrong way. People are free to do it as they wish. Just try and be consistent
He even gives a specific shout out to the debate on where to build your kernels...
But as with most things in Linux, there is rarely just a single right way and a single wrong way. People are free to do it as they wish. Just try and be consistent
In keeping with the principle of least privilege, I've always followed Greg Kroah-Hartman's advice: never build as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.