Can't start KDM 4.7.2

Hi,

I have an issue after upgrading my system to KDE 4.7.2 and have removed local_startup from rc.conf too

And here is the error:

Code:
X Server "/usr/bin/X" cannot be executed
X server for display :0 can't be started, session disabled.

Code:
# where X
/usr/local/bin/X

Thanks in advance.
 
A soft link solved the problem and it takes 1-2 mins to launch KDM, but is there any correct way to solve this issue?
 
And there's no default wallpaper on desktop and kdm. Other than that, nepomuk and konsole also crashes with minimal KDE installation (all unchecked from make config).
 
New bugs found:
* Shutdown from plasma desktop not working
* Unable to launch xterm from Alt-F2 (Run dialog box)
 
alie said:
Other than that, nepomuk and konsole also crashes with minimal KDE installation (all unchecked from make config).

Can you paste the output of $ konsole launched from a shell?
 
avilla@ said:
Can you paste the output of $ konsole launched from a shell?


Here is:
Code:
$ konsole
konsole(6413)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10526816 bytes.
 
New bugs found:
1. Pressing prtsc shows error "Unknown host ksnapshot: Host not found"
2. nepomuk throwing error during login

Code:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault: 11
 
how about it:
Code:
klauncher(2632) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2627)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(2627)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
kdmgreet(2627)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
Dropping master 
Setting master 
klauncher(2733) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2728)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(2728)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
kdmgreet(2728)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes.
but dbus running, and work...
startup abort and return to kdm login page, after blinking hdd image
 
alie said:
Here is:
Code:
$ konsole
konsole(6413)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10526816 bytes.

This is not an error. And what does Konsole do? It crashes? Then rebuild x11/konsole with WITH_DEBUG set and get a backtrace.

alie said:
New bugs found:
1. Pressing prtsc shows error "Unknown host ksnapshot: Host not found"

What?

2. nepomuk throwing error during login

Code:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault: 11

It may happen... I still don't know why. Try removing its files (unless you have something you really want in Nepomuk):

Code:
$ find ~/.kde4 -name "*nepomuk*" -exec rm -r '{}' \;
$ rm -r ~/.strigi

lissyara said:
how about it:
Code:
klauncher(2632) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2627)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server"

but dbus running, and work...
startup abort and return to kdm login page, after blinking hdd image

D-Bus is working? For real? Please, run # service dbus restart and paste the output of $ ps waux | grep dbus.
 
Yes, I can't take a screenshot with PrtScn button on my keyboard. KDE displays
Code:
Unknown host ksnapshot: Host not found
and the notification bar also shows the same error.
 
avilla@ said:
D-Bus is working? For real? Please, run # service dbus restart and paste the output of $ ps waux | grep dbus.

Code:
dc7700p$ ps waux | grep dbus
messagebus  2135   0,0  0,1  14468   2512 ??  Is   23:23     0:00,08 /usr/local/bin/dbus-daemon --system
lissyara    2817   0,0  0,1  14468   2264 ??  Is   23:38     0:00,01 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lissyara    2816   0,0  0,1  30276   2632  0  I    23:38     0:00,00 dbus-launch --autolaunch=fe7fdebc0a636956d1d468fd0000d0af --binary-syntax --close-stderr
lissyara   28211   0,0  0,0  16452   1860  2  S+    0:32     0:00,00 grep dbus
dc7700p$ service dbus restart
Stopping dbus.
kill: 2135: Operation not permitted
dbus already running? (pid=2135).
dc7700p$ su
dc7700p# service dbus restart
Stopping dbus.
Starting dbus.
dc7700p# ps waux | grep dbus
messagebus 28264   0,2  0,1  14468   2476 ??  Ss    0:33     0:00,03 /usr/local/bin/dbus-daemon --system
lissyara    2817   0,0  0,1  14468   2264 ??  Ss   23:38     0:00,01 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lissyara    2816   0,0  0,1  30276   2632  0  I    23:38     0:00,00 dbus-launch --autolaunch=fe7fdebc0a636956d1d468fd0000d0af --binary-syntax --close-stderr
root       28270   0,0  0,0  16452   1860  2  S+    0:33     0:00,01 grep dbus
dc7700p#
 
hmm... strange, pid does not change, after a restart.

