The officially official Devuan Forum!

You are not logged in.

#1 2020-07-17 04:40:55

ofvergara
Member
Registered: 2020-07-17
Posts: 14  

New forum member

Hello devuan team,
I am a new registered member in the forums, although I have been lurking from the outside since early 2019.

I am currently using one of the best linux distributions for normal *gui* people: suse linux enterprise desktop 11 sp4 with gnome 2.28
This is the last version without systemd (by the way, I do only a few commands in the terminal, like installing rpms, converting files with ffmpeg, and a few more but that's it).
I also like that I can use root gui for some admin tasks. I am the only user in this laptop and access to gui root is essential.

Some history: began with computers as a savvy end user since the win3.1 days (1997), in those days quake1 and duke nukem 3d were huge hits.

I started timidly using linux back in 2004 with suse linux personal 9.1 and then dropped it after a few months and went back to windows.
When opensuse 10.3 appeared on the scene, I decided to return and check it out, and started using it more frequently; when SLED10 was released, I went ahead and installed it (around 2010), at this point I had moved definitely to linux, like 99.5% of the time consistently since that time. Later I installed SLED11 and stayed there until now.

Unfortunately, it's showing its age, I haven't updated any programs for more than 3 years (end of life); and even tough it's still performing great, I can't stay here forever; and since last year I'm evaluating other linux options.
New distro versions are now coming with systemd, and I would rather continue with a proven init system and not use one that wants to become another svchost.exe

I evaluated recently opensuse 15.2 with mate desktop and it looks awesome, but the fact that systemd is inside doing its thing, it doesn't make me comfortable. Then I started checking more on devuan.

I evaluated initially devuan 3 beowulf with mate desktop inside virtualbox, but got no sound (I know, the release notes, yet remember that i am not not a command-line-interface individual so i did not know how to fix it neither I tried to venture. When I had issues like this, I used to go to root gui and open gedit, and make the modifications).

Then I installed devuan 2.1 ascii with mate and later cinnamon. These were better options for me, however, not having access as root in a gui, it's an important item to check on my list.

Then, I commenced to review derivatives, I probably tried like 6-8 of them, not finding one that I liked. Then other systemd-free distros, like pcLinuxOS, Alpine, Void and others.

Right before I gave up and went for opensuse again, recently came across with devuan virage linux 3.1. This one is based on beowulf with xfce, although with newer kernel; lots of music applications (audio is not my thing, but the desktop environment layout looks great) and I'm able to sign in as root. Yay!

It has a weird way to install on disk yet it works great in virtualbox and I am happily evaluating it; I am trying to get around the synaptics package manager gui and customizing xfce, it's the first time i'm using it after more than a decade with gnome.
I already installed firefox and removed chromium as practice.
So this might be the option I was looking for. I am trying to get more acquainted with it over the days. So you will be reading more from me asking questions since I don't have any devuan/debian background.

After this learning phase and later feeling more comfortable around it, I can go ahead and install devuan in 3 more family computers (my brother's [x2] and dad's; all using opensuse at the moment).

As a final comment, I am happy in finally joining the forums and  participate whenever required.

Greetings from Colombia.

PS:
If you have any hints/tips in how to customize xfce desktop environment (plugins?) to look more like gnome 2.28/mate, your comments are more than welcome, since me, my brother and dad are used to this layout for years as well, we are 100% gui point-and-click people. Cheers everyone.

Offline

#2 2020-07-17 16:51:45

Tatwi
Member
From: Canada
Registered: 2018-10-24
Posts: 71  
Website

Re: New forum member

If you want to use a "root gui" to edit files, etc. in Debian/Devuan you have two simple options,

1. Log into the root account at the log in screen.
- The root user has all the same programs as any other user, just with complete control to break anything your heart desires.

2. Open the file manager as root.
- In Xfce, the default GUI, Thunar is the file manager.
- When you open Thunar as root you will be able to edit any config file with Mousepad/gedit/whatever by clicking it.

Steps:
- Open terminal
- Type: su
- Type the password for the root account when prompted
- Type: thunar

A root enabled Thunar window will open, with a convenient banner telling you it's a root window rather than a normal user window.

I personally og into the root account on the terminal only rarely and close to never as full GUI. However, I will fire up Thunar as root sometimes, because using a "root gui" is, as you say, easy and convenient.

All that said, Debian/Devuan is not like Ubuntu or Mint, which themselves are similar to SUSE when it comes to being pre-configured for desktop users. There's plenty of terminal config I need to futz with to make my Devuan desktop similar to my old Mint desktop. I imagine you'll find the same with configuring it to be similar to how SUSE 11 worked for you. Not being heavily customized is kind of a feature of Debian and thus Devuan.

Offline

#3 2020-07-18 22:42:02

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 219  

Re: New forum member

If you're a system admin and don't want to use/don't have a root login/ password (I don't) then open a user terminal and type:

