Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-08-2002, 09:20 AM   #1
LQ Newbie
Registered: Dec 2001
Location: Mexico
Distribution: mandrake
Posts: 9

Rep: Reputation: 0
About GUI

Hi, I have KDE installed under Mandrake 8.1, but I tried to install AfterStep. The problem is that now I can't run KDE as root. If I login as a normal user, there is no problem.

When I type startx at the prompt, it starts loading everything, but stops at a line that says:

/root/.xinitrc afterstep: exec: not found

I'd like to know how can I have KDE back. And what should I change if I want to switch to GNOME.

Old 03-08-2002, 09:28 AM   #2
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
Well, first off it probably isn't very safe to run X as root. You'd be better off logging into X as yourself and launching teminal windows to "su"
to root if you need it.

Ok, stepping off the soapbox now. You might want to take a look through root's .xinitrc file and
remove the afterstep references (or better yet, just comment them out until you're sure everything works). All you truly need in there (I believe) is a reference to "startkde", which should be in root's $PATH. I'm sure someone will correct me if I'm wrong - not a big KDE fan
Old 03-08-2002, 09:41 AM   #3
LQ Newbie
Registered: Dec 2001
Location: Mexico
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0

where is the .xinitrc file located??
Old 03-08-2002, 09:49 AM   #4
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
it does quite blatantly say that it IS /root/.xinitrc, you posted it in your own message... just remove it.
Old 03-08-2002, 10:54 AM   #5
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66

Rep: Reputation: 15
You might also try the switchdesk command like so:

switchdesk kde


swithdesk gnome

Then try running startx. This command should create all the necessary files for you.



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
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 04:17 PM
KDE gui vs. Gnome GUI Curt6000 Linux - Newbie 11 11-10-2004 02:37 PM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 02:24 AM
no more gui? fitzov Linux - Newbie 5 12-28-2003 07:53 AM
Won't go into GUI Micro420 Mandriva 1 08-23-2003 01:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration