<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=3108&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / cannot select Xfce 4 in GDM]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=3108</link>
		<description><![CDATA[The most recent posts in cannot select Xfce 4 in GDM.]]></description>
		<lastBuildDate>Sat, 03 Feb 2007 18:34:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: cannot select Xfce 4 in GDM]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13062#p13062</link>
			<description><![CDATA[<p>I found it useful when debugging to add some distinctive text to the &quot;name&quot; field of each .desktop file. Then I could be sure the file I was inspecting was actually&#160; the one GDM was reading.</p><p>Gentoo has almost the same path to session files as you quote for Mandrake, except that &quot;gdm&quot; replaces &quot;dm&quot; at an intermediate point. In case this is of any interest, I quote my file <strong>/etc/X11/gdm/Sessions/XFce4</strong> below. It has special inserts for Mandrake that I don&#039;t understand -- but maybe you will.</p><div class="codebox"><pre><code>#!/bin/sh
########################################################################
#
# XFce 4file for GDM.  Usually in /etc/X11/gdm/Sessions.
#
# Add support for XIM; Modified by Babyfai Cheung.  2002/03/10 
########################################################################
## Launch an XIM input server if needed

# This&#039;s for RedHat and Slackware
for i in /etc/X11/xinit/xinitrc.d/* ; do
    if [ -x &quot;$i&quot; ]; then
        . &quot;$i&quot;
    fi
done

# This&#039;s for Mandrake
if [ -x /etc/X11/xinit/XIM ]; then
   . /etc/X11/xinit/XIM
fi

# Option ignoreABI added by me, 2007-01-09:
exec /usr/bin/startxfce4 -ignoreABI</code></pre></div><p>Do report back when you get everything working just right. It will help others.</p><p>Good luck! - Philip</p>]]></description>
			<author><![CDATA[dummy@example.com (philip)]]></author>
			<pubDate>Sat, 03 Feb 2007 18:34:51 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13062#p13062</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot select Xfce 4 in GDM]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13041#p13041</link>
			<description><![CDATA[<p>Many thanks for the response. Your data helped me choose on one thing, even though Mandriva is different from both Ubuntu and Suse in this respect: /usr/share/xsession (or variations on that in capitalisation) do not exist. Based on your description I think that Mandriva uses /etc/X11/dm/Sessions for the same purpose. Mine has a file &#039;06XFce4.desktop&#039; with nearly identical content to yours -- the differences are cosmetic only (I think after studying the syntax for these files at freedesktop.org) -- Mandriva also spells out the full path (like Ubuntu); type is Application (like Suse).</p><p>I have in the meantime made some progresss. GDM showed 5 sessions (Last session, Default, foo, foo, foo). From freedesktop I learnt that syntax error in .desktop files cause it to be interpreted as &#039;foo&#039;. I have selected foo #2 and this indeed mapped to 06Xfce4 after which all worked as before.<br />I wil go through the .desktop files with a fine comb (it shouldn&#039;t be too hard to find a syntax error in a file of 6 lines I hope) and may be post at Mandriva for explanation of how they start xsessions.</p>]]></description>
			<author><![CDATA[dummy@example.com (Pindakoe)]]></author>
			<pubDate>Sat, 03 Feb 2007 08:31:32 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13041#p13041</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot select Xfce 4 in GDM]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13031#p13031</link>
			<description><![CDATA[<p>The file <strong>${HOME}/.dmrc</strong> is specific to the user who owns it. It keeps track of that user&#039;s previous session (and, perhaps, other related stuff). But <strong>gdm</strong> serves all users, so the file you want to play with must be elsewhere.</p><p>I have both SuSE 10.2 and Ubuntu 2006.10 running. In both cases, the directory <strong>/usr/share/xsessions</strong> is the key to everything. Files of the form <strong>*.desktop</strong> in this directory are read by <strong>gdm</strong> as it determines which sessions to offer and how to start them. Perhaps your situation could be improved by copying my file <strong>xfce4.desktop</strong> into the <strong>/usr/share/xsessions</strong> directory on your machine. Here it is.</p><div class="codebox"><pre><code>[Desktop Entry]
Encoding=UTF-8
Name=Xfce Session
Comment=Use this session to run Xfce as your desktop environment
Exec=startxfce4
Icon=
Type=Application</code></pre></div><p>Edits are possible: my two distros use the text you put in the &quot;Name&quot; field to populate the <strong>gdm</strong> session chooser. Ubuntu prefers to put the full path of the <strong>startxfce4</strong> command in the &quot;Exec&quot; line, and it also fills in the assignment for an &quot;Icon&quot;. All the other <strong>*.desktop</strong> files on my SuSE setup say &quot;<strong>Type=XSession</strong>&quot;, but this file works as-is for me.</p><p>Good luck. Drop a line back here if this does the job, or if you succeed after a little more fiddling.</p>]]></description>
			<author><![CDATA[dummy@example.com (philip)]]></author>
			<pubDate>Sat, 03 Feb 2007 02:19:21 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13031#p13031</guid>
		</item>
		<item>
			<title><![CDATA[cannot select Xfce 4 in GDM]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13028#p13028</link>
			<description><![CDATA[<p>I just upgraded from Xfce 4.4RC2 to 4.4.0 final. There was a problem with libxfce4mcs3 (th couldn;t be replaced by libxfce4mcs4 which comes with 4.4.0 final) so I thought after a couple of days running with xfce 4.4.0 using libxfcemcs3 that a clean start would resolve this last detail. Thus: stopped X, removed all xfce-packages and re-installed it. Idea was that this would then automatrically pull in only the newest packages. This worked, but since then I cannot select xfce as a session in GDM -- it defaults to Gnome (default DE of the Mandriva version I have). The only way I can start xfce4 is by booting up in level 3, logon followed by startxfce4.</p><p>I have never quite understood how GDM figures out which sessions to offer; files in /etc/X11/dm/Sessions and/or /etc/X11/wmsession.d seem to have something to do with it. These both contain a file with xfce in its name (06Xce4.desktop and 06XFce4 respectively). Per user a file ~/.dmrc exists which has something to do with it as well. I do not understand the roles of these files well.&#160; Anybody who can advise how to correct this? All I want is to logon from GDM and then (usually) start Xfce4 (occasioanlly it would be Gnome).</p>]]></description>
			<author><![CDATA[dummy@example.com (Pindakoe)]]></author>
			<pubDate>Fri, 02 Feb 2007 21:26:57 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13028#p13028</guid>
		</item>
	</channel>
</rss>
