KDE will nicht?

shadow1982

Well-Known Member
Ich habe soeben mein gentoo System nach FreeBSD 5.4 Relese umgestellt.
Ausgewählt hatte ich Xorg mit KDE.
Nach dem abschließendem Neustart, bootete FreeBSD jedoch leider nicht in die grafische Oberfläche sondern bot mir lediglich eine console an.

Mit startx startete lediglich der x server und nicht kde.
startkde unter der Console funktionierte leider auch nicht, hier kamm die Meldung, dass er sich nicht zum X-Server conecten kann.

Führe ich erst startx aus und dann in der x console startkde dann geht es. Die Auflösung, der Komfort etc, ist jedoch sagen wir mal nicht vorhanden.

Es muss doch auch einen anderen Weg geben oder?
Leider hatte ich die Optionen des Handbuches (5.3) nicht, und konnte somit nirgends während der Installation etwas von wegen XDM oder KDE als Default einstellen.

Wer kann mir weiterhelfen?
Vielen Dank
 
Nein konnte es nicht!
Zumindest bekamm ich den kdm zum laufen durch editieren in der /etc/tty:
  1. in der Zeile ttyv8 muss das no durch yes ersetzt werden
  2. in der selben Zeile /usr/X11R6/bin/xdm durch /usr/local/bin/kdm ersetzen

Damit kde auch noch auftaucht:

/usr/X11R6/lib/X11/xdm/Xsession editieren von:

Code:
case $# in
1)
        case $1 in
        failsafe)
                exec xterm -geometry 80x24-0-0
                ;;
        esac
esac
Nach:

Code:
case $# in
1)
        case $1 in
        kde)
                exec /usr/local/bin/startkde
                ;;
        failsafe)
                exec xterm -geometry 80x24-0-0
                ;;
        esac
esac

Der Witz ist, dass nun der KDM zwar erscheint, nach eingabe von Username und passwort jedoch nichts passiert, ausser dass sich XDM neu aufbaut.

-> Immer noch nicht die Lösung.
Vielleicht kann ja jemand den Fehler aufzeigen und nicht nur auf Quellen Verweisen.
THX
 
also: entweder:
# startx -exec startkde

oder
# echo "exec startkde" > ~/.xinitrc // einmalig versteht sich
# startx

kdm:
da sollte eigentlich das ändern der /etc/ttys reichen (besser ist aber mit start script), jedenfalls bei den neusten versionen, wie 3.3 3.4 etc.. .
Wenn nicht dann schau dir nochmal die links von teuk an.

[offtopic]
Code:
Den X11-Server kann man mit <Ctrl-Alt-Backspace> beenden, die Backspace-Taste ist die "Pfeil nach Links"-Taste oberhalb der Return-Taste.
wer hat eigentlich diesen satz verbrochen?
wenn einer die backspace taste nicht kennt, dann wird er mit der return taste auch nicht viel mehr anfangen können! (... der Return-Tase, ist die "Pfeil nach unten Links"-Taste)
[/offtopic]
 
Also ein paar Stunden weiter:
Mit der Methode:
XDM abschießen, anschließend
Code:
startx -exec startkde
eingeben, führt dazu, dass KDE endlich startet.

Warum der KDM jedesmal nur wieder den KDM nach Eingabe des Passworts aufruft ist mir schleierhaft.
Über den KDM und XDM komme ich zur Zeit auf jeden Fall nicht ins X

Vielleicht weiß da ja jemand noch weiter oder kennt den Grund
 
Nein, den Weg über ein Script gehe ich noch nicht.

