Linux command "su -" and gnome Evolution under Tumbleweed

Hi everybody,

I am not sure that I am addressing the right forum. If its not the right one, please, root me to right forum.

I’m running Gome Evolution 3.48.0 under Opensuse Tumbleweed (Gnome 44.0 with Wayland, 6.2.29-1). Evolution runs very well under both a user and root account .

I’m facing the following issue:

From a user account à use su - to switch to root . Just having typed the root password an empty occurence of Evolution is displaid as if I have just installed it and I had to create a first email account :

rene@localhost:~> su -
Mot de passe :

** (evolution:8052): WARNING **: 14:26:33.690: Failed to canonicalize path /root/.local/share/evolution/preview-plugins: No such file or directory

** (evolution:8052): CRITICAL **: 14:26:33.690: Attempted to add disallowed path to sandbox: /root/.local/share/evolution/preview-plugins

I don’t want to start Evolution any time I use su -, neither to initiate a new customization.

This appeared after having another issue with Evolution, with was solved. I may have made wrong actions that I am not able to remind.

I’m seeking your help to solve this issue.

Many thanks and regards.

René

The problem is I think Evolution is started/active for the root user, or do you want that to happen?

I do not immediately see how that can happen as consequence of issuing “su” but maybe it is time to start using “sudo” instead of “su”. Does that also trigger the problem?

Why are you running it under root??? In general that sound like a bad idea. You are bypassing much security :dizzy_face:

Home for root is in /root not /home. This could be the issue.

Hi Marel,

Thank you for your message.

I DO NOT want Evolution be active for the root user. This behaviour is new. Before few days ago this did not occure and “su -” worked correctly and did not start Evolution.

Which configuration files or other files I could browse where Evolution could be set to be active upon this “su -” command?

I tried to see Evolution config files? I’m not sure to have exhaustively took a loo at them.

Are they some configuration files for su?

Thanks and regards.

René

Maybe you have some alias defined…

What happened in between? Did you run a “zypper dup”?

How about sudo, did you give that a try?

Can you post the output of “ps aux | grep -i evolution” running as user and running as root?

Hi Marel,

  1. I did run a zypper dup : nothing changed, “su -” starts Evolution

  2. Sudo runs correctly without triggering Evolution

  3. Here is the output of ps aux | grep -i evolution

rene@localhost:~> ps aux | grep -i evolution as user
rene 2587 0.0 0.3 1227264 61308 ? Ssl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-source-registry
rene 2669 0.0 0.4 1938120 67576 ? Ssl 10:29 0:03 /usr/libexec/evolution-data-server/evolution-calendar-factory
rene 2682 0.0 0.1 744008 32100 ? Ssl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-addressbook-factory
rene 2922 0.0 0.5 1099496 86984 ? Sl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-data-server/evolution-alarm-notify
root 3994 0.0 0.2 1217900 47284 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-source-registry
root 4016 0.0 0.5 885808 83232 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-data-server/evolution-alarm-notify
root 4058 0.0 0.2 1333300 34160 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-calendar-factory
root 4075 0.0 0.1 748596 30432 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-addressbook-factory
rene 11250 17.7 1.7 92872740 283424 ? SLl 21:44 0:05 /usr/bin/evolution
rene 11555 0.0 0.0 6540 2560 pts/1 S+ 21:45 0:00 grep --color=auto -i evolution

  1. as root

rene@localhost:~> su root
Mot de passe :
localhost:/home/rene # ps aux | grep -i evolution
rene 2587 0.0 0.3 1227264 61308 ? Ssl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-source-registry
rene 2669 0.0 0.4 1938120 67576 ? Ssl 10:29 0:03 /usr/libexec/evolution-data-server/evolution-calendar-factory
rene 2682 0.0 0.1 744008 32100 ? Ssl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-addressbook-factory
rene 2922 0.0 0.5 1099496 86984 ? Sl 10:29 0:00 /usr/libexec/evolution-data-server/evolution-data-server/evolution-alarm-notify
root 3994 0.0 0.2 1217900 47284 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-source-registry
root 4016 0.0 0.5 885808 83232 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-data-server/evolution-alarm-notify
root 4058 0.0 0.2 1333300 34160 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-calendar-factory
root 4075 0.0 0.1 748596 30432 ? Sl 10:31 0:00 /usr/libexec/evolution-data-server/evolution-addressbook-factory
rene 11250 1.7 1.7 92871420 281768 ? SLl 21:44 0:06 /usr/bin/evolution
rene 11571 15.0 2.9 3235348 473676 ? Sl 21:45 0:45 /usr/lib64/firefox/firefox Linux command "su -" and gnome Evolution under Tumbleweed - #6 by marel
root 11968 0.0 0.0 6540 2560 pts/1 S+ 21:50 0:00 grep --color=auto -i evolution

  1. I have noted that “sudo root” works correctly without triggering Evolution

Speculation from me…is there a .desktop file associated with it located in /etc/xdg/autostart?

Hi,
Thank you for your message.

Please find here the list of desktop files in /etc/xdg/autostart:

localhost:/etc/xdg/autostart # ls -l
total 172
-rw-r–r-- 1 root root 227 20 mars 06:46 geoclue-demo-agent.desktop
-rw-r–r-- 1 root root 8572 20 mars 06:42 gnome-keyring-pkcs11.desktop
-rw-r–r-- 1 root root 8099 20 mars 06:42 gnome-keyring-secrets.desktop
-rw-r–r-- 1 root root 6638 20 mars 06:42 gnome-keyring-ssh.desktop
-rw-r–r-- 1 root root 305 30 mars 23:33 hplip-systray.desktop
-rw-r–r-- 1 root root 2090 29 mars 23:49 orca-autostart.desktop
-rw-r–r-- 1 root root 346 31 mars 22:55 org.gnome.DejaDup.Monitor.desktop
-rw-r–r-- 1 root root 3442 24 mars 20:06 org.gnome.Evolution-alarm-notify.desktop
-rw-r–r-- 1 root root 253 24 mars 17:04 org.gnome.SettingsDaemon.A11ySettings.desktop
-rw-r–r-- 1 root root 248 24 mars 17:04 org.gnome.SettingsDaemon.Color.desktop
-rw-r–r-- 1 root root 246 24 mars 17:04 org.gnome.SettingsDaemon.Datetime.desktop
-rw-r–r-- 1 root root 268 24 mars 17:04 org.gnome.SettingsDaemon.Housekeeping.desktop
-rw-r–r-- 1 root root 257 24 mars 17:04 org.gnome.SettingsDaemon.Keyboard.desktop
-rw-r–r-- 1 root root 255 24 mars 17:04 org.gnome.SettingsDaemon.MediaKeys.desktop
-rw-r–r-- 1 root root 248 24 mars 17:04 org.gnome.SettingsDaemon.Power.desktop
-rw-r–r-- 1 root root 267 24 mars 17:04 org.gnome.SettingsDaemon.PrintNotifications.desktop
-rw-r–r-- 1 root root 247 24 mars 17:04 org.gnome.SettingsDaemon.Rfkill.desktop
-rw-r–r-- 1 root root 267 24 mars 17:04 org.gnome.SettingsDaemon.ScreensaverProxy.desktop
-rw-r–r-- 1 root root 246 24 mars 17:04 org.gnome.SettingsDaemon.Sharing.desktop
-rw-r–r-- 1 root root 245 24 mars 17:04 org.gnome.SettingsDaemon.Smartcard.desktop
-rw-r–r-- 1 root root 252 24 mars 17:04 org.gnome.SettingsDaemon.Sound.desktop
-rw-r–r-- 1 root root 255 24 mars 17:04 org.gnome.SettingsDaemon.UsbProtection.desktop
-rw-r–r-- 1 root root 252 24 mars 17:04 org.gnome.SettingsDaemon.Wacom.desktop
-rw-r–r-- 1 root root 243 24 mars 17:04 org.gnome.SettingsDaemon.Wwan.desktop
-rw-r–r-- 1 root root 245 24 mars 17:04 org.gnome.SettingsDaemon.XSettings.desktop
-rw-r–r-- 1 root root 890 19 sept. 2022 org.opensuse.opensuse_welcome.desktop
-rw-r–r-- 1 root root 4640 20 mars 06:38 polkit-gnome-authentication-agent-1.desktop
-rw-r–r-- 1 root root 8420 24 mars 16:37 print-applet.desktop
-rw-r–r-- 1 root root 5315 30 mars 00:24 pulseaudio.desktop
-rw-r–r-- 1 root root 405 30 mars 00:24 tracker-miner-fs-3.desktop
-rw-r–r-- 1 root root 12429 30 mars 00:25 user-dirs-update-gtk.desktop
-rw-r–r-- 1 root root 233 20 mars 08:33 xdg-user-dirs.desktop

René

I’m not a Gnome or Evolution user, but the only one that I note is related to Evolution is “org.gnome.Evolution-alarm-notify.desktop”. How is it configured?

@renepaul Hi, you opening post you state “Evolution runs very well under both a user and root account”?

I see no instance of an evolution process running as root user when using su -.

host:~ # ps -ef | grep evolution
username  2120  1813  0 09:14 ?        00:00:00 /usr/libexec/evolution-data-server/evolution-source-registry
username  2183  1813  0 09:14 ?        00:00:00 /usr/libexec/evolution-data-server/evolution-calendar-factory
username  2269  1813  0 09:14 ?        00:00:00 /usr/libexec/evolution-data-server/evolution-addressbook-factory
username  2418  2049  0 09:14 ?        00:00:00 /usr/libexec/evolution-data-server/evolution-data-server/evolution-alarm-notify
root     15607  4665  0 19:02 pts/0    00:00:00 grep --color=auto evolution

I don’t user evolution either…

Did you login as root user via gdm at some point? What configuration files are in /root/ ?

ls .local/share/ .cache .config
1 Like