Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the logs of the gnome vino-server? [closed]

Tags:

logging

gnome

I've a machine with gnome & ubuntu maverick. Desktop sharing enabled. I want to know who as connected (the sharing is password protected)

Where are stored the logs of vino server, if they are any?

Thanks in advance!

like image 352
keatch Avatar asked Jan 28 '11 15:01

keatch


2 Answers

Actually, you can get logs with vino.

Write a shell script for execute vino-server, redirecting it's output to a file. Something like this:

#!/bin/bash
/usr/lib/vino/vino-server --sm-disable 2>&1 | tee -a ~/.local/share/vino/log

Now, go to gnome menu bar "System -> Preferences -> Startup applications", uncheck "Remote Desktop" and add a new one. Give it a name, like "Remote Desktop w/Log" and select the shell script with the "Browse" button. Save it and log out. The next time you log in you should have something in ~/.local/share/vino/log

I used this in Debian 6.0 Squeeze with GNOME 2.30

like image 119
Daniel Avatar answered Nov 25 '22 21:11

Daniel


dpkg -L vino doesn't show anything created in /var/log so i guess there are no logs.

like image 27
Florian Avatar answered Nov 25 '22 20:11

Florian