Enabling log on vnc server and finding who all is logged in
ankit.11nov at gmail.com
Tue Sep 20 17:48:35 BST 2011
Can anyone please help on this.
On Fri, Sep 16, 2011 at 7:22 PM, Ankit Kapoor <ankit.11nov at gmail.com> wrote:
> Hi All,
> I want to find out who all have logged into my setup(which is desktop with
> Linux running) after certain period of time. I have vnc server running on
> that desktop.
> So I thought of checking the vnc logs for this information.
> Below is the step which I have tried to enable logs on vnc server but it is
> giving an error.
> Is this the correct approach or something else can be tried to get this
> information. *Any help will be appreciated as I am stuck on this for past
> 3-4 days.*
> *STEPS to Enable Logs:*
> For both VNC Server and VNC Viewer, run the application with the -Log flag:
> vncserver -Log=*:stdout:100
> vncviewer -Log=*:stdout:100
> Logs will now be created in:
> Server: ~/.vnc/.log
> e.g. mypc.realvnc.com:6.log)
> This error is shown in the logs.
> ** (gnome-settings-daemon:7546): WARNING **: Connection failed
> Window manager warning: Failed to read saved session file
> 10909ec8827a686fd8131618004569434600000074620023.ms: Failed to open file
> 10909ec8827a686fd8131618004569434600000074620023.ms': No such file or
> Window manager warning: Log level 32: could not find XKB extension.
> ** (gnome-settings-daemon:7546): WARNING **: XKB extension not available
> ** (gnome-settings-daemon:7546): WARNING **: Neither XKeyboard not
> Xfree86's keyboard extensions are available,
> no way to support keyboard autorepeat rate settings
> Gdk-ERROR **: The program 'gnome-settings-daemon' received an X Window
> System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
> (Details: serial 417 error_code 3 request_code 20 minor_code 0)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error()
> Failed to play sound: Not available
> W: main.c: This program is not intended to be run as root (unless --system
> is specified).
> ** (gnome-user-share:7618): WARNING **: gnome-user-share cannot be started
> as root for security reasons.
> ** (gnome-volume-control-applet:7619): WARNING **: Connection failed
> Xlib: extension "DPMS" missing on display ":2.0".
> Initializing nautilus-gdu extension
> ** (nautilus:7566): WARNING **: Unable to add monitor: Not supported
More information about the VNC-List