You are not logged in.

#1 2020-12-10 23:37:10

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Startxfce4 Failure

So I have been start XFCE fro the command line after logging in, and all was working fine up until a pacman -Syu yesterday (systemd did get updated).  It looks like X windows starts but XFCE4 has problems. 

If anybody can tell me quick where I can find some error messages (I don't see any in the Xorg log, that would be great!

TIA!

Offline

#2 2020-12-10 23:39:12

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Re: Startxfce4 Failure

And some more infor - if I run startxfce4 as root, I get a running session so it is likely I have some problem in my user config that is an issue. A quick clue as to how to see the error messages would be much appreciated. I don't see anything in systemd journal.

Offline

#3 2020-12-11 00:16:32

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: Startxfce4 Failure

Do you have 'exec startxfce4' in '.xinitrc'? exec is not allowed anymore there. I've learned that the hard way.
See in '/etc/X11/' for any malicious xorg startup scripts.

Put this in '~/.xinitrc' to log console output:

#set -x
exec &> /tmp/xinitrc.log

'set -x' might flood a lot. Maybe enable on 2nd run.

Last edited by Maniaxx (2020-12-11 00:50:57)


sys2064

Offline

#4 2020-12-11 00:31:37

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Startxfce4 Failure

Maniaxx wrote:

Any chance you have 'exec startxfce4' in '.xinitrc'? 'exec' is not allowed anymore there. I've learned it the hard way.

Absolute rubbish. Source please?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2020-12-11 00:44:00

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: Startxfce4 Failure

Possible. I think i get that wrong here:

Remember that lines following a command using exec would be ignored.
https://wiki.archlinux.org/index.php/Xinit#xinitrc

It did not continue to boot here out of a sudden (until i removed 'exec') after an update. Will check that again. I've read something about 'root X sessions' not allowed anymore started with 'exec' but can't get it together anymore. Not sure where i read it.

Edit: 'exec startxfce4' works. Not sure what was wrong.

Last edited by Maniaxx (2020-12-11 01:07:38)


sys2064

Offline

#6 2020-12-11 00:59:09

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Re: Startxfce4 Failure

Thank guys!  I've got some work to do and report back!

Offline

#7 2020-12-11 04:57:48

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Re: Startxfce4 Failure

So, I am able to create a new user and everything works GREAT.

And a time to fess up a bit.  I've been using Linux since 1996, and my home directory is quite old and full of massive amounts of crusty stuff.  So no doubt SOMETHING in there is causing the problem, I haven't quite found it yet, because I'm still trying to find a good way to find the errors. But a newly created user account works great.

So bummer, carry around massive cruft in hidden configuration files for almost thirty years and it catches up to you.  What kind of CRAPPY operating system is this?

BIG F&*KING GRIN!

Offline

#8 2020-12-11 08:36:02

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Re: Startxfce4 Failure

Fixed it.

Went to .cache and renamed the sessions directory to sessions-old.  There was something messed up on the saved sessions. Everything back to normal including files going back to 1996 or so.  Linux is so awesome, no other operating system is this crazy.  Well, OK maybe some of the BSDs. And some of the micro VAXs back in the day, and Sun was great, and HP had some stuff, and...

Offline

#9 2020-12-11 08:37:25

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 70

Re: Startxfce4 Failure

And archlinux is monster!

Thanks!

Offline

#10 2020-12-11 12:11:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,678

Re: Startxfce4 Failure

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB