You are not logged in.

#1 2022-01-26 16:26:51

str1ngd
Member
Registered: 2021-07-11
Posts: 28

Cinnamon not working

I installed cinnamon with the cinnamon package, and I launch it with .xinitrc. But whenever I do so it just displays my desktop and Mullvad (which starts automatically) and a black screen. There is no actual desktop environment. How do I fix this? I used to run Xfce before

Offline

#2 2022-01-26 16:35:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,759

Re: Cinnamon not working

Make sure your .xinitrc follows the proper template: https://wiki.archlinux.org/title/Xinit#xinitrc

Other than that, check whether the journal contains any information on why it isn't working.

Offline

#3 2022-01-26 17:06:42

str1ngd
Member
Registered: 2021-07-11
Posts: 28

Re: Cinnamon not working

V1del wrote:

Make sure your .xinitrc follows the proper template: https://wiki.archlinux.org/title/Xinit#xinitrc

Other than that, check whether the journal contains any information on why it isn't working.


I don't really know what to really change in my xinitrc, it just has one line and that is the

exec cinnamon-session

which the arch wiki tells me to append to my xinitrc. Just using

exec startxfce4

works just fine as well.

I also tried using cinnamon-session-cinnamon2d but that displayed just an actual black screen with no desktop or Mullvad starting.

However I did check my journalctl and wow there seems to be a lot:

Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2137' (uid=1000 pid=881176 comm="cinnamon-session ")
Jan 26 18:03:09 lanman at-spi-bus-launcher[881182]: dbus-daemon[881182]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman at-spi2-registr[881182]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881182]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman at-spi2-registr[881182]: AT-SPI: Cannot open default display
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.03907s: AT-SPI: Could not obtain desktop path or name
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2137' (uid=1000 pid=881176 comm="cinnamon-session ")
Jan 26 18:03:09 lanman at-spi-bus-launcher[881209]: dbus-daemon[881209]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman dbus-daemon[881209]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881209]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman dbus-daemon[881209]: AT-SPI: Cannot open default display
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.04780s: atk-bridge: get_device_events_reply: unknown signature
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2137' (uid=1000 pid=881176 comm="cinnamon-session ")
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.04785s: atk-bridge: get_device_events_reply: unknown signature
Jan 26 18:03:09 lanman at-spi-bus-launcher[881227]: dbus-daemon[881227]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.04786s: atk-bridge: GetRegisteredEvents returned message with unknown signature
Jan 26 18:03:09 lanman dbus-daemon[881227]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881227]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman dbus-daemon[881227]: AT-SPI: Cannot open default display
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.05523s: AT-SPI: Could not obtain desktop path or name
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.05529s: AT-SPI: Could not obtain desktop path or name
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2140' (uid=1000 pid=881183 comm="csd-print-notifications ")
Jan 26 18:03:09 lanman at-spi-bus-launcher[881239]: dbus-daemon[881239]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman dbus-daemon[881239]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881239]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman dbus-daemon[881239]: AT-SPI: Cannot open default display
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.06080s: AT-SPI: Could not obtain desktop path or name
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2147' (uid=1000 pid=881192 comm="csd-a11y-settings ")
Jan 26 18:03:09 lanman at-spi-bus-launcher[881245]: dbus-daemon[881245]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman dbus-daemon[881245]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881245]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman dbus-daemon[881245]: AT-SPI: Cannot open default display
Jan 26 18:03:09 lanman cinnamon-session[881176]: WARNING: t+0.10032s: AT-SPI: Could not obtain desktop path or name
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Activating service name='org.a11y.atspi.Registry' requested by ':1.2147' (uid=1000 pid=881192 comm="csd-a11y-settings ")
Jan 26 18:03:09 lanman at-spi-bus-launcher[881247]: dbus-daemon[881247]: writing oom_score_adj error: Permission denied
Jan 26 18:03:09 lanman dbus-daemon[881247]: Could not open X display
Jan 26 18:03:09 lanman at-spi-bus-launcher[388418]: dbus-daemon[388418]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 26 18:03:09 lanman at-spi-bus-launcher[881247]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 26 18:03:09 lanman dbus-daemon[881247]: AT-SPI: Cannot open default display

Though while in a Xfce session it looks like it also prints similar things but related to xfce

Offline

#4 2022-01-26 17:21:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,759

Re: Cinnamon not working

Just one line is insufficient, please read the linked section which mentions to copy the template from /etc/X11/xinit/xinitrc  and append the relevant exec command to the end. (you can remove the previous block starting twm and some clocks, but the if block sourcing systemd scripts should remain.

The dbus errors you have here are very likely due to lacking these definitions.

Offline

#5 2022-01-26 17:58:43

str1ngd
Member
Registered: 2021-07-11
Posts: 28

Re: Cinnamon not working

V1del wrote:

Just one line is insufficient, please read the linked section which mentions to copy the template from /etc/X11/xinit/xinitrc  and append the relevant exec command to the end. (you can remove the previous block starting twm and some clocks, but the if block sourcing systemd scripts should remain.

The dbus errors you have here are very likely due to lacking these definitions.

Hey, sorry for not really listening to your original suggestion

I copied and overwrote my .xinitrc from /etc/X11/xinit/xinitrc, and removed the last 5 lines and appended "exec cinnamon-session" at the end.
It had the same result though, and the journalctl looks the same

Offline

#6 2022-01-26 19:12:36

str1ngd
Member
Registered: 2021-07-11
Posts: 28

Re: Cinnamon not working

Well! Looks like I needed to update my system lol.
I don't know why I never thought of that, but pacman -Syu and now it seems to work fantastically. I will come back if something occurs

Offline

Board footer

Powered by FluxBB