Here is what I noticed about this problem.  If you have enabled saved
sessions, and enabled Remote Desktop, then /usr/lib/vino-server is
called twice on startup.  There is an entry in ~/.config/autostart that
looks like this:

[Desktop Entry]
Name=Remote Desktop
Comment=GNOME Remote Desktop Server
Exec=/usr/lib/vino/vino-server
Icon=preferences-desktop-remote-desktop
OnlyShowIn=GNOME;
Terminal=false
Type=Application
AutostartCondition=GNOME /desktop/gnome/remote_access/enabled
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=true
X-Ubuntu-Gettext-Domain=vino
Name[en_US]=Remote Desktop
Comment[en_US]=GNOME Remote Desktop Server
X-GNOME-Autostart-enabled=false

A second entry is stored in ~.config/gnome-session/saved-session, that
looks like this:

[Desktop Entry]
Name=Remote Desktop
Comment=GNOME Remote Desktop Server
Exec=/usr/lib/vino/vino-server --sm-config-prefix /vino-server-HoEasp/ 
--sm-client-id 10bcd2e6992780ce6c125357640957023300000256140028 --screen 0
Icon=preferences-desktop-remote-desktop
OnlyShowIn=GNOME;
Terminal=false
Type=Application
AutostartCondition=GNOME /desktop/gnome/remote_access/enabled
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=true
X-Ubuntu-Gettext-Domain=vino
Name[en_US]=Remote Desktop
Comment[en_US]=GNOME Remote Desktop Server
X-GNOME-Autostart-enabled=false
X-GNOME-Autostart-startup-id=10bcd2e6992780ce6c125357640957023300000256140028

I am probably wrong, but it looks to me like enabling Remote Desktop
causes the process to be run twice, with conflicting options.   Also,
the X-GNOME-AutoRestart=true suggests to me that if the process is
killed, it will automatically restart (which is exactly what happens).

-- 
High cpu usage caused by Remote Desktop?
https://bugs.launchpad.net/bugs/367087
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to