~$ sudo nemo

or whatever's your graphical file manager and then at the prompt enter your user password..
This work just as well.

nb. I use Cinnamon (I'm another pre-systemd Mint refugee) so my main file manager is nemo and my file editor is gedit.

I find this a particularly useful way of finding my way around/editing system files when I've ssh -X in order to work on a remote PC.

Offline

#4 2020-07-19 10:11:54

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: New forum member

To edit system files with a GUI use the GVFS admin:// backend:

gedit admin:///full/path/to/file

^ That opens the GUI as the normal user and only invokes root privileges to actually save the file.


Brianna Ghey — Rest In Power

Offline

#5 2020-07-19 12:01:23

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 219  

Re: New forum member

There's obviously more than one way to skin a cat :-)

If I know exactly where a file I want to edit is:

~$ sudoedit /full/path/to/file

(having previously put

export EDITOR=/usr/bin/gedit

in my .bashrc).

Offline

#6 2020-07-19 15:18:44

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: New forum member

golinux misses gksu  . . .

Offline

#7 2020-07-19 15:32:44

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 219  

Re: New forum member

golinux wrote:

golinux misses gksu  . . .

Amen.

Offline

#8 2020-07-20 06:52:37

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: New forum member

golinux wrote:

golinux misses gksu  . . .

big_smile

Despite so-called security issues, I have to agree.

So much for the KISS principle...

tongue


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#9 2020-07-20 08:06:04

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: New forum member

I now use lxqt-sudo as my replacement for gksu.

Geoff

Offline

#10 2020-07-20 09:22:56

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 219  
Website

Re: New forum member

You can also use gtk-ssh-askpass from the repo of gnuinos. Add the following line to your sources.list:

deb http://packages.gnuinos.org/merged beowulf main

Download and install gnuinos-keyring:

$ wget https://packages.gnuinos.org/gnuinos/pool/main/g/gnuinos-keyring/gnuinos-keyring_2020.05.03_all.deb
$ sudo dpkg -i gnuinos-keyring_2020.05.03_all.deb

Update the repository and install the mentioned package afterwards:

$ sudo apt-get update
$ sudo apt-get install gtk-ssh-askpass

From there you'll be able to run graphical applications as root by typing (in this example, for the case of synaptic):

$ gkt-askpass synaptic

Keep in mind that /usr/bin/gtk-askpass restricts the use of /usr/sbin/gtk-ssh-askpass to a few applications. By default:

case $1 in
	pcmanfm|thunar|synaptic|gparted|bleachbit)
		SUDO_ASKPASS=/usr/sbin/gtk-ssh-askpass sudo -A $1
		;;
	*) ;;
esac

But you can edit this file as root and add/remove whatever you want. If you want to narrow it only to synaptic and gparted, for instance, then you may leave it as follows:

case $1 in
	synaptic|gparted)
		SUDO_ASKPASS=/usr/sbin/gtk-ssh-askpass sudo -A $1
		;;
	*) ;;
esac

Gtk-ssh-askpass is installed by default in the images of gnuinos beowulf:

https://www.gnuinos.org/Beowulf/

Here you are a screenshot:

gtk-ssh-askpass screenshot

Last edited by aitor (2020-07-20 09:43:11)


If you work systematically, things will come by itself (Lev D. Landau)

Offline

Board footer