----- Original Message -----
From: "tito via Dng" <dng@???>
To: <dng@???>
Sent: Tuesday, January 06, 2026 2:09 PM
Subject: Re: [DNG] Enabling root login in Daedalus
> On Tue, 6 Jan 2026 13:57:34 -0500
> "Ismael L. Donis Garcia" <slibre@???> wrote:
>
>> ----- Original Message -----
>> From: "Steve Litt" <slitt@???>
>> To: <dng@???>
>> Sent: Monday, January 05, 2026 9:02 PM
>> Subject: Re: [DNG] Enabling root login in Daedalus
>>
>>
>> > Ismael L. Donis Garcia said on Mon, 5 Jan 2026 09:53:55 -0500
>> >
>> >>I tried logging into several graphical environments:
>> >> Mate
>> >> KDE
>> >> LXQT
>> >> XFCE
>> >>
>> >>I can't log into any of them. I'm using the "sddm" window manager.
>> >
>> > You should be glad it won't let you log into X or Wayland as root. One
>> > should *never* log into a graphical environment as root, for security
>> > and other reasons.
>> >
>> > You should log into X or Wayland as yourself, and if you absolutely
>> > must run a GUI program as user root, use sudo or su -c to do that.
>> >
>> > SteveT
>> >
>> > Steve Litt
>> >
>>
>> I get the following error; it's a program built in Lazarus + fpc
>>
>> root@clt-iyc-03:~# su -c
>> '/home/idonis/Documentos/ismael/conta_lazarus/librerias/Sistemas/release/linux_amd64/regsystem'
>>
>> (regsystem:18518): Gtk-WARNING **: 13:54:24.602: cannot open display:
>>
>> Best Regards
>> --
>> Ismael
>> Web Site: https://gitlab.uic.cu/ismael.donis/
>
> Hi,
> try pkexec - Execute a command as another user:
>
> pkexec /usr/sbin/gparted
>
>
> see man pkexec for the details.
>
> Ciao,
> Tito
>
it give me the same error:
root@clt-iyc-03:~# su -c
'/home/idonis/Documentos/ismael/conta_lazarus/librerias/Sistemas/release/linux_amd64/regsystem'
(regsystem:18518): Gtk-WARNING **: 13:54:24.602: cannot open display:
root@clt-iyc-03:~# pkexec
/home/idonis/Documentos/ismael/conta_lazarus/librerias/Sistemas/release/linux_amd64/regsystem
(regsystem:27987): Gtk-WARNING **: 15:01:09.740: cannot open display:
root@clt-iyc-03:~#
Best Regards
--
Ismael
Web Site:
https://gitlab.uic.cu/ismael.donis/