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

On a sunny day (Mon, 20 Jun 2022 07:45:00 +1200) it happened snipped-for-privacy@f1.n.z10720.fidonet.org (Dan Clough) wrote in snipped-for-privacy@f1.n.z10720.fidonet.org>:

aha you could not even figure out to replace a comma by a dot

Show us some code you wrote, some hardware you designed, some posting you did that made sense, else you are not worth following, but simply a waste of time and resources.

When usenet meets fido, it rarely ends well.

Graphical front for sudo so you can run graphical programs requiring root privileges from the command line without becoming root and starting a GUI.

Not all distros support it.

BBbutt on USENET nobody knows you're a dog.

...says the Fight-O-Net user who throws unnecessary initials into quotes. A saying about stones and glass houses comes to mind.

Even AOLers after the September that never ended weren't this annoying.

On a sunny day (Mon, 20 Jun 2022 18:13:38 -0000 (UTC)) it happened Martin Gregorie snipped-for-privacy@mydomain.invalid wrote in <t8qdch$4av$ snipped-for-privacy@dont-email.me:

Thank you

I looked at how Ubuntu does the browser thing. It seems to create a read-ony filesystem named 'snap' mounted on /dev/loop0 through /dev/loop5

The whole thing, including firefox, took about 500 MB to download for Rasperry (snap that is) takes about 1 GB space on the SDcard... Then runs snapd..

Maybe I should compile firefox from source some day and run it a root..

Jan Panteltje wrote on 6/21/22 11:22 AM:

  1. you can install firefox as a regular application ( from a debian .deb for instance)
2 why do you need to run firefox as r00t ?

-rasp

On a sunny day (Tue, 21 Jun 2022 12:20:56 +0200) it happened Ralph Spitzner snipped-for-privacy@spitzner.org wrote in <t8s622$q0b$ snipped-for-privacy@dont-email.me:

Well apt-get install firefox did not find anything but via snap you can install it. I do notice Chromium is much faster as root I am always root, I am the sys adm so to speak ;-) I also always watch what happens to the system, so if something strange happens I take action.

Why run as some user? All bullshit.

If anything messes up the system my backup SDcard is now 2 days old.. just swap cards No important info on the raspi.

Now it works really nice: I automatically boot as Pi to the command line I have a new .xinitrc in /home/pi so startx starts everything as pi But if I type sudo su a the command line and then startx the same .xinitrc is in /root/ and everything in X starts as root Also the config files for xfm and fvwm, so same 9 virtual desktops.. Nice way to compare

Something needs to change, way too long boot times, way to much crap running, things changed by people who do not understand Unix at all and have no clue of the hardware resulting in ever more bloat..

99% of all this can be done with a few lines of code. (I have written all that stuff, from this Usenet newsreader to email to what not) Exception is webbrowsers, I gave up on that as the spec is changing ever faster, mainly to accommodate more advertising it seems.

A multitasking OS is easy to write, done it in the Z80 days with just a few bytes of RAM I design things with simple Microchip PIC processors that are faster, zero boot times, more reliable, cheaper.. written in asm. Published plenty of those on my site panteltje,com look for download link.

So, Do not feel like writing a new OS now, Linux does most things But it needs stripping down. Maybe.. I have an old 1998 SLS Linux on a floppy... Maybe it would work..... you know Xfree days,, Before ALSA... Lynx browser...

Linux is dead?

Have you ever looked at NetBSD ? I think you might find it interesting.

Agreed.

Or Plan 9, which is broadly UNIX 2.0:

formatting link

Or Inferno, the successor to Plan 9 and thus effectively UNIX 3.0.

formatting link
Out of interest, Plan 9 was ported to the Pi by Richard Miller:
formatting link
He did the *first ever port of UNIX* outside of Bell Labs, to the Interdata 7/32 computer, back in 1976:
formatting link

On a sunny day (Tue, 21 Jun 2022 15:01:03 +0100) it happened Ahem A Rivet's Shot snipped-for-privacy@eircom.net wrote in snipped-for-privacy@eircom.net:

I did look for the several version of BSD last week Am on my download limit, so next month, only 9 days from now, I may give it a try

Instead of _just_ insults why not spell out WHY it's a bad idea? This has happenned too often.

Plonk!

And did you do a google to find the exact name to use?

I think the packge you might need to install is called firefox-esr

check out this page

formatting link

The hall mark of stupid is extrapolating 'advisable in many circumstances' to 'mandatory in all circumstances'.

Linux can run on anything from a IOT board in an appliance to a thousand user supercomputer, which gives plenty of 'circumstances'

I think someone has already called you an idiot, I'd like to second that, just in case anyone should read than and not realise what a fundamentally stupid thing it is to do.

---druck

Greetings Jan,

Should you decide to use FreeBSD you may get some mileage out of this:

This project shows how to obtain an appropriate ARM FreeBSD image and then install it on a Raspberry Pi 2B. (excerpt, more at the link)

formatting link
Danke,

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required