Chrome and Firefox glitch in remote

December 16, 2023, 20:26

jelox_

Hello, i cant open up firefox or Chrome in my Raspberry. It looks like this . Someone knows why or whtat to do? raspberry pi 4 im Trying it via remotedesktop

k9t33n

this exact thing has happened before with someone else, forgot how they fixed it tho

jelox_

couldnt find anything

null

Create a new user and log in with this user.

k9t33n

ah yes that was it

jelox_

Perfect, thanks it worked. First i tryed making a new "Admin" but that didnt worked. Freezes while loging in. But with a normal User IT worked: Sudo adduser (Name) And a PW Loging in with the new User. Thanks mellinux!

jelox_

Hello, ITS again me. Now i have another Problem. The new User (2) cant Install anything or Change path of Files. How can i add permissions or make another "Admin Account"

null

You must add the user to the sudo group. Then log out once and log in again. Then he can use sudo.

jelox_

i added user to sudo group, but if i try to copy a file to another folder i get "missing permission"

null

ls -lah

null

Who owns the file?

jelox_

denis2@raspberrypi:~ $ ls -lah total 184K drwx------ 17 denis2 denis2 4.0K Dec 17 19:57 . drwxr-xr-x 4 root root 4.0K Dec 17 19:04 .. -rw------- 1 denis2 denis2 35 Dec 17 19:09 .bash_history -rw-r--r-- 1 denis2 denis2 220 Dec 17 11:41 .bash_logout -rw-r--r-- 1 denis2 denis2 3.5K Dec 17 11:41 .bashrc drwxr-xr-x 9 denis2 denis2 4.0K Dec 17 18:48 .cache drwxr-xr-x 9 denis2 denis2 4.0K Dec 17 18:50 .config drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 19:30 Desktop drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Documents drwxr-xr-x 3 denis2 denis2 4.0K Dec 17 19:41 Downloads -rw-r--r-- 1 denis2 denis2 5.2K Dec 17 11:41 .face lrwxrwxrwx 1 denis2 denis2 5 Dec 17 11:41 .face.icon -> .face drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 18:48 .karaf drwx------ 4 denis2 denis2 4.0K Dec 17 11:42 .local drwx------ 4 denis2 denis2 4.0K Dec 17 11:42 .mozilla drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Music drwx------ 2 denis2 denis2 4.0K Dec 17 19:57 .pcsc11 drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Pictures -rw-r--r-- 1 denis2 denis2 807 Dec 17 11:41 .profile drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Public -rw-r--r-- 1 denis2 denis2 0 Dec 17 18:41 .sudo_as_admin_successful drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Templates drwx------ 1 denis2 denis2 0 Dec 17 19:57 thinclient_drives drwxr-xr-x 2 denis2 denis2 4.0K Dec 17 11:42 Videos -rw------- 1 denis2 denis2 114 Dec 17 19:41 .Xauthority -rw-r--r-- 1 denis2 denis2 22K Dec 17 19:33 .xorgxrdp.10.log -rw-r--r-- 1 denis2 denis2 21K Dec 17 19:57 .xorgxrdp.11.log -rw-r--r-- 1 denis2 denis2 31K Dec 17 19:09 .xorgxrdp.11.log.old -rw------- 1 denis2 denis2 6.3K Dec 17 19:41 .xsession-errors

jelox_

denis 2 is my secound acc

null

Which file did you want to move? And which command did you use?

jelox_

i wanted to install openhab. Bu it didnt executed with my secound account. so i wanted to install it with my main login. Because i cant use firefox or chrome with my main i wanted to load it with my secound and copy it in an folder, where i can use it with my main

jelox_

i looked, which groups admin has and addedd 2.nd login to each group

null

So it works now?

jelox_

no still not

null

Then again: Which command did you use to copy?

jelox_

sudo adduser

jelox_

groups admin

jelox_

sudo admin newuser "group (dialout, admin, sudo, users etc.)

null

Which command did you use to copy the file?

null

<@308614375898349578>

jelox_

i tryed to move it via remote desktop

null

Then the authorizations were not correct. With Linux, it is not always enough to simply add the user to sudo or admin. Especially since you work in the GUI without sudo rights anyway.

jelox_

okay thanks