Help?
I know what I did. I did:
dpkg-reconfigure xserver-xorg
Then I restarted X and didn't like the flickering and the resolution and the dead 2nd monitor, so I did:
nvidia-xconfig
Then I restarted X and logged into KDE and wanted to re-add my old twinview setup and game-/emulator-friendly metamodes by hand, so I did:
Startup is noticably delayed by all these messages, but kate (or dolphin or whatever I used) starts.
A b&w xmessage pops up saying: "Could not start ksmserver. Check your installation." When I click "OK" on it, I'm plonked back into the GDM login.
When I don't I can continue sort-of-normally, except the keyboard might temporarily die on me (or just KDE keyboard shortcuts).
I restored the backup of my original xorg.conf, but it makes no difference...
-----------
Edit: I manually fixed all the "missing trailing semicolon" errors. Now the output to "sudo kate" (or sudo dolphin, whatever, just has to be a KDE app) is just this:
But I still get the same xmessage dialog box about ksmserver.
-----------
Edit 2: When I leave the xmessage hanging there and run another "sudo kate", all I see is:
(That's normal, although I'm not sure I recall the /tmp/ksocket-username bit)
-----------
Edit 3: The message is triggered by /usr/bin/startkde, way down in line 400something:
However, it does not appear at KDE start. KDE starts fine. It's only when I sudo something that it pops up.
I know what I did. I did:
dpkg-reconfigure xserver-xorg
Then I restarted X and didn't like the flickering and the resolution and the dead 2nd monitor, so I did:
nvidia-xconfig
Then I restarted X and logged into KDE and wanted to re-add my old twinview setup and game-/emulator-friendly metamodes by hand, so I did:
Code:
$sudo kate /etc/X11/xorg.conf Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. kate(4669) KToolInvocation::klauncher: klauncher not running... launching kdeinit Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. kdeinit4: Shutting down running client. kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/bin/kded4 Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/bin/kbuildsycoca4 kbuildsycoca4 running... Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/Google-googleearth.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/Google-googleearth.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/renoise.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/lmms.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/lmms.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/mousepad.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/inkscape.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4703) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/krita.desktop" is not compliant with XDG standard (missing trailing semicolon). kdeinit4: preparing to launch /usr/bin/kbuildsycoca4 kbuildsycoca4 running... Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/Google-googleearth.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/Google-googleearth.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/renoise.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/opera.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/lmms.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/lmms.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/mousepad.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/inkscape.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(4707) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/krita.desktop" is not compliant with XDG standard (missing trailing semicolon). Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update kdeinit4: preparing to launch
A b&w xmessage pops up saying: "Could not start ksmserver. Check your installation." When I click "OK" on it, I'm plonked back into the GDM login.
When I don't I can continue sort-of-normally, except the keyboard might temporarily die on me (or just KDE keyboard shortcuts).
I restored the backup of my original xorg.conf, but it makes no difference...
-----------
Edit: I manually fixed all the "missing trailing semicolon" errors. Now the output to "sudo kate" (or sudo dolphin, whatever, just has to be a KDE app) is just this:
Code:
Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. kate(14120) KToolInvocation::klauncher: klauncher not running... launching kdeinit Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. kdeinit4: Shutting down running client. kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/bin/kded4 Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/bin/kbuildsycoca4 kbuildsycoca4 running... Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/bin/kbuildsycoca4 kbuildsycoca4 running... Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update kdeinit4: preparing to launch
-----------
Edit 2: When I leave the xmessage hanging there and run another "sudo kate", all I see is:
Code:
Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0. Error: "/tmp/ksocket-username" is owned by uid 1000 instead of uid 0.
-----------
Edit 3: The message is triggered by /usr/bin/startkde, way down in line 400something:
Code:
# finally, give the session control to the session manager # see kdebase/ksmserver for the description of the rest of the startup sequence # if the KDEWM environment variable has been set, then it will be used as KDE's # window manager instead of kwin. # if KDEWM is not set, ksmserver will ensure kwin is started. # kwrapper4 is used to reduce startup time and memory usage # kwrapper4 does not return useful error codes such as the exit code of ksmserver. # We only check for 255 which means that the ksmserver process could not be # started, any problems thereafter, e.g. ksmserver failing to initialize, # will remain undetected. test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM" kwrapper4 ksmserver $KDEWM if test $? -eq 255; then # Startup error echo 'startkde: Could not start ksmserver. Check your installation.' 1>&2 test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null xmessage -geometry 500x100 "Could not start ksmserver. Check your installation." fi
Comment