XFCE dont show on login screen (xfce4-session install error)

1 reply [Última entrada]
Garsmith
Desconectado
Joined: 07/27/2013

I'm playing with Trisquel and trying to install XFCE under Virtualbox. Testing before the real thing. Installing on Mini/LXDE but tested Gnome with the same error.

I have followed these two but I cant choose XFCE in the login screen. At first the installation guide and when that did not work the script/patch in link two.
https://trisquel.info/it/forum/xfce#comment-37702
https://trisquel.info/en/forum/upgrade-xfce#comment-47702

Now after all has been updated and installed I test to run "sudo apt-get dist-upgrade" and it want to upgrade "xfce4-session" and I get this error:

(Reading database ... 137905 files and directories currently installed.)
Preparing to replace xfce4-session 4.8.3-0ubuntu2 (using .../xfce4-session_4.10.1-0ubuntu1~ppa0.12.04.1_amd64.deb) ...
Unpacking replacement xfce4-session ...
dpkg: error processing /var/cache/apt/archives/xfce4-session_4.10.1-0ubuntu1~ppa0.12.04.1_amd64.deb (--unpack):
trying to overwrite '/etc/xdg/autostart/xscreensaver.desktop', which is also in package trisquel-desktop-common-data 6.0-6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xfce4-session_4.10.1-0ubuntu1~ppa0.12.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm wondering how can a error like this come on a clean installation. Only updated software to latest and then install XFCE. I have tested to delete the named file above in archives folder, it apt-get downloads it again but still get same error.

Some time ago I tested to install XFCE on a netinstall installation and it worked except no login manager/display manager but the normal console login and then run startx.

Garsmith
Desconectado
Joined: 07/27/2013

I have now tested installing Trisquel 32bit, 64bit, LXDE and gnome edition. Even netinstall. The result below:

Tested with 32bit version of Trisquel mini but with the same error:

Errors were encountered while processing:
/var/cache/apt/archives/xfce4-session_4.10.1-0ubuntu1~ppa0.12.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tested clean install and first thing I do is open terminal and run commands in this order and then get the error messages quoted above:
sudo apt-get update
sudo apt-get dist-upgrade
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install xfce4

I also tested with fresh install and in 32bit do a direct install of XFCE and under 64bit update the system and then install XFCE, not adding 4.10 and 4.12 repository. Installation worked great and "XFCE Session" popuped in the desktop list in login window but when logging in the screen flash and back again at login screen. Now tested to add repository and install latest version. Again the same error message as above and now "XFCE session" is gone from the login screen. XFCE just do not want to work in Trisquel mini for me.

I tested to install XFCE in 64bit Gnome edition. Fresh installation of Trisquel Gnome and then ran the command below. Logged out, choose "XFCE session" in login screen and there it was, XFCE4 4.8.
sudo apt-get install xfce4

To update XFCE and rest of the system i ran these:
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get dist-upgrade

At the end I get this error:
Errors were encountered while processing:
/var/cache/apt/archives/xfce4-session_4.10.1-0ubuntu1~ppa0.12.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

After that "XFCE session" is now gone at login screen.

What am I doing wrong?

Netinstall is the only way for me to get newer version then 4.8 of XFCE to work. Is their a fix out there that I have not found? Is there something I'm missing?

Tested a fresh netinstall of Trisquel. Only console installation. No Triskel, mini or other alternative.
sudo apt-get install xfce4
sudo apt-get install gdm

rebooting system and log in. GDM looks horrible XFCE is ugly.

sudo apt-get install synaptic
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get dist-upgrade

rebooting system again. GDM look as ugly and default XFCE with no extra at all but a bit better. 4.10 is installed. But it is nice with a clean installation. All the programs can be installed manually so it isnt a big deal.

Am I the only one with this problem regarding XFCE installation? Is maybe Virtualbox the problem?