LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-20-2005, 01:23 PM   #1
jimbrook
Member
 
Registered: Apr 2005
Posts: 39

Rep: Reputation: 15
root (Admin) user crashes


Last night I logged on as the root user, admin, created a script in Kate editor and switched back as second user. Now, everytime I go back to the root user, the only thing that comes up is the "Yast" page. No splash page, not icons; nada.

Anyone have a clue?

Also, is there a way to create or edit a sysconfig file as a superuser when not logged on as root or admin? No doubt, I'm a newbie....
 
Old 05-20-2005, 02:15 PM   #2
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
not a big KDE user, so I'm not real sure on your first problem. I'd try renaming your .kde folder and .kderc files to .kdeold and restart x. Wait for more info on this however.

For you second problem, as a normal user, open your terminal and type su -c kate . You'll be asked for a password, enter the root password, and kate will then run as if it were root running it. Works just the same for other programs, such as kedit or konquorer.
 
Old 05-20-2005, 04:18 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Quote:
Originally posted by gbhil
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware".
OT: My apologies but this totally cracked me up.

On the first question, if you return to the Yast page, can you simply exit from Yast? That should bring you back to your regular desktop. On the second, as gbhil indicated, just using the "su" command to temporarily act as root is a good way to go. -- J.W.
 
Old 05-20-2005, 04:25 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
From you description it sounds like you are running in init level 5 (gdm or kdm session manager). There is an "administrative" session type. It sounds like it is now your default. Use the drop down menu and select KDE instead.
 
Old 05-20-2005, 04:28 PM   #5
jimbrook
Member
 
Registered: Apr 2005
Posts: 39

Original Poster
Rep: Reputation: 15
I can exit, but when I do, it does take me directly back to my "first" page. From reading other threads, I suppose I should not be going to "root" to modify configurations and such. I understand renaming kde to kdeold. But I don't understand why.
 
Old 05-20-2005, 05:59 PM   #6
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
Quote:
Originally posted by jimbrook
I understand renaming kde to kdeold. But I don't understand why.
In roots home folder (/root) there should be a file named .kderc and a folder named .kde .
These hold configuration options for kde on a per user basis. They are the ones I meant when I suggested renaming. In theory, it should be like starting kde for the first time as root and run things in the default way. I suggest renaming them rather than deleting them just in case my theory is wrong, you can rename them back.
 
Old 05-20-2005, 09:35 PM   #7
gokulagiridaran
Member
 
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
check your startup files like .kdrec and folder called .kde, you can also try changing your desktop like gnome,
 
Old 05-22-2005, 06:05 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might want to look in the session setup for kde. Change the option to start with an empty session. Are you using kdm or gdm or xdm? It still sounds to me that you have an administrative session selected. The administrative session actually uses on of the lightweight window managers and not kde, so reseting .kderc may not provide the answer.

You might try pressing [CTRL]-[ALT]-[F2] to get to a virtual terminal and then enter:
xinit /opt/kde3/bin/startkde -- :1
Does a kde session start up for root in vt/8?
 
Old 05-23-2005, 07:04 PM   #9
ZingSter
Member
 
Registered: Aug 2004
Location: Northern California
Distribution: SuSE 9.1 Personal; SuSE SLES 9
Posts: 66

Rep: Reputation: 15
http://www.linuxquestions.org/questi...80#post1276680

This should help...I've actually had this happen myself.
Just a few settings changes and you should "A" Okay.

Regards
 
  


Reply



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
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
Admin-but not root KasperX Linux - Security 5 05-09-2005 04:23 PM
glxinfo crashes as user. Works as Root... thewaker Slackware 2 01-18-2005 01:39 PM
User admin. How to change a user... Pug405 Linux - General 3 04-09-2004 01:33 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:47 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
Open Source Consulting | Domain Registration