Code:
#
# $FreeBSD: src/etc/etc.i386/ttys,v 1.10 2003/10/24 15:44:08 simokawa Exp $
#	@(#)ttys	5.1 (Berkeley) 4/17/89
#
# This file specifies various information about terminals on the system.
# It is used by several different programs.  Common entries for the
# various columns include:
#
# name  The name of the terminal device.
#
# getty The program to start running on the terminal.  Typically a
#       getty program, as the name implies.  Other common entries
#       include none, when no getty is needed, and xdm, to start the
#       X Window System.
#
# type The initial terminal type for this port.  For hardwired
#      terminal lines, this will contain the type of terminal used.
#      For virtual consoles, the correct type is typically cons25, but
#      vt220 will work better if you need interoperability with other
#      systems like Solaris or GNU/Linux.
#      Other common values include network for network connections on
#      pseudo-terminals, dialup for incoming modem ports, and unknown
#      when the terminal type cannot be predetermined.
#
# status Must be on or off.  If on, init will run the getty program on
#        the specified port.  If the word "secure" appears, this tty
#        allows root login.
#
# name	getty				type	status		comments
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
console	none				unknown	off secure
#
ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure
# Virtual terminals
ttyv1	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv2	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv3	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv4	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
ttyv8	"/usr/local/bin/kdm -nodaemon"	xterm	on  secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure
ttyd1	"/usr/libexec/getty std.9600"	dialup	off secure
ttyd2	"/usr/libexec/getty std.9600"	dialup	off secure
ttyd3	"/usr/libexec/getty std.9600"	dialup	off secure
# Dumb console
dcons	"/usr/libexec/getty std.9600"	vt100	off secure
# Pseudo terminals
ttyp0	none			network
ttyp1	none			network
ttyp2	none			network
ttyp3	none			network
ttyp4	none			network
ttyp5	none			network
ttyp6	none			network
ttyp7	none			network
ttyp8	none			network
ttyp9	none			network
ttypa	none			network
ttypb	none			network
ttypc	none			network
ttypd	none			network
ttype	none			network
ttypf	none			network
ttypg	none			network
ttyph	none			network
ttypi	none			network
ttypj	none			network
ttypk	none			network
ttypl	none			network
ttypm	none			network
ttypn	none			network
ttypo	none			network
ttypp	none			network
ttypq	none			network
ttypr	none			network
ttyps	none			network
ttypt	none			network
ttypu	none			network
ttypv	none			network
ttyq0	none			network
ttyq1	none			network
ttyq2	none			network
ttyq3	none			network
ttyq4	none			network
ttyq5	none			network
ttyq6	none			network
ttyq7	none			network
ttyq8	none			network
ttyq9	none			network
ttyqa	none			network
ttyqb	none			network
ttyqc	none			network
ttyqd	none			network
ttyqe	none			network
ttyqf	none			network
ttyqg	none			network
ttyqh	none			network
ttyqi	none			network
ttyqj	none			network
ttyqk	none			network
ttyql	none			network
ttyqm	none			network
ttyqn	none			network
ttyqo	none			network
ttyqp	none			network
ttyqq	none			network
ttyqr	none			network
ttyqs	none			network
ttyqt	none			network
ttyqu	none			network
ttyqv	none			network
ttyr0	none			network
ttyr1	none			network
ttyr2	none			network
ttyr3	none			network
ttyr4	none			network
ttyr5	none			network
ttyr6	none			network
ttyr7	none			network
ttyr8	none			network
ttyr9	none			network
ttyra	none			network
ttyrb	none			network
ttyrc	none			network
ttyrd	none			network
ttyre	none			network
ttyrf	none			network
ttyrg	none			network
ttyrh	none			network
ttyri	none			network
ttyrj	none			network
ttyrk	none			network
ttyrl	none			network
ttyrm	none			network
ttyrn	none			network
ttyro	none			network
ttyrp	none			network
ttyrq	none			network
ttyrr	none			network
ttyrs	none			network
ttyrt	none			network
ttyru	none			network
ttyrv	none			network
ttys0	none			network
ttys1	none			network
ttys2	none			network
ttys3	none			network
ttys4	none			network
ttys5	none			network
ttys6	none			network
ttys7	none			network
ttys8	none			network
ttys9	none			network
ttysa	none			network
ttysb	none			network
ttysc	none			network
ttysd	none			network
ttyse	none			network
ttysf	none			network
ttysg	none			network
ttysh	none			network
ttysi	none			network
ttysj	none			network
ttysk	none			network
ttysl	none			network
ttysm	none			network
ttysn	none			network
ttyso	none			network
ttysp	none			network
ttysq	none			network
ttysr	none			network
ttyss	none			network
ttyst	none			network
ttysu	none			network
ttysv	none			network
ttyP0	none			network
ttyP1	none			network
ttyP2	none			network
ttyP3	none			network
ttyP4	none			network
ttyP5	none			network
ttyP6	none			network
ttyP7	none			network
ttyP8	none			network
ttyP9	none			network
ttyPa	none			network
ttyPb	none			network
ttyPc	none			network
ttyPd	none			network
ttyPe	none			network
ttyPf	none			network
ttyPg	none			network
ttyPh	none			network
ttyPi	none			network
ttyPj	none			network
ttyPk	none			network
ttyPl	none			network
ttyPm	none			network
ttyPn	none			network
ttyPo	none			network
ttyPp	none			network
ttyPq	none			network
ttyPr	none			network
ttyPs	none			network
ttyPt	none			network
ttyPu	none			network
ttyPv	none			network
ttyQ0	none			network
ttyQ1	none			network
ttyQ2	none			network
ttyQ3	none			network
ttyQ4	none			network
ttyQ5	none			network
ttyQ6	none			network
ttyQ7	none			network
ttyQ8	none			network
ttyQ9	none			network
ttyQa	none			network
ttyQb	none			network
ttyQc	none			network
ttyQd	none			network
ttyQe	none			network
ttyQf	none			network
ttyQg	none			network
ttyQh	none			network
ttyQi	none			network
ttyQj	none			network
ttyQk	none			network
ttyQl	none			network
ttyQm	none			network
ttyQn	none			network
ttyQo	none			network
ttyQp	none			network
ttyQq	none			network
ttyQr	none			network
ttyQs	none			network
ttyQt	none			network
ttyQu	none			network
ttyQv	none			network
ttyR0	none			network
ttyR1	none			network
ttyR2	none			network
ttyR3	none			network
ttyR4	none			network
ttyR5	none			network
ttyR6	none			network
ttyR7	none			network
ttyR8	none			network
ttyR9	none			network
ttyRa	none			network
ttyRb	none			network
ttyRc	none			network
ttyRd	none			network
ttyRe	none			network
ttyRf	none			network
ttyRg	none			network
ttyRh	none			network
ttyRi	none			network
ttyRj	none			network
ttyRk	none			network
ttyRl	none			network
ttyRm	none			network
ttyRn	none			network
ttyRo	none			network
ttyRp	none			network
ttyRq	none			network
ttyRr	none			network
ttyRs	none			network
ttyRt	none			network
ttyRu	none			network
ttyRv	none			network
ttyS0	none			network
ttyS1	none			network
ttyS2	none			network
ttyS3	none			network
ttyS4	none			network
ttyS5	none			network
ttyS6	none			network
ttyS7	none			network
ttyS8	none			network
ttyS9	none			network
ttySa	none			network
ttySb	none			network
ttySc	none			network
ttySd	none			network
ttySe	none			network
ttySf	none			network
ttySg	none			network
ttySh	none			network
ttySi	none			network
ttySj	none			network
ttySk	none			network
ttySl	none			network
ttySm	none			network
ttySn	none			network
ttySo	none			network
ttySp	none			network
ttySq	none			network
ttySr	none			network
ttySs	none			network
ttySt	none			network
ttySu	none			network
ttySv	none			network
 
