On 10/24/24 22:41, Ian Laurie via xfce wrote:
On 10/25/24 10:36 AM, ToddAndMargo via xfce wrote:
On 10/23/24 03:42, ToddAndMargo via xfce wrote:
On 10/23/24 02:15, Ian Laurie via xfce wrote:
On 10/23/24 7:33 PM, ToddAndMargo via xfce wrote:
Hi All,
Fedora 40
xfce 4.18
I cannot start xfce from lightdm. It tried, give me
a bunch of errors about xinit: unable to connect to
x server
But xfce starts fine from the command lien with startx
??????????
Many thanks,
-T
Was this an upgrade or did you install from an ISO, and if so which
one?
This happened after an upgrade from Fedora 39 to Fedora 40. It
did not go well.
This issue did not appear until -- out of frustration with
selinux -- I threw a
touch /.autorelabel; reboot
then the xinit error occurred. Apparently, ligntdm is using
xinit.
This is the xinit error I am getting:
$ xinit
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
removing /tmp/.X0-lock does no good.
I put some echo's in both startx and startxfce4 to see
what the difference is:
startxfce4:
if [ -f $BASEDIR/xinitrc ]; then
echo "exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC vt${tty_num}"
> /tmp/startxfce4.if.run.string.txt
exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC vt${tty_num}
elif [ -f $HOME/.xfce4/xinitrc ]; then
mkdir -p $BASEDIR
cp $HOME/.xfce4/xinitrc $BASEDIR/
echo "exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC vt${tty_num}"
> /tmp/startxfce4.elsif.run.string.txt
exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC vt${tty_num}
else
echo "exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC
vt${tty_num}" > /tmp/startxfce4.else.run.string.txt
exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC vt${tty_num}
fi
startxfce4.else.run.string.txt:
exec xinit /etc/xdg/xfce4/xinitrc -- vt3 vt3
startx.run.string.txt:
xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 vt2 -keeptty -auth
/home/ tony/.serverauth.9909
And this shows up like a soar thumb in startxfce4:
I DO NOT have a /etc/xdg directory
Any suggestions on how to fix this?
No clue from my side. There is a lot of stuff in there. This system
has been updated in place since about Fedora 34, never struck this issue.
zuke$ tree /etc/xdg
/etc/xdg
├── autostart
│ ├── at-spi-dbus-bus.desktop
│ ├── blueman.desktop
│ ├── geoclue-demo-agent.desktop
│ ├── gnome-keyring-pkcs11.desktop
│ ├── gnome-keyring-secrets.desktop
│ ├── gnome-keyring-ssh.desktop
│ ├── imsettings-start.desktop
│ ├── nm-applet.desktop
│ ├── orca-autostart.desktop
│ ├── org.freedesktop.problems.applet.desktop ->
/usr/share/applications/org.freedesktop.problems.applet.desktop
│ ├── org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
│ ├── org.mageia.dnfdragora-updater.desktop
│ ├── org.xfce.xfdashboard-autostart.desktop
│ ├── sealertauto.desktop
│ ├── spice-vdagent.desktop
│ ├── user-dirs-update-gtk.desktop
│ ├── vboxclient.desktop
│ ├── vmware-user.desktop
│ ├── xapp-sn-watcher.desktop
│ ├── xdg-user-dirs.desktop
│ ├── xfce4-notes-autostart.desktop
│ ├── xfce4-notifyd.desktop
│ ├── xfce4-power-manager.desktop
│ ├── xfce4-screensaver.desktop
│ ├── xfce-polkit.desktop
│ └── xfsettingsd.desktop
├── menus
│ ├── applications.menu
│ ├── applications-merged
│ ├── documentation.menu
│ ├── preferences.menu
│ ├── preferences-merged
│ ├── preferences-post-merged
│ ├── server-settings.menu
│ ├── settings.menu
│ ├── settings-merged
│ ├── start-here.menu
│ ├── system-settings.menu
│ ├── xfce4-screensavers.menu
│ ├── xfce-applications.menu
│ └── xfce-settings-manager.menu
├── openbox
│ ├── autostart
│ ├── environment
│ ├── menu.xml
│ ├── rc.xml
│ └── terminals.menu
├── plasma-workspace
│ ├── env
│ └── shutdown
├── qtchooser
│ ├── 5-64.conf
│ ├── 5.conf -> /etc/alternatives/qtchooser-5
│ └── default.conf -> /etc/alternatives/qtchooser-default
├── QtProject
├── SEGGER
│ └── SEGGER Linux Studio.conf
├── systemd
│ └── user -> ../../systemd/user
├── Thunar
│ └── uca.xml
├── tumbler
│ └── tumbler.rc
├── user-dirs.conf
├── user-dirs.defaults
├── xfce4
│ ├── helpers.rc
│ ├── panel
│ │ └── default.xml
│ ├── xfconf
│ │ └── xfce-perchannel-xml
│ │ ├── xfce4-keyboard-shortcuts.xml
│ │ ├── xfce4-power-manager.xml
│ │ ├── xfce4-session.xml
│ │ └── xsettings.xml
│ ├── Xft.xrdb
│ └── xinitrc
└── Xwayland-session.d
├── 00-at-spi
└── 10-ibus-x11
23 directories, 59 files
zuke$
Almost figured it out. I renamed my user profile and created
a fresh directory. Guess what starting working. So I know
it is in my profile somewhere. I WILL FIND IT! <maniacal laughter>
--
_______________________________________________
xfce mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue