LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2003, 11:04 PM   #1
dudermc
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Question Mandrake 9.1 - No desktop logged into root


I need some help! I just installed Mandrake 9.1. Everything went well and I can log into my user created account just fine. However, if I try and start the GUI for KDE logged in as "root", I get no desktop or icons. Just the panel. Any ideas??
 
Old 04-14-2003, 12:55 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Mandrake does that on purpose. Its just their way of saying don't use root. You could create the icons if you really wanted to.
 
Old 04-14-2003, 04:27 AM   #3
dudermc
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Ahh... thanks for the reply. I was kinda leaning toward that, cause I could get everything to work, the only thing that made me wonder was that everytime my mouse was over the desktop it showed the clock (which I thought it was still loading). Thanks again and cheers!
 
Old 06-26-2003, 03:50 PM   #4
jramen
LQ Newbie
 
Registered: Jun 2003
Location: Slovakia
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
Lightbulb

Yup, this made me veeery unhappy too and I thought I made a mistake during the installation, but hey, I wasn't right!
Maybe guys from Mandrakesoft and/or KDE development team will hate me for writting this little HOWTO, but... I really don't like anyone playing the big daddy who doesn't let me do things with my own computer I would like to!
So, here is a short "walkthrough":

At first, delete the directory /root/.kde or move it to another place.
Then edit the file /usr/bin/startkde and find these lines:

-------------- sample begins here -----------------

if [ "`whoami`" = root ] ; then
#xsetroot -cursor_name left_ptr -solid '#B20003'

cd /usr/share/mdk/kde/root-interface/
for i in *; do
if [ ! -e /root/.kde/share/config/$i ]; then
cp -fr $i /root/.kde/share/config/
fi
done
cd -

# if [ ! -d /root/.kde/share/apps/kdisplay/color-schemes/ ] ; then
# mkdir -p /root/.kde/share/apps/kdisplay/color-schemes/
# cp /usr/share/mdk/kde/root-interface/Root_interface.kcsrc /root/.kde/share/apps/kdisplay/color-schemes/
# fi

------------- sample ends here --------------------

and change those lines to look like this:

-------------- sample begins here -----------------

if [ "`whoami`" = root ] ; then
xsetroot -cursor_name left_ptr -solid '#21449c'

# cd /usr/share/mdk/kde/root-interface/
# for i in *; do
# if [ ! -e /root/.kde/share/config/$i ]; then
# cp -fr $i /root/.kde/share/config/
# fi
# done
# cd -

if [ ! -d /root/.kde/share/apps/kdisplay/color-schemes/ ] ; then
mkdir -p /root/.kde/share/apps/kdisplay/color-schemes/
cp /usr/share/mdk/kde/root-interface/Root_interface.kcsrc /root/.kde/share/apps/kdisplay/color-schemes/
fi

------------- sample ends here --------------------

Now you got rid of that silly red background during the KDE startup (setting the color to #21449c) and you should have now the correct user desktop with icons on it.
Actually, I have experienced a little problem. Some of the icons were twice on the desktop, for example the "Trash bin", but it's been caused by the localization. So, maybe if you have english locales set you will not encounter this one. Anyway, if this problem arises, just delete the duplicate icon(s) and it will be fine.

Last edited by jramen; 06-27-2003 at 06:12 AM.
 
Old 08-17-2003, 07:07 AM   #5
zachy
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
A Simpler Solution....

Go to KDE Control Panel... and enable desktop icons.

Cheers !
 
Old 08-17-2003, 07:34 AM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
zachy they altered a lot more that that. The whole desktop and Konqueror behavoir is reduced. jraman' way of removing the ~/.kde directory and editing startkde should work, as it'll be restored with a normal user's default settings instead.
 
Old 08-17-2003, 04:05 PM   #7
zachy
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Yeah you're right....

I guess you're right.... but there's another interesting problem which I am facing. Nautilus encounters an error :

(The Text view encountered an error and can't continue. You can choose another view or go to a different location.)

when previewing mime : text/plain documents. This is regardless of whether I'm logged in as root or normal user. I tried uninstalling then reinstalling nautilus but still it didn't work. Any ideas ? Also I found that there's no LPRng package installed. Thus I had to use my old package from MDK 9.0. Thank god it worked. Another problem which I couldn't solved, but worked around is, the GDM version that ships with MDK 9.1 causes X to die whenever I try to enter a password which consists of certain keyboard characters. Heck I didn't even manage to type the password in full. For example say that my password is lama. after typing l and typing a.... X dies.... and GDM regenerates (or X that is). So I just uninstalled GDM and reinstalled the version from MDK 9.0. Sigh HELP ME IF YOU CAN.......
 
  


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
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM
Root Desktop Icons Mandrake 10 KDE BlackHatRob Linux - Software 6 03-31-2005 02:43 AM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 05:27 PM
How can I get logged into Gnome desktop paul62 Slackware 5 03-30-2004 12:48 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM


All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration