LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-08-2002, 08:20 AM   #1
shogun
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.

Thanx.
 
Old 03-08-2002, 08:28 AM   #2
kill-hup
Member
 
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, 08:41 AM   #3
shogun
LQ Newbie
 
Registered: Dec 2001
Location: Mexico
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
location...

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

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it does quite blatantly say that it IS /root/.xinitrc, you posted it in your own message... just remove it.
 
Old 03-08-2002, 09:54 AM   #5
ryandelany
Member
 
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

or

swithdesk gnome

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

Ryan
 
  


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
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 03:17 PM
KDE gui vs. Gnome GUI Curt6000 Linux - Newbie 11 11-10-2004 01: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 01:24 AM
no more gui? fitzov Linux - Newbie 5 12-28-2003 06:53 AM
Won't go into GUI Micro420 Mandriva 1 08-23-2003 12:36 PM


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