Re: DCOP question

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

 



On 2023-03-05 14:17:11 J Leslie Turriff via tde-users wrote:
> Hi,
> 	Is there a way for one account to fetch information from another account's
> DCOP service? If I open a Konsole session that logs into another account's
> shell, can that shell fetch the SessionName from the DCOP of the Konsole
> account?
>
> Leslie

	I had a sort of epiphany in the middle of the night a few days ago: "why not call dcop
via sudo to the owner of the Konsole that's hosting my terminal session?"  And that
works, though there are still a few issues for getting the information I need to
definitively identify my terminal session.

| sudo -u <konsoleOwner> -c /opt/trinity/bin/dcop --user <konsoleOwner> --list-sessions
| sudo -u <konsoleOwner> -c /opt/trinity/bin/dcop --user <konsoleOwner> --session
session-<number> ...

	Don't know why I didn't think of that long ago.

Leslie
--
Platform:		GNU/Linux
Hardware:		x86_64
Distribution:		openSUSE Leap 15.4
Desktop Environment:	Trinity
	Qt:		3.5.0
	TDE:		R14.0.13
	tde-config:	1.0
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



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

  Powered by Linux