Results 1 to 4 of 4

Thread: Xorg CPU usage spikes on x11vnc connection

  1. #1
    Join Date
    Jul 2006
    Beans
    Hidden!

    Xorg CPU usage spikes on x11vnc connection

    Hello,

    My CPU usage is normal until I connect to the VNC server from another machine. When I am in the VNC session, Xorg CPU usage stays between 75% - 100% until it eventually crashes, bringing me back to the login screen.

    I am on fully updated Ubuntu 10.10. I have an AMD X2 3800+, with 1 GB of RAM. My video card is an nVidia GeForce4 MX 4000 and I am using the proprietary nVidia Accelerated Graphics Driver (version 96) [recommended]. I have only installed x11vnc, samba, and webmin.

    I didn't notice any problems in Xorg.log

    I am starting x11vnc with this command in /etc/gdm/Init/Default:

    Code:
    sudo /usr/bin/x11vnc -safer -forever -o /var/log/x11vnc.log -rfbauth /home/brandon/.vnc/passwd -bg
    I am looking for some advice on how I can troubleshoot this. Any help is greatly appreciated.

    Thank you!

  2. #2
    Join Date
    Dec 2006
    Beans
    810

    Re: Xorg CPU usage spikes on x11vnc connection

    There is a bug in the Xorg server that makes it go into an infinite recursion based on a request that x11vnc makes. Maybe this is your problem. One can work around the problem by adding this to the x11vnc cmdline:
    Code:
    -noxrecord
    There are some other, older, Xorg bugs that can be worked around with these x11vnc cmdline options:
    Code:
    -noxfixes -noxdamage
    Try all 3 to see if it works around your failure. You can search these forums for those 3 terms to get more information about the Xorg bugs.

  3. #3
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: Xorg CPU usage spikes on x11vnc connection

    Well, I tried those x11vnc options and it didn't seem to have much affect. Xorg CPU usage is still very high and therefore unusable. Thank you kindly for the suggestion.

    Perhaps there is a way to increase the verbosity of xorg logging. Then maybe I can see what it is working so hard on.

  4. #4
    Join Date
    Jul 2006
    Beans
    Hidden!

    Re: Xorg CPU usage spikes on x11vnc connection

    I built the latest version of x11vnc (0.9.13) from source but the problem persists.
    Last edited by brandn487; April 1st, 2011 at 04:14 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •