You are not logged in.

#1 2018-09-13 22:51:49

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Cinnamon: Unable to run nemo (ver 3.8.6) as root

I have a fully updated system running cinnamon + latest nemo 3.8.6

If I try to "open as root" from gui nothing happens, from terminal I get these errors either with sudo or pkexec:

>> sudo nemo
[sudo] password for me: 

(nemo:4553): GLib-GIO-CRITICAL **: 18:42:27.489: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(nemo:4553): GLib-GIO-CRITICAL **: 18:42:27.489: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Segmentation fault


me on Thu Sep 13 at 06:42 PM in ~ 
>> pkexec nemo

(nemo:4572): GLib-GIO-CRITICAL **: 18:42:41.190: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(nemo:4572): GLib-GIO-CRITICAL **: 18:42:41.190: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Segmentation fault (core dumped)

.

Any suggestions?
TIA

edit: Temporary fix: downgrade gtk3 down to 3.22.30-1 (https://bbs.archlinux.org/viewtopic.php … 2#p1807532)

Last edited by spsf64 (2018-09-18 11:16:54)


Sergio Schneider

Offline

#2 2018-09-13 23:03:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 25,758
Website

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Don't run it as root. Don't use sudo to try and run as root.
https://wiki.archlinux.org/index.php/Ru … ns_as_root


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2018-09-13 23:17:15

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

@jasonryan, there is an option to run as root from the gui, and it works fine with the stable repos, I posted in testing forum because it does not work anymore...
Is this intentional?
I was collecting the coredump:

me on Thu Sep 13 at 07:06 PM in ~ 
>> coredumpctl info 2120
           PID: 2120 (nemo)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Thu 2018-09-13 19:00:27 EDT (6min ago)
  Command Line: /usr/bin/nemo
    Executable: /usr/bin/nemo
 Control Group: /user.slice/user-1001.slice/user@1001.service/gnome-terminal-server.service
          Unit: user@1001.service
     User Unit: gnome-terminal-server.service
         Slice: user-1001.slice
     Owner UID: 1001 (me)
       Boot ID: 622b7163daf14cc490f29a1d76dc6341
    Machine ID: b70f51a86d2a45048308a893c756cff6
      Hostname: me-pc
       Storage: /var/lib/systemd/coredump/core.nemo.0.622b7163daf14cc490f29a1d76dc6341.2120.1536879627000000.lz4 (inaccessible)
       Message: Process 2120 (nemo) of user 0 dumped core.
                
                Stack trace of thread 2120:
                #0  0x00007f119c2b7635 __strlen_avx2 (libc.so.6)
                #1  0x00007f119d084b04 g_strdup (libglib-2.0.so.0)
                #2  0x00007f119dcad7e2 n/a (libgtk-3.so.0)
                #3  0x00007f119ddf2c02 n/a (libgtk-3.so.0)
                #4  0x00007f119db2cd76 n/a (libgtk-3.so.0)
                #5  0x0000559c5c5342d3 n/a (nemo)
                #6  0x00007f119d1953d5 g_closure_invoke (libgobject-2.0.so.0)
                #7  0x00007f119d182348 n/a (libgobject-2.0.so.0)
                #8  0x00007f119d18601e g_signal_emit_valist (libgobject-2.0.so.0)
                #9  0x00007f119d186a80 g_signal_emit (libgobject-2.0.so.0)
                #10 0x00007f119d253a3f g_application_register (libgio-2.0.so.0)
                #11 0x0000559c5c5b3614 n/a (nemo)
                #12 0x00007f119d25474b g_application_run (libgio-2.0.so.0)
                #13 0x0000559c5c52c142 n/a (nemo)
                #14 0x00007f119c17c223 __libc_start_main (libc.so.6)
                #15 0x0000559c5c52c18e n/a (nemo)
                
                Stack trace of thread 2130:
                #0  0x00007f119c248bb1 __poll (libc.so.6)
                #1  0x00007f119d0afee0 n/a (libglib-2.0.so.0)
                #2  0x00007f119d0affce g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f119d0b0022 n/a (libglib-2.0.so.0)
                #4  0x00007f119d0793eb n/a (libglib-2.0.so.0)
                #5  0x00007f119c323a9d start_thread (libpthread.so.0)
                #6  0x00007f119c253a43 __clone (libc.so.6)


me on Thu Sep 13 at 07:06 PM in ~ 
>> 
.

Sergio Schneider

Offline

#4 2018-09-13 23:20:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 25,758
Website

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

I was unaware that there was such an option. I'll move it back. Can you add the version to the title?


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#5 2018-09-13 23:22:24

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

jasonwryan wrote:

I was unaware that there was such an option. I'll move it back. Can you add the version to the title?

Thank you!
edit: title edited

Last edited by spsf64 (2018-09-13 23:24:56)


Sergio Schneider

Offline

#6 2018-09-14 03:55:08

Eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,293

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

If you downgrade gtk3 down to 3.22.30-1 in extra, then this works...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2018-09-14 12:13:23

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Eschwartz wrote:

If you downgrade gtk3 down to 3.22.30-1 in extra, then this works...

I will try and report back, thanks!

edit: works fine with gtk3 3.22.30 as you suggested!
Do you know if this a problem with gtk or nemo/cinnamon?

Last edited by spsf64 (2018-09-14 12:36:29)


Sergio Schneider

Offline

#8 2018-09-14 16:29:00

Eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,293

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

I've uploaded debug-enabled builds of gtk3, glib2, and nemo to https://wiki.archlinux.org/index.php/Un … #eschwartz

Dump of core: https://pkgbuild.com/~eschwartz/nemo-sudo.core

                Stack trace of thread 24100:
                #0  0x00007f9ca8753b5a n/a (libc.so.6)
                #1  0x00007f9ca95e4b04 g_strdup (libglib-2.0.so.0)
                #2  0x00007f9caa20d7e2 get_portal_path (libgtk-3.so.0)
                #3  0x00007f9caa352c12 gtk_application_impl_dbus_startup (libgtk-3.so.0)
                #4  0x00007f9caa08cd76 gtk_application_startup (libgtk-3.so.0)
                #5  0x000055c9228d22d3 nemo_application_startup (nemo)
                #6  0x00007f9ca96f53d5 g_closure_invoke (libgobject-2.0.so.0)
                #7  0x00007f9ca96e2348 signal_emit_unlocked_R (libgobject-2.0.so.0)
                #8  0x00007f9ca96e601e g_signal_emit_valist (libgobject-2.0.so.0)
                #9  0x00007f9ca96e6a80 g_signal_emit (libgobject-2.0.so.0)
                #10 0x00007f9ca97b3a3f g_application_register (libgio-2.0.so.0)
                #11 0x000055c922951614 nemo_main_application_local_command_line (nemo)
                #12 0x00007f9ca97b474b g_application_run (libgio-2.0.so.0)
                #13 0x000055c9228ca142 main (nemo)
                #14 0x00007f9ca86de223 __libc_start_main (libc.so.6)
                #15 0x000055c9228ca18e _start (nemo)
                
                Stack trace of thread 24101:
                #0  0x00007f9ca87aac41 __poll (libc.so.6)
                #1  0x00007f9ca960fee0 g_main_context_poll (libglib-2.0.so.0)
                #2  0x00007f9ca960ffce g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f9ca9610022 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007f9ca95d93eb g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007f9ca8885a9d n/a (libpthread.so.0)
                #6  0x00007f9ca87b5753 __clone (libc.so.6)

Last edited by Eschwartz (2018-09-16 06:16:34)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#9 2018-09-14 19:38:14

loqs
Member
Registered: 2014-03-06
Posts: 5,848

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Perhaps https://gitlab.gnome.org/GNOME/gtk/comm … ee6092c011 ?
Edit:
Oops arch already has that fix in the latest testing PKGBUILD

Last edited by loqs (2018-09-14 19:56:31)

Offline

#10 2018-09-15 10:21:51

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

@loqs, I tried the latest gtk3 from testing, does not work, same problem...

@Eschwartz, sorry, don't know what to do with these debug files... Can you guide me on this? Do you have the same problem with cinnamon/nemo? TIA


Sergio Schneider

Offline

#11 2018-09-16 06:15:38

Eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,293

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Those debug files are useful for using something like gdb to debug the cause of the error, or to reproduce the crash using debug builds of dependent libraries in order to get better coredumps.

They're a means to an end, not the end itself. Someone still needs to debug this.

...

Probably caused by https://gitlab.gnome.org/GNOME/gtk/blob … ate.c#L305 which does pointer arithmetic on something the docs say is permitted to return null. Probably a gtk bug, but nemo must be triggering it in some way the person who implemented this did not see.

Last edited by Eschwartz (2018-09-16 06:23:12)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#12 2018-09-17 20:49:39

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

@Eschwartz, thank you for the explanation!

@jasonwryan, as the latest gtk3 has been moved to extra repo and the problem persists, can you move this topic to "Pacman & Package Upgrade Issues"?


Sergio Schneider

Offline

#13 2018-09-18 07:08:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,268

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Well the pacman upgrade worked correctly, moving to Apps & DEs

Offline

#14 2018-09-18 10:44:55

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

V1del wrote:

Well the pacman upgrade worked correctly, moving to Apps & DEs

Thanks!


Sergio Schneider

Offline

#15 2018-09-20 21:00:08

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 70

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Still trying to find a solution, I posted an issue at github for nemo developers (https://github.com/linuxmint/nemo/issues/1949) and it was quickly closed.
I think the developer suggests "it is not a problem with nemo"?? He says it works fine with latest GTK 3.24.1
The only solution suggested is to run "sudo dbus-launch --exit-with-session nemo" which does work, but only from terminal.
The context menu from GUI "Open as Root" still inoperative...
So, we have to wait for a new gtk3 release and check? Or this a problem with arch gtk3 packaging?


Sergio Schneider

Offline

#16 2018-09-22 19:30:35

bullseye
Member
Registered: 2018-09-22
Posts: 2

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

dbus 1.12.10.2 may be doing this. Downgrading to dbus 1.12.10.1 brings back right click open as root and no errors in terminal.

Offline

#17 2018-09-23 14:39:45

sc44
Member
Registered: 2018-09-23
Posts: 1

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

Thanks @bullseye. 
The problem is this "--without-x" in the PKGBUILD. When you coment this out and compile dbus 1.12.10.2 new, than it goes.

Offline

#18 Yesterday 00:41:20

bullseye
Member
Registered: 2018-09-22
Posts: 2

Re: Cinnamon: Unable to run nemo (ver 3.8.6) as root

That works! Thanks @sc44

Offline

Board footer

Powered by FluxBB