LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-05-2020, 04:18 PM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Rep: Reputation: Disabled
XFCE4 works with root login only on BLFS SYSTEMD 10.0


Hi Everyone,

Still can't figure this out. When I login with root all of xfce4 works as
should. When I login as normal user power manager, usb drives and such
don't work. I had this happen a long time ago version 8.3 I think and can't remember what it took to get it to work. Any ideas on where I went wrong?
Thanks for help and ideas.
DH
 
Old 12-06-2020, 07:38 AM   #2
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
There is a systemd command will let you follow the jounal in real time. So you can try to do something as a regular user and see what the logs say. Probably policy-kit related - you do have polkit-gnome installed? I think that's what XFCE uses for a PK agent.
 
Old 12-06-2020, 10:30 AM   #3
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Hey Bryan and thanks for the reply. I do have polkit-gnome also. I was wondering if I need to put my name here "PolicyKit Daemon Owner" ? I never remember having to do that before. I'm
moving back to Florida in about 3 years where you from?




groupadd -fg 27 polkitd &&
useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
-g polkitd -s /bin/false polkitd
 
Old 12-06-2020, 10:50 AM   #4
arch-linq
Member
 
Registered: Sep 2018
Location: Midwest, USA
Distribution: Arch,LFS,BLFS
Posts: 110

Rep: Reputation: Disabled
Check the xorg.0.log after trying to start xfce using startx as reg user. Not rebuilding systemd and dbus after doing xorg-apps throws lots of noobs off.
 
Old 12-06-2020, 11:07 AM   #5
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Hey Arch-Ling,

XFCE starts as user but I don't have full function(usb's,other drives don't automount,shutdown menu all greyed out except for logout icon) as I do when I login with root. Something is keeping me from that.I'v built 8.1,8.3,8.4 and 9.0 and never had this happen. Truly puzzled
 
Old 12-06-2020, 11:43 AM   #6
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
"journalctl -f" That's the command. I had to look in the online systemd book as i don't currently use systemd. Just run that in a root terminal and then, as a regular user, try to mount an external drive or try to bring up the shutdown menu.
 
Old 12-06-2020, 11:58 AM   #7
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
journalctl -f Is showing me my firewall is active. I can and have been able to mount usb drive with commands . I am wondering if polkit is screwed up and if I had it setup correctly. If I login as root xfce works fine. Just "user" and some apps work but no auto mounting of drives or other partitions either. I make it work some but
just wished it worked as well as 9.0
 
Old 12-06-2020, 12:21 PM   #8
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
Hey Guy's ,

I had some success by reinstalling polkit . At least the shutdown menu works and
it picks up mu usb drives . Thats better than it was.
Thanks for the help and maybe the rest will workout.
 
Old 12-06-2020, 04:39 PM   #9
arch-linq
Member
 
Registered: Sep 2018
Location: Midwest, USA
Distribution: Arch,LFS,BLFS
Posts: 110

Rep: Reputation: Disabled
Xorg log has info about devices loading and journalctl/dmesg also. These should be obvious to look at for errors/clues to what you missed or did wrong. Dbus is critical as is PAM. You're not giving us any actual errors.
Saying things don't work isn't how you ask for help.
 
Old 12-06-2020, 06:03 PM   #10
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
Try to get that for you

Last edited by Captian Kangeroo; 12-06-2020 at 06:09 PM.
 
Old 12-07-2020, 06:27 AM   #11
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
decided restart

Restarted with a clean installed clone. Try to see if I
can find what I messed up
 
Old 12-11-2020, 11:15 AM   #12
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
FIXED

Was a polkit problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BLFS 10.0 How do I get total ownership of my blfs system ? Captian Kangeroo Linux From Scratch 4 12-09-2020 08:45 PM
[SOLVED] BLFS: XFCE4 exits without prompt on "logout" jr_bob_dobbs Linux From Scratch 10 06-20-2017 09:54 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration