LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   accidental google-chrome pops by itself in linux (https://www.linuxquestions.org/questions/slackware-14/accidental-google-chrome-pops-by-itself-in-linux-4175438743/)

tautvilas 11-26-2012 04:39 AM

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?

mrclisdue 11-26-2012 05:48 AM

As root? hmmm.

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

cheers,

TobiSGD 11-26-2012 06:12 AM

Why are you running your browser as root?

tautvilas 11-26-2012 06:23 AM

Quote:

Originally Posted by TobiSGD (Post 4837169)
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.

TobiSGD 11-26-2012 06:41 AM

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.

tautvilas 11-26-2012 06:47 AM

Quote:

Originally Posted by TobiSGD (Post 4837182)
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..

TobiSGD 11-26-2012 08:33 AM

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.

cwizardone 11-26-2012 09:21 AM

Quote:

Originally Posted by tautvilas (Post 4837187)
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.


All times are GMT -5. The time now is 08:31 PM.