When trying to start kde5 (5.3.1-r1) installed by kde-plasma/plasma-meta the file /usr/bin/startkde from package (kde-plasma/plasma-workspace-5.3.1) crashes with segfault when trying to start ksmserver. Reproducible: Always Steps to Reproduce: 1. edit xinitrc and add "exec startkde" (instead of running something else) 2. run "startx" for user (in this case root) 3. ouput states the no connection could be made and then ksmserver segfaults and xsession could not be started 4. I have to admit I don't know if I'm doing something wrong but neither in forums nor in kde5 page nor on kde5_upgrade page there's information about this problem. I also did a forum post about this problem and got no answer for 2 days. Therefore I guess it must be a bug because this happens an a fresh installed gentoo system. So no kde4 was running so far. But I can tell that xserver runs when I remove "exec kdestart" from xinitrc it correctly starts when I do "startx" Actual Results: kde5 could not be started Expected Results: kde5 workspace should be up and running output of startx command: ------------------------- xauth: file /root/.serverauth.26567 does not exist X.Org X Server 1.16.4 Release Date: 2014-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.18.12-gentoo x86_64 Gentoo Current Operating System: Linux nuctux 3.18.12-gentoo #7 SMP Mon Jun 15 08:15:57 CEST 2015 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.12-gentoo root=/dev/sda4 ro Build Date: 11 June 2015 01:35:38PM Current version of pixman: 0.32.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jun 16 15:03:24 2015 (==) Using system config directory "/usr/share/X11/xorg.conf.d" startkde: Starting up... QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' kdeinit5: Communication error with launcher. Exiting! QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' kdeinit5_wrapper: Warning: connect(/tmp/runtime-root/kdeinit5__1) failed: : Connection refused /usr/bin/startkde: line 393: 26628 Segmentation fault kwrapper5 ksmserver $KDEWM $KSMSERVEROPTIONS startkde: Shutting down... QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' kdeinit5_wrapper: Warning: connect(/tmp/runtime-root/kdeinit5__1) failed: : Connection refused Error: Can not contact kdeinit5! startkde: Running shutdown scripts... startkde: Done. xinit: connection to X server lost waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
emerge --info Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.8.4, glibc-2.20-r2, 3.18.12-gentoo x86_64) ================================================================= System uname: Linux-3.18.12-gentoo-x86_64-Intel-R-_Core-TM-_i3-5010U_CPU_@_2.10GHz-with-gentoo-2.2 KiB Mem: 8060152 total, 5050776 free KiB Swap: 524284 total, 524284 free Timestamp of repository gentoo: Tue, 16 Jun 2015 00:15:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.4::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.au.gentoo.org/gentoo-portage priority: -1000 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 local-portage-repo location: /usr/local/portage masters: gentoo priority: 10000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 apache2 bash-complection berkdb bindist bluetooth branding bzip2 cairo cdda cdr clamav cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif glade glamor gnutls gpm gtk gtk-sharp hal iconv imagemagick imap innodb java jpeg jpg kde kipi lcms libnotify mad maildir midi mmx mmxext mng modules mozilla mp3 mp4 mpeg multilib mysql mysqli ncurses nls nptl nptlonly odbc ogg opengl openmp openssl pam pango pcmcia pcre pdf phonon pic plasma png policykit ppds qml qt3support qt4 qt5 readline samba sasl sdl semantic-desktop session spell sql sse sse2 ssl startup-notification svg tcpd tetex threads tiff truetype type1 udev udisks unicode upower usb vcd vorbis widgets wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xsl xslt xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="cgi actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Not sure, here's some random ideas that might shed some light: * Is /tmp mounted with any options? * Does it work as a normal user? * Are there any messages in dmesg? * Are there any messages in ~/.xsession-errors? * Is it possible to get a backtrace? * Are you using NVIDIA?
(In reply to Michael Palimaka (kensington) from comment #2) > Not sure, here's some random ideas that might shed some light: > > * Is /tmp mounted with any options? > * Does it work as a normal user? > * Are there any messages in dmesg? > * Are there any messages in ~/.xsession-errors? > * Is it possible to get a backtrace? > * Are you using NVIDIA?