On Thu, 8 Sept 2022 at 11:44, Chuck Zmudzinski <brchu...@netscape.net> wrote:
> On 9/7/22 7:45 PM, David wrote:
> > On Thu, 8 Sept 2022 at 02:49, Chuck Zmudzinski <brchu...@netscape.net> 
> > wrote:
> > > On 9/7/2022 12:13 PM, Chuck Zmudzinski wrote:
> >
> > > > I use the tigervnc-standalone-server which is in the Debian packages
> > > > archives. I use it only on a trusted LAN network so I don't need an
> > > > encrypted vnc connection either, and I can access it remotely from the
> > > > Internet by connecting to the LAN using a VPN (I use strongswan/IKEv2
> > > > for the VPN server). The main configuration files are at ~/.vnc, and
> > > > there are tools to configure it such as vncpasswd. The most important
> > > > configuration file is ~/.vnc/xstartup, where you launch your DE or
> > > > window manager of your choice.
> >
> > > > You can launch the server from a terminal logged in as an ordinary user
> > > > and the server runs as an ordinary user in the background so after you
> > > > start the server in a terminal you can exit that terminal session.
> >
> > > Actually, you *should* exit that terminal session, especially if it is
> > > a terminal window running in the same kind of session (gnome, lxde, etc)
> > > and as the same user that you plan to run in the VNC server. This is
> > > another limitation of the tigervnc-standalone-server: it does not connect
> > > to an already running X11 session but instead launches a new session as
> > > an ordinary user as specified in ~/.vnc/xstartup.
> >
> > > I have found that if I try to run two sessions as the same user, one over
> > > VNC and one on the local desktop, it does not work too well, at least
> > > with the current version of gnome, probably because there is not good
> > > enough separation of the various user processes that gnome starts for
> > > each user session.
> >
> > Hi,
> >
> > Regarding your final sentence, I wonder if installing dbus-x11 instead of
> > dbus-user-session would improve that situation.
> >
> > Because of what I read in the 'Description' in the output of
> > 'apt show dbus-user-session'.
> >
>
> I have both dbus-user-session and dbus-x11 installed:
>
> chuckz@debian:~$ dpkg-query -l dbus*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                    Version      Architecture Description
> +++-=======================-============-============-=================================================================
> ii  dbus                    1.12.20-2    amd64        simple interprocess 
> messaging system (daemon and utilities)
> un  dbus-bin                <none>       <none>       (no description 
> available)
> un  dbus-daemon             <none>       <none>       (no description 
> available)
> un  dbus-session-bus        <none>       <none>       (no description 
> available)
> un  dbus-session-bus-common <none>       <none>       (no description 
> available)
> un  dbus-system-bus         <none>       <none>       (no description 
> available)
> un  dbus-system-bus-common  <none>       <none>       (no description 
> available)
> ii  dbus-user-session       1.12.20-2    amd64        simple interprocess 
> messaging system (systemd --user integration)
> ii  dbus-x11                1.12.20-2    amd64        simple interprocess 
> messaging system (X11 deps)
>
> I don't know how systemd handles the case when one user has two gnome 
> sessions running at the same time or if it is possible to make it behave 
> better in that case. I also don't know if installing dbus-session-bus or 
> dbus-system-bus might help. If anyone has any tips to improve the way it runs 
> in that case, I could try them out.

The 'Description' to which I referred you says:
  To retain dbus' traditional session semantics, in which login sessions
  are artificially isolated from each other, remove this package and install
  dbus-x11 instead

Note: "remove this package".

Reply via email to