Latest Raspi 4 32 bit, how do I give root permission to run GUI applications?

Jun 19, 2022 Last reply: 4 years ago 35 Replies

-=> Jan Panteltje wrote to All <=-

JP> Latest Raspi 4 32 bit, JP> how do I give root permission to run GUI applications?? JP> Somehow those seem blocked.

You don't want to do that.

Don't do that.

... So easy, a child could do it. Child sold separately. === MultiMail/Linux v0.52

-=> The Natural Philosopher wrote to Dan Clough <=-

TNP> Just set up a root login and run your windows session as root.

I wasn't the one asking the question.

Are you as big an idiot as he is?

... Ignorance can be cured. Stupid is forever. === MultiMail/Linux v0.52

-=> Jan Panteltje wrote to Dan Clough <=-

JP> Wel, been root since 1998, also on older vrions for pi

JP> But figured things out JP> I boot by default without X to a command line JP> Tried some things before that in the original version with xhost+ JP> and now I can simply as root from the command line type JP> startx JP> I did write my own .xinitrc for root JP> chromium now only wants to run with --no-sandbox. JP> A lot of s*it stuff now also is gone, like auto-mount :-) JP> Needs some more attention, but now my X has 9 desktops, JP> runs fvwm, xfm, 8 terminals, same as on all my other systems JP> zsh as shell.. JP> Much much better than what the distro gives you.

You're an idiot.

... Ignorance can be cured. Stupid is forever. === MultiMail/Linux v0.52

Latest Raspi 4 32 bit, how do I give root permission to run GUI applications?? Somehow those seem blocked.


It hasn't come up for me on a Pi but on my Linux desktop I usually use sudo. Usually to run GParted.

On a sunny day (Sun, 19 Jun 2022 08:40:00 +1200) it happened snipped-for-privacy@f1.n.z10700.fidonet.org (Dan Clough) wrote in snipped-for-privacy@f1.n.z10700.fidonet.org>:

Wel, been root since 1998, also on older vrions for pi

But figured things out I boot by default without X to a command line Tried some things before that in the original version with xhost+ and now I can simply as root from the command line type startx I did write my own .xinitrc for root chromium now only wants to run with --no-sandbox. A lot of s*it stuff now also is gone, like auto-mount :-) Needs some more attention, but now my X has 9 desktops, runs fvwm, xfm, 8 terminals, same as on all my other systems zsh as shell.. Much much better than what the distro gives you.

Still work in progress

Just set up a root login and run your windows session as root.

GParted will ask for root credentials if started from non-root account, no need to sudo before.

xhost +local:0

su or sudo app

when done

xhost -local:0

check the man page for the syntax

-=> The Natural Philosopher wrote to Dan Clough <=-

TNP> On 19/06/2022 09:50, Dan Clough wrote: > -=> The Natural Philosopher wrote to Dan Clough <=- >

TNP> I wasn't talking to you

You need to learn how to properly quote a message when you reply, then.

You replied to me.

... So easy, a child could do it. Child sold separately. === MultiMail/Linux v0.52

-=> Ahem A Rivet's Shot wrote to Dan Clough <=-

AAS> He does, and I'm pretty sure he has a far deeper AAS> understanding of the implications than you do.

What makes you "pretty sure" of that? How could you possibly know something like that? That's right....... you couldn't.

AAS> Why ? What do you think is at risk ? <hint>only what's AAS> on the pi and anything that trusts the pi (probably nothing).

Okay, so you're an idiot too. Got it.

... Ignorance can be cured. Stupid is forever. === MultiMail/Linux v0.52

-=> Jan Panteltje wrote to Dan Clough <=-

JP> Well insults show your lack of understanding on the subject :-)

<SNIP remaining drivel, including "website" URL that is a 404>

More proof that you're an idiot.

... Ignorance can be cured. Stupid is forever. === MultiMail/Linux v0.52

On a sunny day (Sun, 19 Jun 2022 20:51:00 +1200) it happened snipped-for-privacy@f1.n.z10708.fidonet.org (Dan Clough) wrote in snipped-for-privacy@f1.n.z10708.fidonet.org>:

Well insults show your lack of understanding on the subject :-)

This morning I tested the new config on my normal morning web use, Usenet, news from several countries , sci.daily CNN, and the thing that struck me is: web browsing is *considerably* faster, that is when using chromium with --no-sandbox as root on my own X config. Probably logical as all the crap that normal raspian does in the background no longer is active on the system. I monitor usage too using vnstat, usage seems a bit lower too.. Chromium almost as fast as Ubuntu with firefox. Will try to install firefox on this raspi later if it does not ask to many MB.. (reaching download limit for this month) I have the latest Ubuntu now an a separate micro SDcard for my Pi4 8GB, and on USB stick the x86 version for my laptop... It is good to compare, Ubuntu is very nice with no problems so far.

As to being an idiot, well I wrote loads of soft Mr Couch :-) you can check my website http://panteltje,com/panteltje/newsflex/download.htmlRan my own webserver (now at godaddy) and what not Yesterday I was playing with my rtl-sdr stick and the xpsa spectrum analyzer I wrote and listening to pa2non (am radio ham too). Maybe its all wasted on you, what did YOU do Mr Couch? There is some nice DVB-S stuff for raspi I wrote on that link too, hows you electronics wise gay?? BTW that Pi4 GB is configured as router too, so my laptop for example hangs from it at home all on a 4G Huawei USB stick in the Pi

Now as to latest raspian, *I* would fire those guys! it is a big security hole anybody with the pi account can do something like sudo rm -rf /* not even a password asked, and the same idiots who came up with that block X access for root?? How daft can you get, almost as daft as that rathead guy who came up with dbus! You know rathead started that crap by making libc incompatible, I spotted a rathead CD when was it? almost in the last century? and tried it, libc compatibility problems.. They use it to lock people into their system, dbus was simply an extension of that, ditched rathead immediately! some kernel pluckers fell for it :-) If you do ps -avx these days there is so much crap running that we really need a new OS. NONE of that s*it is really needed!!

So I keep playing and things work here.

Slackware was really good, one man show, internally consistent, this laptop still runs an old version panteltje20: ~ # uname -a Linux panteltje20 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux

Wow 11 years, used every day, has lots of stuff, only needs a more recent browser. Of course I am hacked shot, crashed, eaten and what not ??? No! You know maybe see-eye-a has already put some trace software or bits are being coined, or like few weeks ago email asking for bitcoins or else, PLAY! Internet is wild wild west... But still online...

What exactly are you afraid of Mr Couch?

I wasn't talking to you

He does, and I'm pretty sure he has a far deeper understanding of the implications than you do.

Why ? What do you think is at risk ? <hint>only what's on the pi and anything that trusts the pi (probably nothing).

Now if you were to say - don't trust that machine with sensitive data I suspect you'd find it was an unnecessary but valid warning.

Jan Panteltje wrote on 6/19/22 12:49 PM:

you could use gksudo

Insulting in public is very very bad habit. You are lucky you are in the virtual world, otherwise I guess you would be beaten so that you forget insulting.

Insulting means you are even worse.

You may take a more philosophical point of view and let the one kill himself, if he wants to.

I found out stupidity has no limits and only Enlightment can help

I didn't reply to anyone. I replied to the group. Usenet only allows a follow up, not a reply

At least I can construct a legal .sig..

see below. illegal .sig.

In your case, this seems true enough

On a sunny day (Mon, 20 Jun 2022 13:12:22 +0200) it happened Ralph Spitzner snipped-for-privacy@spitzner.org wrote in <t8pkmg$vqt$ snipped-for-privacy@dont-email.me:

what's gksudo?

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required