ok. ich hab das glaube ich genau so und bei mir funktioniert das einwandfrei.

Jetzt kann ich dir nur erstmal empfehlen, das ganzeüber ein start script zu starten.
so wie es im wiki beschrieben steht.
 
ich bin im moment auf der arbeit und sitze nicht am rechner, aber laut meinem gedächnis stimmt das.
Ich hab einfach bsd und die packete installiert und anschließend die ttys modifiziert. dann war die sache gegessen und kdm läuft wie es soll.

kannst du denn mit <alt + s> im kdm auswählen welchen wm du starten willst?
 
Ja kann ich, führen jedoch alle zum selben Ergebniss der KDM schließt sich und öffnet sich neu.

Ich habe gerade das Script abgetippt es kommt:
Text file busy
 
du mußt natürlich die änderungen in deiner ttys erst wieder rückgängig machen dann neu starten!
 
Die Änderung habe ich rückgänig gemacht, trotzdem startet der kdm noch.
Irgendwie erscheint mir dass nicht logisch?!

Und abschießen mit alt+strg+backspace wie ich das gewohnt bin funktioniert auch nicht wieder, x startet sich da einfach nur neu!
 
shadow1982 schrieb:
Ja kann ich, führen jedoch alle zum selben Ergebniss der KDM schließt sich und öffnet sich neu.

