LinuxQuestions.org
Register a domain and help support LQ
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 08-01-2004, 04:44 AM   #1
mst700
Member
 
Registered: Jun 2004
Location: Ascension Island SAO
Distribution: FC2 2.6.8 Kernel, FreeBSD Unix, Gentoo 2004-2, WinXP SP2
Posts: 46

Rep: Reputation: 15
Thumbs down I killed my root GUI, HELP!


I did a NO NO! When I was rebooting my linux box, I was getting multiply Firestarter screens popping up when I logged into my root account. I went into the gnome GUI and deleted the multiply entries and some how I selected everything in the list and deleted it. As I did this all my icons, interfaces and bar disapeared from the desktop. I can log on to my other accounts without any problems, hence I am typing on line now. Anyone know of a way to fix this without fdisk? I can run most things from my local account if need be, but I would rather restore my root back to default gnome set-up. I have one other problem, my mozilla web browser stopped working after I tried to install java. I know it has something to do with the java, but I can't figure it out yet.
 
Old 08-01-2004, 05:18 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
this is for the java: you probably have linked a wrong .so java file into your plugins dir, or at least that's what happened to my mozilla when I installed java into it (I didn't remember the correct .so file so I had to try both of the two out, and picked up the wrong one first..heh)

so, go to your $home/.mozilla/plugins and there should be a file called libjavaplugin_oji.so (was it written like that?). if it's a symlink (check out with ls -l libjavaplugin_oji.so and see if there's an arrow -> that tells it's a symlink) just delete it and re-link the correct file from the directory you installed your java into.

EDIT: and oh, the symlinkin goes of course like this:

ln -s /path/to/the/original/libjavaplugin_oji.so $home/.mozilla/plugins/libjavaplugin_oji.so

where the first path points to the file you want to symlink, and the otherone is the path and name of the actual link file

Last edited by b0uncer; 08-01-2004 at 05:21 AM.
 
Old 08-01-2004, 05:38 AM   #3
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
First off, you SERIOUSLY should not be running your GUI as root. It is much better to use another user and so an su to root for any administrative task that needs it. If you insist on still running gnome as root you should either completely delete the .gnome[*] director{y,ies} or copy the contents of a user's gnome directory into root's and change all the permissions.

I may be wrong but I believe gnome will regenerate a default configuration if there is nothing there.
 
Old 08-01-2004, 01:10 PM   #4
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
Yes I would recommend not running as root. There is no reason to run as root because you can su - anytime you want to. And you will have to become more familiar with groups in order to get certain applications to run as a regular user.

I can vouch for the mozilla problem. I linked against the wrong java.so and mozilla refused to work at all.

most likely /something/j2sdk/jre/plugin/i386/ and then you have ns610 or ns610-gcc32 (of three) to choose from. Try 610 first. gcc32 is for gcc 3.2 compilation of mozilla.
 
Old 08-01-2004, 03:46 PM   #5
mst700
Member
 
Registered: Jun 2004
Location: Ascension Island SAO
Distribution: FC2 2.6.8 Kernel, FreeBSD Unix, Gentoo 2004-2, WinXP SP2
Posts: 46

Original Poster
Rep: Reputation: 15
java link

This is how I made my java link:

ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/

I also did this link:

ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins/


Is this good/bad or indifferent?
 
  


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
Help with using GUI as root Nei125 Linux - Newbie 6 02-25-2005 04:39 PM
no GUI except as root gvaught Debian 8 07-04-2004 08:41 AM
GUI root login? LinuxSeeker Linux - General 6 02-15-2004 10:02 AM
Winbloze killed my root partition Half_Elf Linux - General 8 11-20-2002 11:55 AM
no desktop GUI for root?? tdnik Linux - General 2 01-08-2002 11:13 PM


All times are GMT -5. The time now is 09:34 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