#1032773 lxterminal: a new lxterminal cmdline invoke opens new instances only as the first instance user

Package:
lxterminal
Source:
lxterminal
Description:
LXDE terminal emulator
Submitter:
Usama Makhzoum
Date:
2023-03-11 16:27:07 UTC
Severity:
normal
#1032773#5
Date:
2023-03-11 16:25:32 UTC
From:
To:
any new lxterminal invocation (as another user) will open the new window as the
first invocation.

a sample session:

user1@hostname:~/folder1/folder2 lxterminal &
[1] 7***
user1@hostname:~/folder1/folder2$ su
Password:
[1]+  Done                    lxterminal
user1@dhostname:~/folder1/folder2$ su
Password:
root@hostname:/home/user1/folder1/folder2# lxterminal
root@hostname:/home/user1/folder1/folder2#


***
the new instance will prompt
user1@hostname:~/folder1/folder2

instead of
root@hostname:/home/user1/folder1/folder2#

both commands will open lxterminal as user1, anyway if i swith user using su -
, the lxterminal is gonna open as root .

i think its something related to the way lxterminal connect to dbus and
determined to connect to the orginal instance.