Re: how to discover what package is required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-01-14 17:34:03 Jim via tde-devels wrote:
> On Thu, Jan 14, 2021 at 16:17 (-0500), E. Liddell wrote:
> > On Thu, 14 Jan 2021 11:39:42 -0400
> >
> > Jim via tde-devels <devels@xxxxxxxxxxxxxxxxxx> wrote:
> >> On Wed, Jan 13, 2021 at 19:00 (+0100), Slávek Banko via tde-devels wrote:
> >>> On Wednesday 13 of January 2021 18:42:12 Jim via tde-devels wrote:
> >>>> On Wed, Jan 13, 2021 at 17:36 (+0100), Slávek Banko via tde-devels
> >>>
> >>> wrote:
> >>>>> On Wednesday 13 of January 2021 16:49:00 Jim via tde-devels wrote:
> >>>>>> ADDITIONAL INFORMATION which may or may not help:
> >>>>>> When I start up kcontrol, the pane on the left which should have all
> >>>>>> sort of things (in an older version of TFE on another computer I
> >>>>>> have "Appearance & Themes", "Desktop", "Internet & Network", and so
> >>>>>> on) is empty.  So, again, it can't find whatever it is looking for.
>
> <snip>
>
> >>> Can you try it in a full TDE session?
> >>
> >> Yes, as described above, if by "full session" we mean do both
> >> -> use tdm display manager
> >> and
> >> -> start TDE session
> >> then it works.
> >>
> >>
> >> Given my "essentially nil" understanding of the code base, I don't
> >> know if I can be much help tracking this down, but if you want me to
> >> give something a try, just let me know.
> >
> > If I try to bring up kcontrol when su'd to root inside a konsole
> > window, I get a blank left panel in kcontrol and the following:
> >
> > ryu ~ # kcontrol
> > [tdebuildsycoca] tdebuildsycoca running...
> > [2021/01/14 15:52:02.413] [dcopserver] DCOP Cleaning up dead connections.
> > [2021/01/14 15:52:02.451] [kcontrol] WARNING: No TDE menu group with
> > X-TDE-BaseGroup=settings found ! Defaulting to Settings/
> >
> > The left panel is populated if I open kcontrol from the command line as
> > the logged-in user, and the buildsycoca, DCOP, and warning messages are
> > not printed.
> >
> > So the problem is either something DCOPish, or something to do with that
> > warning message.  Probably.
> >
> > Jim, can you test to see if you get the same messages, so we can make
> > sure I'm not conflating two different problems?
>
> Given that it works when I run from a "full TDE session", I am running
> these commands from my trusty fvwm2 session, as started by xdm.
>
>
>
> [tdebuildsycoca] tdebuildsycoca running...
> [2021/01/14 17:31:29.641] [tdebuildsycoca] Reusing existing tdesycoca.
> [2021/01/14 17:31:29.860] [tdebuildsycoca] ERROR: tde-applications.menu not
> found in (/home/zsd/.rpi4-4-files/config/menus/,/etc/xdg/menus/)
> [2021/01/14 17:31:29.956] [dcopserver] DCOP Cleaning up dead connections.
> [2021/01/14 17:31:30.306] [kcontrol] WARNING: No TDE menu group with
> X-TDE-BaseGroup=settings found ! Defaulting to Settings/
>
> I quit kcontrol and then a minute (or so) later ran it again.  This time
> I got
>
> [tdebuildsycoca] tdebuildsycoca running...
> [2021/01/14 17:33:22.228] [kcontrol] WARNING: No TDE menu group with
> X-TDE-BaseGroup=settings found ! Defaulting to Settings/
>
> Twenty minutes later I ran it once more:
>
> [tdebuildsycoca] tdebuildsycoca running...
> [2021/01/14 17:53:32.414] [dcopserver] DCOP Cleaning up dead connections.
> [2021/01/14 17:53:33.073] [kcontrol] WARNING: No TDE menu group with
> X-TDE-BaseGroup=settings found ! Defaulting to Settings/
>
>
>
> How exactly did you su to root?  If I just "su", /opt/trinity/bin is
> in my PATH, whereas if I "sudo su" it is not.

	You probably want to use su -, not just su.  From info su:
|       -, -l, --login
|              Start the shell as a login shell with an environment similar to 
a real login:
|                 o      clears all the environment variables except TERM and 
variables specified by --whitelist-environment
|                 o      initializes the environment variables HOME, SHELL, 
USER, LOGNAME, and PATH
|                 o      changes to the target user's home directory
|                 o      sets argv[0] of the shell to '-' in order to make the 
shell a login shell

Without the login option, you're still pointing to your own home directory and 
various environment variables, but running with root privileges.

Leslie

> For the root output 
> below, I just did "su".  And to start with a clean config, I did the
> rm shown below
>
> root@rpi4-4:/scratch/tmp# rm -rf ~/.cache ~/.ICEauthority ~/.config
> /tmp/tde*root /tmp/.ICE-unix/ root@rpi4-4:/scratch/tmp# kcontrol
> /usr/bin/iceauth:  creating new authority file /root/.ICEauthority
> [tdebuildsycoca] tdebuildsycoca running...
> [2021/01/14 19:31:17.736] [kcontrol] WARNING: No TDE menu group with
> X-TDE-BaseGroup=settings found ! Defaulting to Settings/
>
> And no info in the left pane.
>
>
> As an added bonus, here are the (apparently) relevant processes:
>
> root     10818  1.0  0.6  49132 26780 pts/1    S    19:31   0:00 kcontrol
> root     10823  0.0  0.2  36836 10824 ?        Ss   19:31   0:00 [tdeinit]
> tdeinit Running... root     10828  0.0  0.2  36600  8832 ?        S   
> 19:31   0:00 dcopserver [tdeinit] --nosid --suicide root     10831  0.0 
> 0.3  37900 14684 ?        S    19:31   0:00 tdelauncher [tdeinit]
> --new-startup root     10833  0.0  0.4  38308 16076 ?        S    19:31  
> 0:00 kded [tdeinit] --new-startup root     10908  0.0  0.3  37340 11872 ?  
>      S    19:31   0:00 tdeio_file [tdeinit] file /tmp/tdesocket-root/ root 
>    10909  0.0  0.3  37340 11872 ?        S    19:31   0:00 tdeio_file
> [tdeinit] file /tmp/tdesocket-root/ root     10910  0.0  0.3  37340 11872 ?
>        S    19:31   0:00 tdeio_file [tdeinit] file /tmp/tdesocket-root/
> root     10911  0.0  0.3  37340 11872 ?        S    19:31   0:00 tdeio_file
> [tdeinit] file /tmp/tdesocket-root/
>
>
> If that information is not what you are looking for, let me know.
>
>                                 Jim
> ____________________________________________________
> tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
> Web mail archive available at
> https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydesk
>top.org

	

Leslie
-- 
____________________________________________________
tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx




[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux