Get help with XFCE specific problems
-
amplatfus
- Samurai
- Posts: 153
- Joined: 30 Oct 2012, 14:55
- Distribution: MATE Porteus-v5.0rc1
- Location: Romania
Post#1
by amplatfus » 22 Jul 2017, 13:21
Hi,
I managed to run Chrome under root using below sh
Code: Select all
sudo su guest << BASH
/opt/google/chrome/google-chrome --start-maximized;
BASH
But I have no sound. In LXDE same script, same version of Chrome worked fine with sound under root.
But now with Porteus-v3.2.2 XFCE Kernel: 4.9.0-porteus I have sound only when I run chrome under guest.
Could you please give a hint?
Many thanks,
amplatfus
Last edited by
amplatfus on 26 Jul 2017, 17:44, edited 2 times in total.
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm
amplatfus
-
Ed_P
- Contributor
- Posts: 8379
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#2
by Ed_P » 22 Jul 2017, 17:01
Hi amplatfus.
May I ask why you want to run Chrome as root? Especially if it runs ok as guest?
Ed
Ed_P
-
amplatfus
- Samurai
- Posts: 153
- Joined: 30 Oct 2012, 14:55
- Distribution: MATE Porteus-v5.0rc1
- Location: Romania
Post#3
by amplatfus » 22 Jul 2017, 17:28
Ed_P wrote:Hi amplatfus.
May I ask why you want to run Chrome as root? Especially if it runs ok as guest?
Because I frequently need to edit folders that are created using a ftp account. And these foldere are made automated as root and I cannot change it.
BR
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm
amplatfus
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#4
by francois » 22 Jul 2017, 17:55
I do not know why but, there is no sound with:
So I use opera.
Prendre son temps, profiter de celui qui passe.
francois
-
beny
- Full of knowledge
- Posts: 2100
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#5
by beny » 22 Jul 2017, 19:47
i have chromium so you have to edited /etc/chromium/00-default.conf with this line: # Options to pass to chromium:
CHROMIUM_FLAGS="--user-data-dir"
and for me work to use it with root, take a try
beny
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#6
by francois » 23 Jul 2017, 02:42
All you need to do is to modify the last line of the file /opt/google/chrome/google-chrome from:
to:
Code: Select all
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
Also, in my case:
If you need to run as root for development, rerun with the --no-sandbox flag:
Code: Select all
root@porteus:~# /opt/google/chrome/google-chrome --no-sandbox
And I get a message about security that will suffer.
Prendre son temps, profiter de celui qui passe.
francois
-
amplatfus
- Samurai
- Posts: 153
- Joined: 30 Oct 2012, 14:55
- Distribution: MATE Porteus-v5.0rc1
- Location: Romania
Post#7
by amplatfus » 31 Jul 2017, 20:38
Thank you. I choose to use guest account. All the best,
amplatfus
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm
amplatfus
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#8
by francois » 06 Jan 2019, 16:31
No reason to why it works again, but it works now:
Prendre son temps, profiter de celui qui passe.
francois
-
amplatfus
- Samurai
- Posts: 153
- Joined: 30 Oct 2012, 14:55
- Distribution: MATE Porteus-v5.0rc1
- Location: Romania
Post#9
by amplatfus » 06 Jan 2019, 17:36
Happy New Year! Thanks so much for follow up. In the meantime I switched my profile from root to guest with all my settings.
All the best!
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm
amplatfus
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#10
by francois » 06 Jan 2019, 18:08
Happy new year to you amplatfus.
It will be good for short term posterity.
Prendre son temps, profiter de celui qui passe.
francois
-
Flexdj
- Black ninja
- Posts: 62
- Joined: 10 Mar 2017, 13:05
- Distribution: Porteus
- Location: ростов
Post#11
by Flexdj » 01 Sep 2019, 00:55
sudo -u guest google-chrome
Flexdj
-
rchase
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Post#12
by rchase » 29 May 2021, 19:16
The proposed solutions (other than logging in as guest) do not seem to work;
su -c google-chrome guest
and
sudo -u guest google-chrome
produce
google-chrome: command not found
I downloaded the Porteus server edition of Chrome (89.0.4389.90) using update-browser and the module is shown as loaded, but it won't run from the root account. What is needed to run Chrome as root?
rchase
-
beny
- Full of knowledge
- Posts: 2100
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#13
by beny » 29 May 2021, 21:13
hi, via terminal or konsole start chrome with --no-sandbox, with opera work try it for...
beny