You are not logged in.

#1 2020-08-21 12:14:50

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

[SOLVED]Cinnamon 2 problems after use xinit to start it

I was trying to bypass this issue:
https://bbs.archlinux.org/viewtopic.php?id=258353
and I decided to stop using lightdm and login to cinnamon via xinit. First I tried to follow wiki, to autologin without desktop manager. I tried "xlogin.git" suggested here:
https://wiki.archlinux.org/index.php/Systemd/User
which doesn't work. The service running fine and mentions that cinnamon started but only a black screen appears(I have disable lightdm).
So, I followed this:
https://forums.bunsenlabs.org/viewtopic.php?id=5544
which worked fine and I started to use cinnamon and also start another xserver with openbox to check if switching vts works.

I tried some times and I didn't have problems, so I continue to use cinnamon until I opened kodi and use a usb remote control which worked fine on cinnamon when started via lightdm.
When tried to use a multimedia key(I tried WWW and E-Mail keys) cinnamon freezed and I couldn't restart it even via another tty as wiki describes. Only way is by kill xserver.
This is the first problem.

After that I revert the changes I made and return to lightdm. And this is the second problem.
I can no longer login to cinnamon via lightdm. Appears only the wallpaper and stuck there.
When this happens this is what has
.xsession-errors :

cinnamon-session[7753]: WARNING: t+0,00004s: Could not make bus activated clients aware of DISPLAY=:0 environment variable: unable to connect: Connection refused
cinnamon-session[7753]: WARNING: t+0,00021s: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: unable to connect: Connection refused
cinnamon-session[7753]: WARNING: t+0,00034s: Could not make bus activated clients aware of GTK_OVERLAY_SCROLLING=1 environment variable: unable to connect: Connection refused
cinnamon-session[7753]: WARNING: t+0,00479s: Lost name on bus: org.gnome.SessionManager
cinnamon-session[7753]: CRITICAL: t+0,00482s: We failed, but the fail whale is dead. Sorry....

Cinnamon still run fine with startx except the problem with the keys which freezes it.

Last edited by zaxdan69 (2020-08-22 09:46:23)

Offline

#2 2020-08-21 17:16:08

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Re: [SOLVED]Cinnamon 2 problems after use xinit to start it

I tried with xfce and the same thing happens there too. Freeze when tried to press a media key on remote and only cursor moves, and then login via desktop manager gives error connection refused.
Here is the crash from journalctl:

