Cannot start xfce from vnc startup script
Brian J. Tarricone
bjt23 at cornell.edu
Wed Jun 7 23:49:15 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/4/2006 5:45 PM, Larry Alkoff wrote:
>
> Part of the problem is that the
> /etc/X11/xinit/xinitrc.xfce
> that I copied to ~/.xinitrc
> is very complex and seems to use relative paths.
> It's attached.
You shouldn't be using this file as your ~/.xinitrc. If you want to
make local customisations to the $sysconfdir/xdg/xfce4/xinitrc file,
copy it to ~/.config/xfce4/ and edit it there. You should always start
xfce by simply running 'startxfce4'.
As Olivier mentioned later on, also be sure to unset SESSION_MANAGER if
you start the vnc server from inside an existing xfce session. So
really, your ~/.vnc/xstartup should just look like this:
- ------ cut here ------
#!/bin/sh
unset SESSION_MANAGER
exec startxfce4
- ------ cut here ------
And that's it. This assumes startxfce4 is in your PATH. If not,
obviously adjust that as needed.
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFEh0nb6XyW6VEeAnsRAuu+AJ9xsttL8zkcpXhqK8FJwpwwzR9SUACdGAzf
+N5RjSUMJc0OxH71ZKOTyOc=
=g3+l
-----END PGP SIGNATURE-----
More information about the Xfce
mailing list