xfce4-session

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Sat Jul 5 22:27:07 CEST 2003


On Sat, 05, Jul 2003, Ric wrote:

> Hi Benedikt:

Hey Ric,

> xfce4_session-shutdown.o: In function `shutdownDialog':
> /.../XFCE4/targz/TEST/xfce4-session-0.0.15/xfce4-session/shutdown.c:153:
> undefined reference to `gdk_screen_get_default'
> /.../XFCE4/targz/TEST/xfce4-session-0.0.15/xfce4-session/shutdown.c:153:
> undefined reference to `gtk_invisible_new_for_screen'

I'll make it work with Gtk+ 2.0.x soon.

> The first thing was to simply, as you suggested, replace
> the startxfce4 call with xfce4-session but no-go.  That's
> in /etc/X11/wmsession.d/xfce4 file, ICYDK. It did not work.
> There were no xinitrc files on this system that are used by
> XFce4 except for  /etc/xfce4/xinitrc.  There are _no_
> xinitrc files that have a  startxfce4  in them.  I did
> create a  ~/.xfce4/xinitrc  and put only " xfce4-session "
> in it with hopes that would resolve the problem; nope :(
> BTW, putting xfce4-session at the bottom of 
> /etc/xfce4/xinitrc does not work either; I won't list all
> the different iterations I have tried...
> Basically, I do not know (cannot find) what must be running
> _before_ xfce4-session is called. 
> 
> I'm still working on it but Please enlighten me...

Ok, using xfce4-session with startxfce4 is very easy: Just create a
file ~/.xfce4/xinitrc (and don't forget to chmod +x it) with the
following content:

-----------------
#!/bin/sh
xfce4-session
-----------------

That should do the work. Do not launch any SM aware apps _before_
xfce4-session, but let xfce4-session do the work.

For an example, see my ~/.xfce4/xinitrc here:

http://echobase.homeunix.net/~bmeurer/tmp/xinitrc

HTH,
Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list