It's not stopped by the rc script:
Code:
dc7700p# service dbus stop
Stopping dbus.
dc7700p# ps waux | grep dbus
lissyara   2817   0,0  0,1  14468   2268 ??  Ss   23:38     0:00,02 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lissyara   2816   0,0  0,1  30276   2632  0  I    23:38     0:00,00 dbus-launch --autolaunch=fe7fdebc0a636956d1d468fd0000d0af --binary-syntax --close-stderr
root      28286   0,0  0,0  16452   1860  2  S+    0:35     0:00,01 grep dbus
dc7700p# kill 2817 2816
dc7700p# kill 2817 2816
2817: No such process
dc7700p# kill 2817 2816
2817: No such process
2816: No such process
dc7700p# service dbus restart
dbus not running? (check /var/run/dbus/dbus.pid).
Starting dbus.
dc7700p# ps waux | grep dbus
messagebus 28299   0,8  0,1  14468   2448 ??  Ss    0:36     0:00,04 /usr/local/bin/dbus-daemon --system
root       28305   0,0  0,0  16452   1860  2  S+    0:36     0:00,01 grep dbus
 
alie said:
Yes, I can't take a screenshot with PrtScn button on my keyboard. KDE displays
Code:
Unknown host ksnapshot: Host not found
and the notification bar also shows the same error.

Do you have graphics/ksnapshot installed?

lissyara said:
hmm... strange, pid does not change, after a restart.

It's not stopped by the rc script:

Have you tried reinstalling devel/dbus and devel/dbus-qt4?

lissyara said:
but, after last action - no running kde, no happy =)

Pardon?
 
lissyara said:
yes, every last 5 days, i reinstall all *hal* && *dbus* =((
and some other ports...

KDE not work =)

Let's try some manual startup. Log into console and kill any X instance, then:

Code:
# service dbus restart
# service hald restart
$ startx

Then, in xterm:

Code:
$ script /tmp/kdelog /usr/local/kde4/bin/startkde

And paste somewhere (hint: pastebin) /tmp/kdelog.
 
avilla@ said:
Do you have graphics/ksnapshot installed?

I do think KDE minimal installation should install graphics/ksnapshot? no ?

* I have verified most of bugs with [CMD=""]portupgrade -ay[/CMD] and verified the crashing issue for x11/konsole and nepomukservicestub still exists and restart my system from KDE menu->Restarts leads my system to hang
* And i found it still takes 1-2 mins to launch KDM with:
Code:
kdm4_enable="YES"
 
Btw is there any bugs Tracker for KDE-FreeBSD projects ? so i can submit all the bugs on that Tracker instead of here or do people think better to write all the bugs found here ?
 
alie said:
I do think KDE minimal installation should install graphics/ksnapshot? no ?

No. By the way, what do you mean with "KDE minimal installation"?

* I have verified most of bugs with [CMD=""]portupgrade -ay[/CMD] and verified the crashing issue for x11/konsole and nepomukservicestub still exists

Still, you didn't follow my instructions to debug this. Read the posts above.

and restart my system from KDE menu->Restarts leads my system to hang

The fix has been committed last night.

* And i found it still takes 1-2 mins to launch KDM with:
Code:
kdm4_enable="YES"

Start KDE by hand and produce a log. Instructions are in my latest post to lissyara.

alie said:
Btw is there any bugs Tracker for KDE-FreeBSD projects ? so i can submit all the bugs on that Tracker instead of here or do people think better to write all the bugs found here ?

The FreeBSD bug tracker.
 
avilla@ said:
No. By the way, what do you mean with "KDE minimal installation"?

I mean x11/kdebase4-workspace, x11/kdebase4-runtime, x11/kde4-runtime and x11/kde4-baseapps. x11/kde4-baseapps should install graphics/ksnapshot ?

avilla@ said:
Still, you didn't follow my instructions to debug this. Read the posts above.

Code:
$ konsole
konsole(13274)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10526816 bytes. 
$ X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x3200150


avilla@ said:
Start KDE by hand and produce a log. Instructions are in my latest post to lissyara.

Pastebin for "Takes 1-2 minutes to start KDM" issue:
http://pastebin.com/zZLawJ3c


And is there any plan to create kde-minimal port ?
 
alie said:

Paste the output of $ pkg_info | grep kde.

x11/kde4-baseapps should install graphics/ksnapshot ?

No.

Code:
$ konsole
konsole(13274)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10526816 bytes. 
$ X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x3200150

I wrote other things. Anyway, let's postpone this a bit.

And is there any plan to create kde-minimal port ?

Might be. Anyway, x11/kde4 with all OPTIONS disabled is a kde-lite port.
 
Back
Top