Aug 21 19:55:12 archlinux systemd[790]: run-user-973-gvfs.mount: Succeeded.
Aug 21 19:55:12 archlinux systemd[790]: run-user-973.mount: Succeeded.
Aug 21 19:55:28 archlinux systemd-coredump[2639]: Process 2610 (xfce4-session) of user 1000 dumped core.
                                                     
                                                     Stack trace of thread 2610:
                                                     #0  0x000055ed5f072a70 xfsm_manager_get_shutdown_type (xfce4-session + 0x24a70)
                                                     #1  0x000055ed5f065c38 n/a (xfce4-session + 0x17c38)
                                                     #2  0x00007fb0fbe7672f n/a (libgio-2.0.so.0 + 0xf672f)
                                                     #3  0x00007fb0fbe7e928 n/a (libgio-2.0.so.0 + 0xfe928)
                                                     #4  0x00007fb0fbe1e844 n/a (libgio-2.0.so.0 + 0x9e844)
                                                     #5  0x00007fb0fbe22b87 n/a (libgio-2.0.so.0 + 0xa2b87)
                                                     #6  0x00007fb0fbe7bbb4 n/a (libgio-2.0.so.0 + 0xfbbb4)
                                                     #7  0x00007fb0fbe1e844 n/a (libgio-2.0.so.0 + 0x9e844)
                                                     #8  0x00007fb0fbe1e879 n/a (libgio-2.0.so.0 + 0x9e879)
                                                     #9  0x00007fb0fbc4a340 g_main_context_dispatch (libglib-2.0.so.0 + 0x52340)
                                                     #10 0x00007fb0fbc981d9 n/a (libglib-2.0.so.0 + 0xa01d9)
                                                     #11 0x00007fb0fbc48c03 g_main_loop_run (libglib-2.0.so.0 + 0x50c03)
                                                     #12 0x00007fb0fc43821f gtk_main (libgtk-3.so.0 + 0x1e021f)
                                                     #13 0x000055ed5f06017f main (xfce4-session + 0x1217f)
                                                     #14 0x00007fb0fba2f002 __libc_start_main (libc.so.6 + 0x27002)
                                                     #15 0x000055ed5f0603ee _start (xfce4-session + 0x123ee)
                                                     
                                                     Stack trace of thread 2629:
                                                     #0  0x00007fb0fbafd05f __poll (libc.so.6 + 0xf505f)
                                                     #1  0x00007fb0f95b5c14 n/a (libpulse.so.0 + 0xdc14)
                                                     #2  0x00007fb0f95c3059 pa_mainloop_poll (libpulse.so.0 + 0x1b059)
                                                     #3  0x00007fb0f95cd301 pa_mainloop_iterate (libpulse.so.0 + 0x25301)
                                                     #4  0x00007fb0f95cd3b1 pa_mainloop_run (libpulse.so.0 + 0x253b1)
                                                     #5  0x00007fb0f95bd61e n/a (libpulse.so.0 + 0x1561e)
                                                     #6  0x00007fb0f953dd1c n/a (libpulsecommon-13.0.so + 0x1dd1c)
                                                     #7  0x00007fb0fbbd9422 start_thread (libpthread.so.0 + 0x9422)
                                                     #8  0x00007fb0fbb07bf3 __clone (libc.so.6 + 0xffbf3)
                                                     
                                                     Stack trace of thread 2637:
                                                     #0  0x00007fb0fbb0271d syscall (libc.so.6 + 0xfa71d)
                                                     #1  0x00007fb0fbc92c9b g_cond_wait_until (libglib-2.0.so.0 + 0x9ac9b)
                                                     #2  0x00007fb0fbc1a803 n/a (libglib-2.0.so.0 + 0x22803)
                                                     #3  0x00007fb0fbc76d5b n/a (libglib-2.0.so.0 + 0x7ed5b)
                                                     #4  0x00007fb0fbc72511 n/a (libglib-2.0.so.0 + 0x7a511)
                                                     #5  0x00007fb0fbbd9422 start_thread (libpthread.so.0 + 0x9422)
                                                     #6  0x00007fb0fbb07bf3 __clone (libc.so.6 + 0xffbf3)
                                                     
                                                     Stack trace of thread 2628:
                                                     #0  0x00007fb0fbafd05f __poll (libc.so.6 + 0xf505f)
                                                     #1  0x00007fb0fbc98168 n/a (libglib-2.0.so.0 + 0xa0168)
                                                     #2  0x00007fb0fbc49221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                                                     #3  0x00007fb0fbc49272 n/a (libglib-2.0.so.0 + 0x51272)
                                                     #4  0x00007fb0fbc72511 n/a (libglib-2.0.so.0 + 0x7a511)
                                                     #5  0x00007fb0fbbd9422 start_thread (libpthread.so.0 + 0x9422)
                                                     #6  0x00007fb0fbb07bf3 __clone (libc.so.6 + 0xffbf3)

What's going on with startx? I never had problem with this remote, and still I don't if I login to kodi session from lightdm for e.g.

Offline

#3 2020-08-22 09:34:19

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED]Cinnamon 2 problems after use xinit to start it

Why didn't you use the Arch Wiki?
These things work slightly differently on Debian.

Offline

#4 2020-08-22 09:46:01

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Re: [SOLVED]Cinnamon 2 problems after use xinit to start it

I found this thread:
https://bbs.archlinux.org/viewtopic.php?id=216001&p=2
which is quite old, but the problem is the same and also has some solutions.
In my case the problem caused from xlogin-git which suggested from wiki. I first tried this and it didn't work. So, I disabled the service which needed to be enabled and tried the different way I posted above which worked.
But this package installed a file 25-xlogin in  /etc/X11/xinit/xinitrc.d/  this was responsible for the problems. When I removed the problems solved.
This option doesn't work and cause problems.
https://wiki.archlinux.org/index.php/Sy … ay_manager

Offline

Board footer

Powered by FluxBB