You are not logged in.

#1 2021-12-19 18:10:27

behDev
Member
Registered: 2021-12-17
Posts: 18

can't run GUI apps from new users

Hello. I crated user with useradd command but can't running GUI applications with new user and i get permission denied error.

Offline

#2 2021-12-19 18:22:22

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: can't run GUI apps from new users

Please paste the exact command you type and the exact output you get. https://bbs.archlinux.org/viewtopic.php?id=57855


pkgshackscfgblag

Offline

#3 2021-12-20 00:02:40

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: can't run GUI apps from new users

Not System Administration; Moving to Applications & Desktop Environments forum.

Offline

#4 2021-12-20 05:53:12

behDev
Member
Registered: 2021-12-17
Posts: 18

Re: can't run GUI apps from new users

ayekat wrote:

Please paste the exact command you type and the exact output you get. https://bbs.archlinux.org/viewtopic.php?id=57855

useradd -m guest
su guest
firefox

ouput:

Authorization required, but no authorization protocol specified
Error: cannot open display: :0.0

Offline

#5 2021-12-20 06:00:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: can't run GUI apps from new users

Firefox needs X to run.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2021-12-20 07:07:08

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: can't run GUI apps from new users

Also:

behDev wrote:
su guest

That should be

su - guest

Offline

#7 2021-12-20 07:15:54

seth
Member
Registered: 2012-09-03
Posts: 50,927

Offline

#8 2021-12-20 08:34:58

behDev
Member
Registered: 2021-12-17
Posts: 18

Re: can't run GUI apps from new users

Head_on_a_Stick wrote:

Also:

behDev wrote:
su guest

That should be

su - guest

I got error when run firefox:

Error: no DISPLAY environment variable specified

Offline

#9 2021-12-20 08:35:35

behDev
Member
Registered: 2021-12-17
Posts: 18

Re: can't run GUI apps from new users

jasonwryan wrote:

Firefox needs X to run.

well, how do we give other users access to X?

Offline

#10 2021-12-20 08:36:35

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: can't run GUI apps from new users

Stop bumping and read replies before you post.
Also reasonably redact quotes.

Offline

Board footer

Powered by FluxBB