LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-22-2016, 03:08 PM   #1
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
make xconfig 'help' pane missing


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?

thanks,
tobyl
 
Old 06-22-2016, 06:46 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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
 
Old 06-22-2016, 09:33 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 06-22-2016, 09:45 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
There is no need to configure and build kernel as root, only install requires root privileges.
 
Old 06-22-2016, 09:57 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Emerson View Post
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.
 
Old 06-23-2016, 01:03 PM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Original Poster
Rep: Reputation: 64
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 :-)

tobyl
 
Old 06-23-2016, 01:08 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It is much nicer if /usr/src has root:src ownership and your user is member of src.
 
Old 06-23-2016, 01:55 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Emerson View Post
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.
 
Old 06-23-2016, 02:02 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I'm not saying you are doing it wrong. I'm a sinner myself. Just not following the golden rule not to switch to root unless absolutely necessary.
 
Old 06-23-2016, 02:10 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If it's any consolation, the author of the kernel building page on Slackware docs (Alien Bob) states that he does it as root.

Building a Linux Kernel from Source

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
 
Old 06-23-2016, 02:52 PM   #11
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bassmadrigal View Post
If it's any consolation, the author of the kernel building page on Slackware docs (Alien Bob) states that he does it as root.

Building a Linux Kernel from Source

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.

(The full book is available here).

Last edited by Gerard Lally; 06-23-2016 at 03:17 PM.
 
Old 06-23-2016, 03:02 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Haha, well it looks like I go directly against all of his advice.

EDIT: BTW, your second link is butchered with too many url tags.
 
Old 06-23-2016, 03:18 PM   #13
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bassmadrigal View Post
EDIT: BTW, your second link is butchered with too many url tags.
Thanks!
 
Old 06-23-2016, 04:16 PM   #14
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Original Poster
Rep: Reputation: 64
Thanks gezley, that book looks like interesting reading.

tobyl
 
  


Reply



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
Missing choices in kernel xconfig azazel11998 Linux - Kernel 5 01-29-2007 03:34 PM
when I type make xconfig I am told: No rule to make target `xconfig' sleekmason Linux - Software 7 04-17-2006 11:21 PM
make xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 06:19 AM
Debian kernel 2.6.7-1-686 - Error MAKE XCONFIG - Missing QTDIR BaptismOfFire Linux - Software 4 09-02-2004 06:15 PM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM

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

All times are GMT -5. The time now is 09:02 AM.

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