View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Apr 03, 2014 6:30 am Post subject: gnome-session crash (gnome 3.10) |
|
|
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 _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Apr 03, 2014 9:47 am Post subject: |
|
|
Check /var/log/messages (on OpenRC) or the output of the command `journalctl -rb` (on systemd) for details. |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Apr 03, 2014 11:05 am Post subject: |
|
|
/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 |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Apr 03, 2014 11:11 am Post subject: |
|
|
Warnings and errors around the time you experience the problem. |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Apr 03, 2014 11:23 am Post subject: |
|
|
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 |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Apr 03, 2014 11:40 am Post subject: |
|
|
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 |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Thu Apr 03, 2014 1:12 pm Post subject: |
|
|
thanks, I'll try to do so!
one more question, I hope the last 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 |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Apr 03, 2014 2:07 pm Post subject: |
|
|
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 |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Fri Apr 04, 2014 1:45 pm Post subject: |
|
|
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 |
|
|
|