Nemesis artix based: a few problems

Arch based Porteus community project
User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 970
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Nemesis artix based: a few problems

Post#16 by ncmprhnsbl » 25 Oct 2017, 22:40

does anything else(other than chromium) work like that? just to check it's not just chromium..
i hardly ever run X as root these days, a terminal and filemanager covers most of what i need to do..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Nemesis artix based: a few problems

Post#17 by francois » 27 Oct 2017, 03:48

Code: Select all

[porteus ~]# su -c kwrite guest
QStandardPaths: wrong ownership on runtime directory /run/user/0, 0 instead of 1000
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.
[porteus ~]#

Code: Select all

[porteus ~]# su -c dolphin guest
QStandardPaths: wrong ownership on runtime directory /run/user/0, 0 instead of 1000
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.
[porteus ~]# 
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Nemesis artix based: a few problems

Post#18 by francois » 02 Nov 2017, 17:33

Should it be this way under guest account to install packages or resorting to su instead:

Code: Select all

[guest@porteus ~]$ sudo pman -S deepin
[sudo] password for guest: 
guest is not in the sudoers file.  This incident will be reported.
[guest@porteus ~]
$
Thanks.

Edit:
The answer could be yes or resorting to make guest a sudoer:
https://bbs.archlinux.org/viewtopic.php?id=148870
as root open the file /etc/sudoers with your text editor (like nano) and this line:

Code: Select all

guest   ALL=(ALL) ALL
under
as root open the file /etc/sudoers with your text editor (like nano) and this line:

Code: Select all

root   ALL=(ALL) ALL
Voltaire: Le mieux est l'ennemi du bien.

Post Reply