LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2007, 10:09 AM   #1
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Question "why is the browser not launched in root?"


hi friends,
when im logged in as root and when im
clicking(web-browser option from quick-launch bar)
im unable to launch mozilla firefox,even by a command IN SAFE MODE.
but im USING IT EASILY when I logged-in as user,
SO WHERE(why) IS THE PROBLEM(there)?
AND HOW TO SOLVE THIS problem??
CAN IT BE SOLVED???(im working on redHat ENT 4.0)
Thanks,
bye.
 
Old 12-15-2007, 10:13 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you having a problem with the caps lock on your keyboard as well?
 
Old 12-15-2007, 11:19 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Depending on the distro, it is possible that the icon you are using is not set up. Look at the properties and see what command is specified.

Example: in KDE, you right-click on an icon and select "Configure..." Gnome---I don't remember
 
Old 12-15-2007, 11:45 AM   #4
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Post

no it was working previously...but something had stopped its working recently,capslock is fine ya...it might be some problem with browser(settings) i soppose,unknowingly some settings might have changed when im logged in as root.....

Last edited by majji.hari; 12-17-2007 at 08:24 AM.
 
Old 12-15-2007, 12:01 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just think of it as a security feature; you're not supposed to
work as root, and more so not go into the wild while logged in
as the super-user.

:D



Cheers,
Tink
 
Old 12-17-2007, 12:31 AM   #6
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Lightbulb some details....

hi,
i found both in root as well as in user the same command is there in properties of mozilla icon,
also when i typed which mozilla in root and as user both were pointing towards the same directory....
i think this problem is due to not making the kill(closing all files that were opened),
while shutting down my system.is there any way get make my application work again?
 
Old 12-17-2007, 01:20 AM   #7
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Post its status....

when im clicking the mozilla icon its is saying starting web browser,a tab is appearing in the task bar panel for a while and after that everything has disappeared without a error message....

Last edited by majji.hari; 12-17-2007 at 08:52 AM.
 
Old 12-17-2007, 03:29 AM   #8
hellork
Member
 
Registered: Nov 2007
Posts: 41

Rep: Reputation: 15
Reinstall often? It is not unusual to have things mysteriously disappear while running as root
 
Old 12-17-2007, 04:20 AM   #9
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Post no not uninstalling....

no it was not reinstalling too often problem since it was working fine in root before...


i guess its problem of either corrupted files
in .mozilla dir while getting updating done orelse quitting the system without making "kill the current running application?"

i want the remedies for both in context of root specially.....

Last edited by majji.hari; 12-17-2007 at 10:51 AM. Reason: for better approach
 
Old 12-17-2007, 05:36 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What do you need to browse to as root with a web browser? There are web interfaces for cups & swat, but you launch the browser as a normal user and enter the "root" username & password when the requester comes up.

If you need to edit a configuration file as root, you can use "kdesu" or "gnomesu" to launch an editor as root. Sometimes you are supposed to run a particular program, such as visudo to edit /etc/sudo, or vigr or vipw to edit the /etc/group and /etc/passwd files respectively. This adds error correction, however, for the latter two, use "usermod" or your systems gui users configuration instead. You shouldn't log into kde or gnome as root, period. That's what "su" & "sudo" are for.

Running a web browser as root is very dangerous. This is the number one vector for malware on windows machines. Even if you are just connecting to a local service, a mistake can be dangerous.
 
Old 12-17-2007, 10:54 AM   #11
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
thats fine i agree .....but what are the changes to be made to make it work???
any commands to be typed in console...etc..
the motive is too make the browser work normally from root....which is not working now....

Last edited by majji.hari; 12-17-2007 at 10:56 AM.
 
Old 12-17-2007, 11:01 AM   #12
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Try starting the browser from the shell and see if any error messages are printed in the console.
 
Old 12-18-2007, 05:03 AM   #13
majji.hari
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
when im typing mozilla(or ./mozilla) in console it is just comming to a new line without showing any error.
-------------------------------
im not using fritos loving monkey code

Last edited by majji.hari; 12-18-2007 at 05:09 AM.
 
  


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
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
IBM WAS says "Server launched but failed initialization" Rinish Linux - Software 1 01-25-2006 11:11 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
WineX CVS "IKernel.exe could not be launched" ZaphodBeeblebro Linux - Software 1 10-20-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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