LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2012, 04:39 AM   #1
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Rep: Reputation: Disabled
accidental google-chrome pops by itself in linux


Hello, a new windows of chrome browser suddenly pops on top of all opened programs. This only happens if I have chrome browser opened. I tried to re install but the problem persists. I also checked if the that was because of extensions by removing them. But neither that was true. I run google chrome as root in my linux desktop. How could I track the issue causing this problem?
 
Old 11-26-2012, 05:48 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
As root? hmmm.

Anyway, run chrome from a vt, and see if any clues are provided when the new window opens.

cheers,
 
Old 11-26-2012, 06:12 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why are you running your browser as root?
 
Old 11-26-2012, 06:23 AM   #4
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Why are you running your browser as root?
Because I use slackware in root's X (it much more comfortable) and google-chrome said it could not be run by root after its installation. So I appended
Code:
google-chrome --user-data-dir
to chrome's executable to make it work.
 
Old 11-26-2012, 06:41 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Running the GUI as root is one of the worst ideas you can have. Instead of using hacks to get Chrome working you should create an unprivileged user for your everyday work, unless you really intend to run a totally insecure system.
 
Old 11-26-2012, 06:47 AM   #6
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Running the GUI as root is one of the worst ideas you can have. Instead of using hacks to get Chrome working you should create an unprivileged user for your everyday work, unless you really intend to run a totally insecure system.
I tried to run chrome with an unprivileged user from root's GUI but then the I sound does not work..
 
Old 11-26-2012, 08:33 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why do you run the GUI as root? There is absolutely no sane reason for that. Run the GUI as unprivileged user, so no dirty hacks are needed and you are magnitudes more secure.
 
Old 11-26-2012, 09:21 AM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272
Quote:
Originally Posted by tautvilas View Post
I tried to run chrome with an unprivileged user from root's GUI but then the I sound does not work..
TobiSGD is correct. Running as root is an extremely dangerous thing to do. No matter how proficient you think you might be, sooner or later your own system will, Oops!, hand you your head on a platter. We have probably all had that experience at one time or another.
 
  


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
Google Chrome for Linux [Fedora 8] Bhagyesh Linux - Newbie 20 04-24-2013 06:17 AM
Google Chrome New Tab Page (!)= Chrome OS Desktop Kenny_Strawn Linux - General 6 02-19-2011 05:36 PM
Opinions about Google Linux (A.K.A. Chrome OS) Kenny_Strawn Linux - General 23 01-05-2011 05:22 AM
LXer: As Goes Chrome OS, So Goes Google's Chrome Browser LXer Syndicated Linux News 4 10-09-2010 03:18 PM
LXer: Google Chrome . . . for Linux?! LXer Syndicated Linux News 0 09-20-2008 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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