Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-11-12 14:30:21

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 130.0

Xfce 4.20pre1

Hello.
I've tried downloading the Xfce version 4.20pre1 and I have come across some problems. For context, I got the download from this link:

https://alexxcons.github.io/blogpost_11.html

I downloaded the version on my Linux system and started configurating it until I ran into configuration problems.

CC xfdesktop-xfdesktop-trash-proxy.o
CCLD xfdesktop
/usr/bin/ld: xfdesktop-main.o: in function main': /src/xfce-build/build-xfdesktop/xfdesktop-4.19.6/src/main.c:58: undefined reference toxfdesktop_monitor_chooser_ui_register_resource'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:759: xfdesktop] Error 1
make[3]: Leaving directory '/src/xfce-build/build-xfdesktop/xfdesktop-4.19.6/src'
make[2]: *** [Makefile:674: all] Error 2
make[2]: Leaving directory '/src/xfce-build/build-xfdesktop/xfdesktop-4.19.6/src'
make[1]: *** [Makefile:604: all-recursive] Error 1
make[1]: Leaving directory '/src/xfce-build/build-xfdesktop/xfdesktop-4.19.6'
make: *** [Makefile:515: all] Error 2

This is one example I ran in to.

Is there any other version I can use or is there any other option to test the 4.20 version ?

Offline

#2 2024-11-12 19:01:22

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

Hello and welcome.

See: https://gitlab.xfce.org/xfce/xfdesktop/-/issues/318.

What configure parameters are you using?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-11-13 09:02:01

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 130.0

Re: Xfce 4.20pre1

ToZ wrote:

Hello and welcome.

See: https://gitlab.xfce.org/xfce/xfdesktop/-/issues/318.

What configure parameters are you using?


Im not using my own parameters, if im even using any. I've downloaded it from the blog post and started configurating it with the configurations they gave.

Offline

#4 2024-11-13 13:23:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

What distro are you building on?

Here are the build instructions - have a quick read. Also note that for 4.20pre1, you need to build libxfce4windowing first - so slot that one in (xfdesktop also requires it - which might be the cause of your error message).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2024-11-20 08:57:53

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 131.0

Re: Xfce 4.20pre1

ToZ wrote:

What distro are you building on?

Here are the build instructions - have a quick read. Also note that for 4.20pre1, you need to build libxfce4windowing first - so slot that one in (xfdesktop also requires it - which might be the cause of your error message).

im building on ubuntu server

I have followed the installation guide and libxfce4windowing is built but I still get an error building xfdesktop

Logs:
make[3]: Entering directory '/xfce/src/xfdesktop-4.19.6/settings'
  CC       xfdesktop_settings-main.o
  CC       xfdesktop_settings-xfdesktop-settings-ui.o
  CCLD     xfdesktop-settings
make[3]: Leaving directory '/xfce/src/xfdesktop-4.19.6/settings'
make[2]: Leaving directory '/xfce/src/xfdesktop-4.19.6/settings'
Making all in src
make[2]: Entering directory '/xfce/src/xfdesktop-4.19.6/src'
  GEN      xfdesktop-file-manager-fdo-proxy.c
  GEN      xfdesktop-file-manager-proxy.c
  GEN      xfdesktop-thunar-proxy.c
  GEN      xfdesktop-trash-proxy.c
make  all-am
make[3]: Entering directory '/xfce/src/xfdesktop-4.19.6/src'
  CC       xfdesktop-xfdesktop-backdrop-manager.o
  CC       xfdesktop-xfdesktop-icon-view.o
  CC       xfdesktop-xfdesktop-file-manager-fdo-proxy.o
  CC       xfdesktop-xfdesktop-file-manager-proxy.o
  CC       xfdesktop-xfdesktop-thunar-proxy.o
  CC       xfdesktop-xfdesktop-trash-proxy.o
  CCLD     xfdesktop
/usr/bin/ld: xfdesktop-main.o: in function `main':
/xfce/src/xfdesktop-4.19.6/src/main.c:58: undefined reference to `xfdesktop_monitor_chooser_ui_register_resource'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:759: xfdesktop] Error 1
make[3]: Leaving directory '/xfce/src/xfdesktop-4.19.6/src'
make[2]: *** [Makefile:674: all] Error 2
make[2]: Leaving directory '/xfce/src/xfdesktop-4.19.6/src'
make[1]: *** [Makefile:604: all-recursive] Error 1
make[1]: Leaving directory '/xfce/src/xfdesktop-4.19.6'
make: *** [Makefile:515: all] Error 2

