From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78A29139694 for ; Sat, 4 Mar 2017 22:21:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D5EF21C03C; Sat, 4 Mar 2017 22:21:46 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C25D121C039 for ; Sat, 4 Mar 2017 22:21:45 +0000 (UTC) Received: from gramschier.name ([37.9.187.69]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lm2lZ-1cAxAk2laT-00ZkB1 for ; Sat, 04 Mar 2017 23:21:43 +0100 From: Michael Schier To: gentoo-user-de@lists.gentoo.org Subject: Re: [gentoo-user-de] x (kde) start probleme Date: Sat, 04 Mar 2017 23:21:42 +0100 Message-ID: <27576388.DiURRagTT9@zuse> User-Agent: KMail/4.14.10 (Linux/4.4.39-gentoo; KDE/4.14.28; x86_64; ; ) In-Reply-To: <4917541.52Yd4Bgyko@l1-gentoo> References: <2728270.J7RmjoqjGK@l1-gentoo> <20170218120856.5062d9d1@big-server.localdomain> <4917541.52Yd4Bgyko@l1-gentoo> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-de@lists.gentoo.org Reply-to: gentoo-user-de@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3702458.fnoYCJ4zXz" Content-Transfer-Encoding: 7Bit X-Provags-ID: V03:K0:XUQtwiZkqSDEMrpy+cR+qUaRdVJNoryZ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0aa-4ce48fab0214 X-Archives-Hash: e7d3282aef5dadc7416f5a1aa1440ca0 This is a multi-part message in MIME format. --nextPart3702458.fnoYCJ4zXz Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hallo Sebastian, ich versuche mal eine Antwort auf deine Frage "wof=FCr stehen die twm, = xclock=20 und xterm angaben?" Kurz nach der Zeile "> # start some nice programs" kommt ja die Abfrage= auf=20 ein Script "chooser.sh". Ich denke hier geht es um die Bestimmung einer= =20 Xsession und insbesondere den Window-manager. Wenn das Script fehlt schl=E4gt, dann braucht man einen Standard, der i= mmer geht=20 bzw. von dem man annehmen kann, dass er immer geht. Das ist der Teil, der in deiner xinitrc weiter unten dann auskommentier= t ist.=20 Die Zilen ab "> if [ -n "$failsafe" ]; then" w=FCrden den einfachen Win= dow- Manager twm (siehe Wikipedia https://de.wikipedia.org/wiki/Twm ) starte= n und=20 zus=E4tzlich noch eine Uhr und zwei xterm. Die-geometry Angabe sind, so= weit ich=20 mich erinnere, Angaben f=FCr die Position+Gr=F6=DFe auf dem Bildschirm.= Woher die Zeile mit "exec startkde" im "then"-Zweig kommt, kann ich nic= ht=20 erkl=E4ren. Ist das vielleicht ein Versuch von dir gewesen? Zur L=F6sung deines eigentlichen Problems kann ich leider keinen konkre= ten Tipp=20 geben. Ich kann nur sagen, dass bei mir SDDM geht und ich mich damit an= melden=20 kann und dann ein Window-Manager startet. Das ist normalerweise KDE (Pl= asma),=20 aber ich hatte k=FCrzlich auch mal spasseshalber Mate gebaut und konnte= das dann=20 im SDDM auch als Sitzung ausw=E4hlen und mich anmelden. Einstellungen n= ach dem=20 Bauen waren daf=FCr keine n=F6tig. Meine sddm.conf habe ich als Anhang an die Mail geh=E4ngt. Aber an der = habe ich=20 nichts gemacht, sie ist so wie emerge sie eingebaut hat. Viel Erfolg weiterhin. Viele Gr=FC=DFe Michael Am Freitag, 3. M=E4rz 2017, 15:29:20 schrieb Sebastian: > Hallo, >=20 > ich habe nochmal ein wenig gesucht und kann mich jetzt immerhin per s= tartx > an kde Anmelden ohne Umweg =FCber xterm. >=20 > Nachvollziebar habe ich die /etc/X11/xinit/xinitrc bearbeitet. Leider= habe > ich dazu im Handbuch aber keine mich weiterf=FChrenden hinweise gefun= den. Ich > stelle die mal hier rein wie sie im Moment aussieht. Sollte ich da no= ch > etwas verbessern? >=20 > ----------------------------------------------------------- > #!/bin/sh >=20 > userresources=3D$HOME/.Xresources > usermodmap=3D$HOME/.Xmodmap > sysresources=3D/etc/X11/xinit/Xresources > sysmodmap=3D/etc/X11/xinit/Xmodmap >=20 > # merge in defaults and keymaps >=20 > if [ -f $sysresources ]; then >=20 >=20 >=20 >=20 >=20 >=20 >=20 > xrdb -merge $sysresources >=20 > fi >=20 > if [ -f $sysmodmap ]; then > xmodmap $sysmodmap > fi >=20 > if [ -f "$userresources" ]; then >=20 >=20 >=20 >=20 >=20 >=20 >=20 > xrdb -merge "$userresources" >=20 > fi >=20 > if [ -f "$usermodmap" ]; then > xmodmap "$usermodmap" > fi >=20 > # start some nice programs >=20 > if [ -n "`/etc/X11/chooser.sh`" ]; then > command=3D"`/etc/X11/chooser.sh`" > else > failsafe=3D"yes" > fi >=20 > if [ -d /etc/X11/xinit/xinitrc.d ] ; then > for f in /etc/X11/xinit/xinitrc.d/?* ; do > [ -x "$f" ] && . "$f" > done > unset f > fi >=20 > if [ -n "$failsafe" ]; then > #twm & > #xclock -geometry 50x50-1+1 & > #xterm -geometry 80x50+494+51 & > #xterm -geometry 80x20+494-0 & > #exec xterm -geometry 80x66+0+0 -name login > #exec startkde -geometry 80x66+0+0 -name login > #else > exec startkde > fi > ---------------------------------------------------------------------= ------- > -- >=20 > wof=FCr stehen die twm, xclock und xterm angaben? [...] --=20 Mit Gentoo Linux gesendet --nextPart3702458.fnoYCJ4zXz Content-Disposition: attachment; filename="sddm.conf" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; name="sddm.conf" [Autologin] # Whether sddm should automatically log back into sessions when they exit Relogin=false # Name of session file for autologin session Session= # Username for autologin session User= [General] # Halt command HaltCommand=/sbin/shutdown -h -P now # Input method module InputMethod= # Initial NumLock state. Can be on, off or none. # If property is set to none, numlock won't be changed # NOTE: Currently ignored if autologin is enabled. Numlock=none # Reboot command RebootCommand=/sbin/shutdown -r now [Theme] # Current theme name Current=elarun # Cursor theme used in the greeter CursorTheme=Adwaita # Number of users to use as threshold # above which avatars are disabled # unless explicitly enabled with EnableAvatars DisableAvatarsThreshold=7 # Enable display of custom user avatars EnableAvatars=true # Global directory for user avatars # The files should be named .face.icon FacesDir=/usr/share/sddm/faces # Theme directory path ThemeDir=/usr/share/sddm/themes [Users] # Default $PATH for logged in users DefaultPath=/bin:/usr/bin:/usr/local/bin # Comma-separated list of shells. # Users with these shells as their default won't be listed HideShells= # Comma-separated list of users that should not be listed HideUsers= # Maximum user id for displayed users MaximumUid=60000 # Minimum user id for displayed users MinimumUid=1000 # Remember the session of the last successfully logged in user RememberLastSession=true # Remember the last successfully logged in user RememberLastUser=true [Wayland] # Path to a script to execute when starting the desktop session SessionCommand=/usr/share/sddm/scripts/wayland-session # Directory containing available Wayland sessions SessionDir=/usr/share/wayland-sessions # Path to the user session log file SessionLogFile=.local/share/sddm/wayland-session.log [X11] # Path to a script to execute when starting the display server DisplayCommand=/usr/share/sddm/scripts/Xsetup # Path to a script to execute when stopping the display server DisplayStopCommand=/usr/share/sddm/scripts/Xstop # The lowest virtual terminal number that will be used. MinimumVT=7 # Arguments passed to the X server invocation ServerArguments=-nolisten tcp # Path to X server binary ServerPath=/usr/bin/X # Path to a script to execute when starting the desktop session SessionCommand=/usr/share/sddm/scripts/Xsession # Directory containing available X sessions SessionDir=/usr/share/xsessions # Path to the user session log file SessionLogFile=.local/share/sddm/xorg-session.log # Path to the Xauthority file UserAuthFile=.Xauthority # Path to xauth binary XauthPath=/usr/bin/xauth # Path to Xephyr binary XephyrPath=/usr/bin/Xephyr --nextPart3702458.fnoYCJ4zXz--