You are not logged in.

#1 2017-01-14 12:43:12

addicted
Member
From: /home/addicted
Registered: 2016-07-13
Posts: 42

[Solved]Unable to start cinnamon

Hi, i installed arch on a laptop.It's with inbuild graphics from processor i.e core 2 due & no dedicated gpu
Then i installed xorg-server,xf86-video-intel,cinnamon,lightdm,lightdm-gtk-greeter

But after restart i see a blackscreen with mouse pointer i.e i suspect is lightdm.

Then i tried to start cinnamon-session manually by adding "exec cinnamon-session" to ~/.xinitrc.
Restarted & executed cinnamon-session then it showed following error message.

[root@refresh]
Unable to init server : could not connect : connection refused
cinnamon-session[430]: Gdk Critical: t+0.00003s: gdk_display_get_name: assertion "GDK_ISDISPLAY (display)" failed
cinnamon-session[430]:Glib-CRITICAL: t+0.00292s: g_setenv: assertion 'value t=NULL' failed
cinnamon-session[430]: t+0.02797s: gdk_x11_display_get_xdisplay: assertion 'GDK_IS_DISPLAY (display)' failed
segmentation fault (core dumped)

this laptop doesn't have display. I'm using another display with vga cable.

Last edited by addicted (2017-01-23 13:34:58)

Offline

#2 2017-01-14 18:22:19

addicted
Member
From: /home/addicted
Registered: 2016-07-13
Posts: 42

Re: [Solved]Unable to start cinnamon

does anyone know where the problem is?

Offline

#3 2017-01-14 18:26:04

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved]Unable to start cinnamon

addicted wrote:

does anyone know where the problem is?

please don't do that

Offline

#4 2017-01-14 18:35:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Unable to start cinnamon

[root@refresh]

Don't run X as root.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-01-19 03:03:58

.d
Member
Registered: 2017-01-19
Posts: 1

Re: [Solved]Unable to start cinnamon

I'm having this same issue after a package update today and I'm not sure what caused it. The following is what got upgraded:

[2017-01-18 17:33] [PAMAC] synchronizing package lists
[2017-01-18 17:38] [PAMAC] synchronizing package lists
[2017-01-18 17:40] [ALPM] transaction started
[2017-01-18 17:40] [ALPM] upgraded libtasn1 (4.9-2 -> 4.10-1)
[2017-01-18 17:40] [ALPM] upgraded libcups (2.2.1-1 -> 2.2.2-1)
[2017-01-18 17:40] [ALPM] upgraded imagemagick (6.9.7.3-1 -> 6.9.7.4-1)
[2017-01-18 17:40] [ALPM] upgraded xorg-mkfontdir (1.0.7-5 -> 1.0.7-7)
[2017-01-18 17:40] [ALPM] upgraded poppler (0.50.0-1 -> 0.51.0-1)
[2017-01-18 17:40] [ALPM] warning: /etc/cups/cupsd.conf installed as /etc/cups/cupsd.conf.pacnew
[2017-01-18 17:40] [ALPM] upgraded cups (2.2.1-1 -> 2.2.2-1)
[2017-01-18 17:40] [ALPM] upgraded jsoncpp (1.7.7-1 -> 1.8.0-1)
[2017-01-18 17:40] [ALPM] upgraded lib32-libpsl (0.16.1-3 -> 0.17.0-1)
[2017-01-18 17:40] [ALPM] upgraded protobuf (3.0.2-3 -> 3.1.0-1)
[2017-01-18 17:40] [ALPM] upgraded protobuf-c (1.2.1-3 -> 1.2.1-4)
[2017-01-18 17:40] [ALPM] upgraded libgadu (1.12.1-2 -> 1.12.1-3)
[2017-01-18 17:40] [ALPM] upgraded libxkbcommon (0.7.0-1 -> 0.7.1-1)
[2017-01-18 17:40] [ALPM] upgraded libxkbcommon-x11 (0.7.0-1 -> 0.7.1-1)
[2017-01-18 17:40] [ALPM] upgraded nfs-utils (1.3.4-1 -> 2.1.1-1)
[2017-01-18 17:40] [ALPM-SCRIPTLET]   ==> Configuration file has been changed again. 
[2017-01-18 17:40] [ALPM-SCRIPTLET]   ==> All the daemon configurations now go through 
[2017-01-18 17:40] [ALPM-SCRIPTLET]   ==> one file, /etc/nfs.conf. See nfs.conf(5). 
[2017-01-18 17:40] [ALPM] upgraded webkit2gtk (2.14.2-2 -> 2.14.3-1)
[2017-01-18 17:40] [ALPM] upgraded webkitgtk (2.4.11-3 -> 2.4.11-4)
[2017-01-18 17:40] [ALPM-SCRIPTLET] 
[2017-01-18 17:40] [ALPM-SCRIPTLET]   > WARNING: WebKitGTK+ 2.4 is known to have many security vulnerabilities that
[2017-01-18 17:40] [ALPM-SCRIPTLET]              will NOT be fixed. Avoid browsing with it.
[2017-01-18 17:40] [ALPM-SCRIPTLET] 
[2017-01-18 17:40] [ALPM] upgraded xf86-input-evdev (2.10.4-2 -> 2.10.5-1)
[2017-01-18 17:40] [ALPM] transaction completed
[2017-01-18 17:40] [ALPM] running 'gtk-update-icon-cache.hook'...
[2017-01-18 17:40] [ALPM] running 'texinfo-install.hook'...
[2017-01-18 17:40] [ALPM] running 'update-desktop-database.hook'...

UPDATE:

From this thread I commented out the

exec dbus-launch --exec-with-session

line in my ~/.xinitrc file and added a new line with just

exec cinnamon-session

, and startx booted right into cinnamon. Not sure what that's all about.

UPDATE 2:
It seems to be an issue with lightdm display manager. I went ahead and uninstalled it and replaced it with lxdm. Everything works fine now.

Last edited by .d (2017-01-19 03:55:24)

Offline

#6 2017-01-19 07:57:48

dimmuboy
Member
Registered: 2013-02-13
Posts: 12

Re: [Solved]Unable to start cinnamon

Hello there,
I'm sorry for writing to "solved" post but I had same problem yesterday. Downgrade package webkit2gtk from version 2.14.2-2 to older solved my problem with black screen so you can try it.

Offline

#7 2017-01-19 14:15:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved]Unable to start cinnamon

dimmuboy wrote:

Hello there,
I'm sorry for writing to "solved" post but I had same problem yesterday. Downgrade package webkit2gtk from version 2.14.2-2 to older solved my problem with black screen so you can try it.

Which tells me you're probably not on Arch.

Offline

#8 2017-01-23 13:34:45

addicted
Member
From: /home/addicted
Registered: 2016-07-13
Posts: 42

Re: [Solved]Unable to start cinnamon

it was an issue with intel graphics & after i changed accel method from snr to uxr ( or something similar starting with "u").
Still i could not figure it out after i changed accel method as by default i get this vga monitor as extended display instead of copy display.
Anyway after some trial & error issue is fixed.

Offline

Board footer

Powered by FluxBB