Last edited by b4nds (2024-11-20 09:01:07)

Offline

#6 2024-11-20 10:52:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

Can you provide the complete instructions on how you are building? Once you get the file, what configure/make or meson commands are you running?

Also, which version of Ubuntu?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2024-11-20 12:26:00

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 131.0

Re: Xfce 4.20pre1

ToZ wrote:

Can you provide the complete instructions on how you are building? Once you get the file, what configure/make or meson commands are you running?

Also, which version of Ubuntu?


I'm using ./configure --prefix=${PREFIX} && make && make install
The version is Ubuntu 22.04.5 LTS

I went by the instructions and built/downloaded all the dependencies needed step by step

Offline

#8 2024-11-21 00:28:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

Probably best to create a bug report here.

Edit: Looking some more into it... I think the issue is a missing package - libdisplay-info-dev. It is required when building libxfce4windowing and does not exist in the 22.04 repos - it does in the 24.04 repos and the build works fine there.

Last edited by ToZ (2024-11-21 03:05:12)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2024-11-21 09:47:01

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 131.0

Re: Xfce 4.20pre1

ToZ wrote:

Probably best to create a bug report here.

Edit: Looking some more into it... I think the issue is a missing package - libdisplay-info-dev. It is required when building libxfce4windowing and does not exist in the 22.04 repos - it does in the 24.04 repos and the build works fine there.


I have updated it to the 24.04 repos and tried building the libxfce4windowing and xfdesktop again but I still get an error on the xfdesktop

Error:
/usr/bin/ld: xfdesktop-main.o: in function `main':
/xfce/src/xfdesktop-4.19.6/src/main.c:58:(.text.startup+0x30): undefined reference to `xfdesktop_monitor_chooser_ui_register_resource'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:759: xfdesktop] Error 1
make[3]: Leaving directory '/xfce/src/xfdesktop-4.19.6/src'
make[2]: *** [Makefile:674: all] Error 2
make[2]: Leaving directory '/xfce/src/xfdesktop-4.19.6/src'
make[1]: *** [Makefile:604: all-recursive] Error 1
make[1]: Leaving directory '/xfce/src/xfdesktop-4.19.6'
make: *** [Makefile:515: all] Error 2


Version:
Ubuntu 24.04.1 LTS

Offline

#10 2024-11-21 12:09:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

Maybe try rebuilding libxfce4ui first, then libxfce4windowing, then xfdesktop.

Here are my instructions for building it on 24.04 server install:

install server
    apt update && upgrade
    
apt install bzip2

wget https://archive.xfce.org/xfce/4.20pre1/fat_tarballs/xfce-4.20pre1.tar.bz2
    && uncompress

apt install:
    build-essential libgtk-3-dev xserver-xorg gtk-doc-tools xsltproc meson 
    libstartup-notification0-dev libgtk-layer-shell-dev intltool libgudev-1.0-dev
    libxml2-utils xserver-xorg-input-libinput-dev libwnck-3-dev x11-xserver-utils
    gobject-introspection valac libgtop2-dev libdisplay-info-dev libdbusmenu-gtk3-dev
    libnotify-dev libxklavier-dev libcanberra-dev libcolord-dev libpolkit-gobject-1-dev
    libxpresent-dev libyaml-dev libgepub-0.7-dev libopenrawgnome-dev libpoppler-glib-dev
    libgsf-1-dev libffmpegthumbnailer-dev libupower-glib-dev xinit 

xfce4-dev-tools    
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4util
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --enable-introspection
    make && make install
    
xfconf
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4ui
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
garcon
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --sysconfdir=/etc
    make && make install
    
exo
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4windowing
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-panel
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
thunar
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-settings
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --sysconfdir=/etc --enable-sound-settings
    make && make install
    
xfce4-session
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfwm4
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfdesktop
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-appfinder
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
tumbler
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install

thunar-volman
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install

xfce4-power-manager
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
startxfce4

These work for me.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2024-11-21 17:10:05

Clio
Member
Registered: 2011-01-25
Posts: 102
LinuxFirefox 134.0

Re: Xfce 4.20pre1

