LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-11-2008, 10:35 AM   #1
Yoda3114
Member
 
Registered: Mar 2007
Location: Baltimore, MD
Distribution: Kubuntu Precise
Posts: 91

Rep: Reputation: 15
KDM-KDE4 Configuration problems


Hey all
I've been absent for quite some time now but I guess in some ways that's a good thing. I for some weird reason can't configure KDM-KDE4. I'm running it on Kubuntu Gutsy 7.10 and all of my options are greyed out. I've uninstalled then reinstalled to no avail. If anyone hass any idea what the problem could be, advice/potential solutions would be greatly appreciated. Thanks in advance.
 
Old 03-21-2008, 11:23 AM   #2
Yoda3114
Member
 
Registered: Mar 2007
Location: Baltimore, MD
Distribution: Kubuntu Precise
Posts: 91

Original Poster
Rep: Reputation: 15
Anyone...please :\
 
Old 07-30-2008, 02:48 PM   #3
wkdude18
LQ Newbie
 
Registered: Jun 2008
Posts: 23

Rep: Reputation: 15
Systems Settings Need to be Run as Root

Short Answer: In /usr/lib/kde4/bin/ run sudo ./systemsettings or run as root. In terminal of course (Applications=>Accessories=>Terminal).


2 Hour Long Answer/ Linux CLI Lesson:

I had been wondering about this myself, but usually the reason for this in KDE is because one is not in administrator mode. The odd thing is there is no administrator mode option in the GUI, so one needs to log in as root (administrator) via the command line and run the binary (executable) using its name as a command. I found the command by creating an icon for System Settings on the desktop by right-clicking the entry and selecting add to Desktop. If you right click the System Settings icon/widget on the desktop and select "Icon Settings" and go to the Application tab, in the third entry one can see the command to run the program. This also happens to reveal the location of the binary. It is in /usr/lib/kde4/bin/, or a folder for binaries associated with KDE4 (bin is usually a shorthand for binary). The binary is systemsettings, so if we want to run System Settings, we need to run the systemsettings binary because this is the binary that runs the applications. If you have the same setup as me, you should see some options after /usr/lib/kde4/bin/systemsettings. I am honest when I say that I do not know what these are. But I have found that it is easy enough to run the binary with superuser privileges by entering "cd /usr/lib/kde4/bin/" (cd=change directory) and entering "sudo ./systemsettings". Sudo, in case you did not know, stands for superuser (root/administrator) do, i.e. run the command with superuser or root privileges, even thought the user is not superuser. If you want to login as root, enter "sudo passwd root", to create a password for root or superuser. You should see "new UNIX password:" type in your password for root as prompted. Now you can also run commands actually as root by entering su (superuser) and entering root's password, instead of having to enter sudo every time to get superuser privileges repeatedly. You'll notice that the console should say root@(xxx)$ instead of (username)@(xxx) if you are root. The ./ means in this folder, because . stands for your current location, in this case /usr/lib/kde4/bin/, but to shorten the typing we just type "./" period. Two dots or ".." indicates the next directory up in the hierarchial structure in this case /usr/lib/kde4/, but we have no use for that at the moment. Just telling you because cd .. is a useful way to move around directories. Anyways ./systemsettings means run the binary sytemsettings in the current location. This needs to be done because the terminal usually looks for commands in the PATH. PATH is a variable which is the location where the system looks for commands or binaries to run when a command is entered into the terminal. ./ tells the system to look in the current location not the PATH, for the binary systemsettings. You can see the location of PATH by entering the command "echo $PATH", I'm not sure you can use that without root privileges.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dependency problems with KDE:KDE4 roastedmnm Suse/Novell 2 01-23-2008 08:04 PM
KDM Configuration JMJ_coder Slackware 8 03-11-2007 05:58 PM
KDM GUI choice configuration adds2one Linux - Software 8 03-25-2006 01:29 PM
where is kdm session configuration? npn Slackware 3 12-17-2005 10:32 AM
kdm configuration mandrake 9.0 B. Alec Linux - Newbie 1 02-03-2004 04:24 PM


All times are GMT -5. The time now is 12:19 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration