Mandriva This Forum is for the discussion of Mandriva (Mandrake) 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
05-27-2005, 04:12 AM
|
#1
|
Member
Registered: Apr 2005
Posts: 241
Rep:
|
root environment doesn't look right
Hello?
For PowerPack 10.1, when I login as root, the desktop
does not have any icons and right mouse cliking on it
doesn't bring up the usual context menu as in regular
user setting.
Also, the panel bar is empty except the lone Mandrake
Star icon to bring up the start menu.
Is this right or something's not set up correctly?
Thanks.
|
|
|
05-27-2005, 04:32 AM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Try deleting the .k* directories in your /root directory, then startx and let them regenerate.
I think I read somewhere that running the GUI as root is insecure, so I suggest using your user account and administering your system through an X terminal.
Basic system administration
To change to the full root account (system administrator), if you are running X, open an x terminal and use these commands from your user account. Note the change in the prompt. You can do the same from a virtual terminal as well, but you can't open an x terminal to do so.
Code:
[fancy@tinwhistle fancy]$ su -
Password: <give root password and press enter>
[root@tinwhistle root]#
Remember, now whatever you command in root (it's the "god" mode. You can bless or destroy at your whim) usually gets done if enough system is left to carry out the command. Sit on your hands and read the commands you type at least 3 times before pressing the enter key when in root.
|
|
|
05-27-2005, 04:41 AM
|
#3
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi fancypiper,
Great! I see. I'll work on that later.
Thanks.
|
|
|
05-28-2005, 04:40 PM
|
#4
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi fancypiper,
Well, I tried deleting .k* files/directories under /root and
restarted the system, but this didn't help.
When I login as root, I still have an empty desktop and
no right-mouse click response on the desktop. Also,
the panel is empty, not even the system clock, except
the lone Mandrake start icon.
Since this isn't that much of an issue as I can just do away
either in su mode in the console or from the root's KDE start
menu, but I'm wondering if this issue is due to some corrupt
packages during install.
Even though this is PowerPack 10.1, I've had the exact same
issue under Mandrake 9.1 which I had abandoned long ago.
I'd appreciate if anyone has any idea.
Regards,
|
|
|
05-28-2005, 04:53 PM
|
#5
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
After thinking it through, that is probably a security issue.
I have read that you can cause security risks if you run X as root.
Fedora Core runs it at first boot in order to do a few things, then after, you aren't allowed to run it as root, and Gentoo won't allow X to be run as root in the GUI with the standard install.
|
|
|
05-28-2005, 04:59 PM
|
#6
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi fancypiper,
I see. So, there's nothing wrong with the current
behavior posed by PowerPack when I log in as root?
Thanks.
|
|
|
05-28-2005, 06:00 PM
|
#7
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Well, I only tried Mandrake when I won a prize here back a while ago. I installed it on an el-cheapo box I built and then gave it to a friend of mine in exchange for a hand made set of dinner ware (for which I am still waiting), so I don't have a lot of experience with that particular distro that is reputed to be so user friendly.
You might have a work-around so that you can allow root to use the user's X session, if needed. I was under the impression that Mandrivia had apps that let you do root stuff in the KDE menu.
Misc cool stuff
# Create a partition label
e2label /dev/hdb1 <mountpoint>
# Allow root to use your X session
xhost +local:
su -
export DISPLAY=:0.0
# Playing radio
Try using these settings for your helper apps in your browser:
Code:
MIME Type Helper
audio/m3u xmms
audio/x-scpls xmms
video/x-ms-asf xmms
audio/rm realplay
audio/x-pn-realaudio realplay
audio/x-realaudio realplay
More good places to find Linux tips:
Linux Questions Tricks and hints
Just Linux tips
Last edited by fancypiper; 05-28-2005 at 06:05 PM.
|
|
|
05-28-2005, 09:16 PM
|
#8
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi fancypiper,
Great! Actually, this isn't that much of a concern to me,
but I appreciate your interest in this issue.
I'll look into your suggestions and links.
Thanks.
|
|
|
05-30-2005, 01:12 AM
|
#9
|
Member
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129
Rep:
|
Try going into the menu editor for both system and user and save them. Some of the Mandrake releases had a bug not showing the menus, BUT they were there in the editor. Simply saving them as though you made changes usually fixed the problem.
|
|
|
05-30-2005, 02:47 AM
|
#10
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi RoofRabbit,
Thanks. So, basically I compare root and user menu items
and edit them accordingly and suitably for root? Or, simply
browsing the root menu editor and resave the setting in order
to "reactivate" the root menu items?
Regards,
|
|
|
05-30-2005, 06:29 PM
|
#11
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi all,
I tried just looking around in the Control Center>System>Menu
for some anomalies for "root" but found out nothing seriously
out of ordinary.
Manually, I just added some system clock and applets on the
panel, and this obviously started to make things look alike regular
user GUI environment for root's GUI albeit "manual" configuration.
I suppose this does it for this issue unless there're some graphical
configurations I can do to make root's GUI settings a bit nicer as in
a regular user's environment.
Thanks for all your interests in this issue.
|
|
|
05-31-2005, 01:28 PM
|
#12
|
Member
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808
Rep:
|
My understanding is that Mandriva intentionally "crippled" the root gui, as you should be doing everything from your user login, using "su" as necessary.
|
|
|
05-31-2005, 01:30 PM
|
#13
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Last edited by fancypiper; 05-31-2005 at 01:32 PM.
|
|
|
05-31-2005, 05:51 PM
|
#14
|
Member
Registered: Apr 2005
Posts: 241
Original Poster
Rep:
|
Hi Padma and fancypiper,
Thanks for your feedbacks.
|
|
|
06-01-2005, 11:15 PM
|
#15
|
Member
Registered: Sep 2003
Location: New Hampshire USA
Distribution: Mandriva 2006 & 2007 Power Pack Club
Posts: 178
Rep:
|
I know exactly what you are talking about here. Bottom line KDE by default as root in Mandriva is crippled, but gnome isn't. Well if you need to quickly hop in as root then it might be good to know this.
I have only found one time where i needed to do this so i am wondering why you would want to. Word of advice su into root and do what you need to do that way. That is the safer smarter way if you ask me.
|
|
|
All times are GMT -5. The time now is 07:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|