Ich habe gerade das Script abgetippt es kommt:
Text file busy

Hallo,

Das scheint mir ein ewiges Problem von KDE unter FreeBSDzu sein. Ich hab bis jetzt nur XFree86 gehabt, aber vielleicht geht's ja so auch bei x.org so:
Füge in der Datei kdmrc im Abschnitt [X-*-core] mal den Eintrag "Authorize=false" hinzu und schau ob's dann geht.
 
ich versteh wirklich nicht das problem. normalerweise ist kdm zu installieren eine einfache geschichte. irgendwas ist da wohl schief gegangen.

vielleicht läuft dein script schon bzw. ein anderes?
wenn ich zu hause bin kann ich dir mal meine einstellungen posten, falls es dann immer nich nicht klappt.
 
Mich wundert das auch!
Ich weiß noch dass ich FreeBSD vor 2 Jahren mal ne kurze Zeit drauf hatte mit Xfree und da ging alles schön default mäßig.

Ich verändere jetzt erstmal gar nichts mehr, bis ich deine configs habe.
Grüßle und Danke
 
sorry, aber
lieber spät als nie :)

ttys
console none unknown off secure
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
ttyv4 "/usr/libexec/getty Pc" cons25 on secure
ttyv5 "/usr/libexec/getty Pc" cons25 on secure
ttyv6 "/usr/libexec/getty Pc" cons25 on secure
ttyv7 "/usr/libexec/getty Pc" cons25 on secure
ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
ttyd1 "/usr/libexec/getty std.9600" dialup off secure
ttyd2 "/usr/libexec/getty std.9600" dialup off secure
ttyd3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
# Pseudo terminals
die ganzen pseudo terminals hab ich jetzt mal weggelassen

so mehr habe ich nicht gemacht. es kann sein das kde 3.4 noch was anderes braucht.
Hier poste ich noch meine
kdm.config
[General]
ConfigVersion=2.2
PidFile=/var/run/kdm.pid
Xservers=/usr/local/share/config/kdm/Xservers

[Shutdown]
HaltCmd=/sbin/halt -p
RebootCmd=/sbin/reboot

[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=false
AllowShutdown=None
AutoReLogin=false
ClientLogFile=.xsession-errors-%s
Reset=/usr/local/share/config/kdm/Xreset
Session=/usr/local/share/config/kdm/Xsession
Setup=/usr/local/share/config/kdm/Xsetup
Startup=/usr/local/share/config/kdm/Xstartup

[X-*-Greeter]
AntiAliasing=false
ColorScheme=Plastik
DefaultUser=xxxxx
EchoMode=OneStar
FaceSource=AdminOnly
FailFont=helvetica,12,-1,5,75,0,0,0,0,0
FocusPasswd=false
ForgingSeed=1106147432
GUIStyle=Plastik
GreetFont=charter,24,-1,5,50,0,0,0,0,0
GreetString=Hallo
GreeterPos=50,50
HiddenUsers=toor,root,@operator
Language=en_US
LogoArea=Clock
LogoPixmap=
MaxShowUID=65000
MinShowUID=1000
PreselectUser=None
SelectedUsers=
ShowUsers=NotHidden
SortUsers=true
StdFont=helvetica,12,-1,5,50,0,0,0,0,0
UseBackground=true
UserCompletion=false
UserList=true

[X-:*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=

[X-:*-Greeter]
AllowClose=false
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous

[X-:0-Core]
AutoLoginEnable=false
AutoLoginUser=michi
ClientLogFile=.xsession-errors

[Xdmcp]
Enable=false
Willing=/usr/local/share/config/kdm/Xwilling
aber damit wirst du nicht all zu viel anfangen können, wenn das eine andere version ist. mehr kann ich erstmal nicht dazu sagen. vielleicht hilft noch ein blick ins handbuch von kdm
 
Zurück
Oben