Instead of make install, there is the package checkinstall.
This is used to create packages that can then be installed cleanly with apt. A make install bypasses the package manager, but it is a bit more work.

Offline

#12 2024-11-21 20:27:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
Windows 10Microsoft Edge 131.0

Re: Xfce 4.20pre1

Thanks Clio. Admittedly, I'm not well versed with Ubuntu/Debian/apt. The method above just scatters files about so packaging it is a much better option.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#13 2024-11-26 13:16:12

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 131.0

Re: Xfce 4.20pre1

ToZ wrote:

Maybe try rebuilding libxfce4ui first, then libxfce4windowing, then xfdesktop.

Here are my instructions for building it on 24.04 server install:

install server
    apt update && upgrade
    
apt install bzip2

wget https://archive.xfce.org/xfce/4.20pre1/fat_tarballs/xfce-4.20pre1.tar.bz2
    && uncompress

apt install:
    build-essential libgtk-3-dev xserver-xorg gtk-doc-tools xsltproc meson 
    libstartup-notification0-dev libgtk-layer-shell-dev intltool libgudev-1.0-dev
    libxml2-utils xserver-xorg-input-libinput-dev libwnck-3-dev x11-xserver-utils
    gobject-introspection valac libgtop2-dev libdisplay-info-dev libdbusmenu-gtk3-dev
    libnotify-dev libxklavier-dev libcanberra-dev libcolord-dev libpolkit-gobject-1-dev
    libxpresent-dev libyaml-dev libgepub-0.7-dev libopenrawgnome-dev libpoppler-glib-dev
    libgsf-1-dev libffmpegthumbnailer-dev libupower-glib-dev xinit 

xfce4-dev-tools    
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4util
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --enable-introspection
    make && make install
    
xfconf
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4ui
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
garcon
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --sysconfdir=/etc
    make && make install
    
exo
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
libxfce4windowing
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-panel
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
thunar
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-settings
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu --sysconfdir=/etc --enable-sound-settings
    make && make install
    
xfce4-session
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfwm4
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfdesktop
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
xfce4-appfinder
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
tumbler
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install

thunar-volman
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install

xfce4-power-manager
    ./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m)-linux-gnu
    make && make install
    
startxfce4

These work for me.


Thank you very much; your solution worked for me. Unfortunately, I’ve encountered a new problem. The installation was successful, and Xfce was able to start. I reached the login screen, but after logging in, I couldn’t interact with the system. While I can see the desktop wallpaper, no applications are visible, and I’m unable to perform any actions.

Edit: Since it’s running on a Thin Client, I tried connecting an HDMI cable, which brought up the resolution settings. I adjusted the settings and clicked "OK." However, the wallpaper is now duplicated four times, and the resolution settings window is glitched on one of the duplicated wallpapers. I still can’t interact with anything, and restarting or rebooting doesn’t resolve the issue.

Last edited by b4nds (2024-11-26 13:27:06)

Offline

#14 2024-11-26 16:44:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Xfce 4.20pre1

b4nds wrote:

Thank you very much; your solution worked for me. Unfortunately, I’ve encountered a new problem. The installation was successful, and Xfce was able to start. I reached the login screen, but after logging in, I couldn’t interact with the system. While I can see the desktop wallpaper, no applications are visible, and I’m unable to perform any actions.

Which login screen? Are you using a display manager (if so, which one and which session are you selecting), and if your just logging in to a TTY, what command are you using to start Xfce?

Also look to see if there is an ~/.xsession-errors file or get output from journalctl:

journalctl --user -b 0

...or:

journalctl --user -b -1

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#15 2024-11-27 13:23:48

b4nds
Member
Registered: 2024-11-07
Posts: 7
Windows 10Chrome 131.0

Re: Xfce 4.20pre1

ToZ wrote:

Which login screen? Are you using a display manager (if so, which one and which session are you selecting), and if your just logging in to a TTY, what command are you using to start Xfce?

Also look to see if there is an ~/.xsession-errors file or get output from journalctl:

journalctl --user -b 0

...or:

journalctl --user -b -1

Actually, it worked! Using Alt + F3, I was able to open Chromium and test my issue. Unfortunately, the problem is not related to Xfce; it actually has to do with Chromium. Still, thank you very much—this has helped me a lot, and from my side, the issue is resolved.

Last edited by b4nds (2024-11-27 13:24:19)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 640.13 KiB (Peak: 672.97 KiB) ]