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?








--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
_______________________________________________
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

Reply via email to