On 31 Oct 2025 at 18:14, Samuel Sieb wrote:
Date sent: Fri, 31 Oct 2025 18:14:43 -0700
Subject: Re: Issue with Fedora 43 difference with gedit and
geany with root
user.
To: [email protected]
From: Samuel Sieb <[email protected]>
Send reply to: Community support for Fedora users
<[email protected]>
> On 10/31/25 5:59 PM, Michael D. Setzer II via users wrote:
> > Have generally used geany for editing lots of files with both regular
> > user and root user, but after upgrading a test machine it no longer
> > worked.
> >
> > Running as regular user was fine, but runnings as root, would fail,
> > and would then mess up with regular user since it would create a
> > file .config/geany that was owned by root? Had to delete that file to
> > fix issue.
>
> How is it failing?
> How are you running it as root that it would create a config file in the
> local user's home?
Just run geany as root
# geany
(geany:461851): Gtk-WARNING **: 18:40:22.935: Could not load a
pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could
not be found.
**
Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon:
assertion failed (error == NULL): Failed to load
/usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader
process exited early with status '1'Command:
"bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind"
"/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache"
"/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs"
"/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME"
"/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv"
"XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib"
"--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d"
"/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf"
"/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache"
"/usr/lib/fontconfig/cache" "--bind-try"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg" "--setenv" "XDG_CACHE_HOME"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg" "--seccomp" "19" "/usr/libexec/glycin-loaders/2+/glycin-svg"
"--dbus-fd" "18" (gdk-pixbuf-error-quark, 0)
Bail out!
Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon:
assertion failed (error == NULL): Failed to load
/usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader
process exited early with status '1'Command: "bwrap"
"--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr"
"--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache"
"--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home"
"--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home"
"--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv"
"XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib"
"--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d"
"/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf"
"/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache"
"/usr/lib/fontconfig/cache" "--bind-try"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg" "--setenv" "XDG_CACHE_HOME"
"/home/msetzerii/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-
svg" "--seccomp" "19" "/usr/libexec/glycin-loaders/2+/glycin-svg"
"--dbus-fd" "18" (gdk-pixbuf-error-quark, 0)
Aborted (core dumped) geany
Then it creates file
# pwd; ls -l
/home/msetzerii/.config/geany
total 16
drwx------. 1 msetzerii msetzerii 32 Sep 3 09:58 filedefs
-rw-r--r--. 1 msetzerii msetzerii 5194 Oct 31 17:53 geany.conf
lrwxrwxrwx. 1 root root 42 Oct 31 18:40
geany_socket_setzcodell2.dyndns.org__79 ->
/run/user/1000/geany/geany_socket.a4f38b0b
-rw-r--r--. 1 msetzerii msetzerii 0 Sep 3 09:58 keybindings.conf
-rw-r--r--. 1 msetzerii msetzerii 863 Oct 31 17:53 session.conf
drwx------. 1 msetzerii msetzerii 0 Sep 3 09:58 tags
drwx------. 1 msetzerii msetzerii 42 Sep 3 09:58 templates
Then if try to run geany as regular user
$ geany
(geany:462001): Geany-WARNING **: 18:43:17.886: Geany tried to
access the Unix Domain socket of another instance running as
another user.
This is a fatal error and Geany will now quit.
Doesn't actually quit, have to do Ctrl-C
$ rm geany_socket_setzcodell2.dyndns.org__79
$ geany
Then it works.
Connected to machine using VNC with port 79
Thanks.
>
> Why would you be running "geany" as the root user anyway?
>
> I tested "sudo gedit" and it works fine, but of course I'm using
> Wayland. If you're using X, you'll probably have to grant permissions.
>
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:[email protected]
mailto:[email protected]
mailto:[email protected]
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue