Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-session crash (gnome 3.10)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Apr 03, 2014 6:30 am    Post subject: gnome-session crash (gnome 3.10) Reply with quote

sorry form my english but is not my mother tongue, I hope I can explain me

I have problem with gnome 3.10, I put "exec gnome-session" in the file .xinitrc but when I launch startx, I have a crash (black screen).
When I try to lauch gdm, with "/etc/init.d/xdm start" I have no error but nothing appear.

I can put some output if you need, let me know

thanks a lot in advance :D
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 03, 2014 9:47 am    Post subject: Reply with quote

Check /var/log/messages (on OpenRC) or the output of the command `journalctl -rb` (on systemd) for details.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Apr 03, 2014 11:05 am    Post subject: Reply with quote

/var/log/messages is very long...what I should search?

journalctl give me No journal files were found
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 03, 2014 11:11 am    Post subject: Reply with quote

Warnings and errors around the time you experience the problem.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Apr 03, 2014 11:23 am    Post subject: Reply with quote

I think I found the problem, in my kernel there is no systemd option and I don't started dbus, now it works (with some problems but gnome start)

what now I can't do is change the keyboard layout, when I launch gnome-control-center and I choose regional settings I have this error

Code:
(gnome-control-center:2877): GnomeDesktop-WARNING **: Could not read list of available locales from libc, guessing possible locales from available translations, but list may be incomplete!

(gnome-control-center:2877): region-cc-panel-WARNING **: Failed to contact localed: Error calling StartServiceByName for org.freedesktop.locale1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

Segmentation fault
localhost ~ # gnome-control-center

(gnome-control-center:2936): GnomeDesktop-WARNING **: Could not read list of available locales from libc, guessing possible locales from available translations, but list may be incomplete!

(gnome-control-center:2936): region-cc-panel-WARNING **: Failed to contact localed: Error calling StartServiceByName for org.freedesktop.locale1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

Segmentation fault



thanks a lot
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 03, 2014 11:40 am    Post subject: Reply with quote

See https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces on how to debug segmentation faults. In short, add -ggdb to CFLAGS and rebuild the package; then enable core dumps. Next time you try, it will write a core dump; then you can open it in gdb (see "Starting gdb on a core file") after which you can capture the output of `thread apply all bt full` to see where it faults. If you get question marks, functions or code paths that are unclear; you'll want to rebuild the libraries involved in the backtrace(s) too.

The output of these backtraces can then be used to pinpoint the problem in the code; using that, we can either fix it ourselves or send it upstream such that upstream can look into it.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Apr 03, 2014 1:12 pm    Post subject: Reply with quote

thanks, I'll try to do so!

one more question, I hope the last :wink: I don't understand why the setting of the keyboar layout in the xorg.conf is ignored

Code:
Section "InputDevice"
        Identifier      "keyboard0"
        Option          "XkbLayout" "fr_CH"
        Driver          "kbd"
EndSection


but I tried also so
Code:

Section "InputDevice"
        Identifier      "keyboard0"
        Option          "XkbLayout" "ch"
        Option           "XkbVariant" "fr"
        Driver          "kbd"
EndSection



thanks
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 03, 2014 2:07 pm    Post subject: Reply with quote

You might be able to see why in /var/log/Xorg.0.log; maybe the Identifier doesn't match, or the Option has an incorrect syntax.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Apr 04, 2014 1:45 pm    Post subject: Reply with quote

my xorg.conf

Code:
#
# X.Org server configuration file generated by Parallels Guest Tools.
#

# Parallels Video section
Section "Device"
   Identifier   "Parallels Video"
   Driver   "prlvideo"
EndSection

# Parallels Monitor section
Section "Monitor"
   Identifier   "Parallels Monitor"
   VendorName   "Parallels Inc."
   ModelName   "Parallels Monitor"
EndSection

# Parallels Screen section
Section "Screen"
   Identifier   "Parallels Screen"
   Device   "Parallels Video"
   Monitor   "Parallels Monitor"
   Option   "NoMTRR"
   SubSection   "Display"
      Depth   24
      Modes   "1920x1440" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

# DefaultFlags section
#Section "ServerFlags"
#   Option   "AllowEmptyInput"   "yes"
#   Option   "AutoAddDevices"   "yes"
#EndSection

Section "InputDevice"
   Identifier   "keyboard0"
   Option      "XkbLayout" "ch"
   Option      "XkbVariant" "fr"
   Driver      "kbd"
EndSection

# DefaultLayout section
Section "ServerLayout"
   Identifier   "DefaultLayout"
   Screen   "Parallels Screen"
   InputDevice   "keyboard0"
EndSection



I tried with some keyboard layout but notning change, it is like there is another file that overwrite my xorg.conf
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum