Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

askthedev.com Logo askthedev.com Logo
Sign InSign Up

askthedev.com

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Ubuntu
  • Python
  • JavaScript
  • Linux
  • Git
  • Windows
  • HTML
  • SQL
  • AWS
  • Docker
  • Kubernetes
Home/ Questions/Q 6378
Next
In Process

askthedev.com Latest Questions

Asked: September 25, 20242024-09-25T11:46:12+05:30 2024-09-25T11:46:12+05:30In: Ubuntu

I am experiencing a black screen issue when trying to connect to my Ubuntu machine using x11vnc. Can anyone provide guidance on how to resolve this problem?

anonymous user

I’m in a bit of a pickle and could really use some help from the community. I’ve been trying to connect to my Ubuntu machine using x11vnc, and it’s like my screen just wants to play hide and seek! Instead of seeing my desktop, I’m greeted with this frustrating black screen. It’s driving me a little nuts because I rely on this connection for my remote work, and the whole point of using VNC is to get visual access, right?

So, here’s the scoop: I’ve installed x11vnc, set up the password, and made sure the service is running. I’m using a fairly recent version of Ubuntu, but I can’t seem to get past this black screen. I’ve read tons of forums and tried a bunch of different command-line options to configure it, but nothing seems to work. The weird part is that I can connect to it; I just can’t see anything once I do—totally black!

I’ve tried restarting the VNC server and even rebooting the whole system, just in case it was a temporary hiccup. I also checked the lightdm settings since I read that might mess with the display, but still no luck. It’s like the black screen is taunting me.

One thing that crossed my mind is whether it could be related to my display manager settings or something with the graphics drivers. But honestly, I’m not the most tech-savvy when it comes to these deeper configurations, so I’m a bit out of my depth here.

Has anyone else run into this issue? Any tips or tricks you can share would be super helpful! I’d love to hear about any experiences you’ve had or solutions that worked for you. I’m all ears for anyone who’s been through this kind of struggle—thanks in advance for your help!

  • 0
  • 0
  • 2 2 Answers
  • 0 Followers
  • 0
Share
  • Facebook

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Google
    or use

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Google

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. anonymous user
      2024-09-25T11:46:13+05:30Added an answer on September 25, 2024 at 11:46 am



      Help with x11vnc – Black Screen Issue

      Hey, sounds like you’re really in a tough spot with that black screen on x11vnc! I totally get how frustrating that is, especially when you’re trying to get some work done. I’m not a VNC pro, but I can share a couple of things that might help you out.

      First up, one common fix for that black screen is to make sure you’re starting x11vnc with the right options. Have you tried using the following command?

      x11vnc -display :0 -auth guess

      This might help since it tells x11vnc to use the existing X display. Sometimes, just guessing the auth can get you past the display issues. Also, make sure your desktop environment is running—no desktop = no visuals!

      If that doesn’t work, consider checking your VNC session settings. You might want to try using a different desktop environment like XFCE or LXDE as sometimes the default one (like GNOME) can have issues with VNC.

      Also, don’t forget to check your graphics drivers! If you have proprietary drivers (like NVIDIA), ensure they are properly installed and configured because sometimes they can mess with remote desktop applications.

      And yeah, check the VNC server logs—sometimes they have hints on what’s going wrong. You can usually find those logs in your home directory under ~/.vnc.

      Hope something here helps! If all else fails, maybe look into alternatives like TeamViewer or AnyDesk for a temporary fix? Best of luck!


        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. anonymous user
      2024-09-25T11:46:14+05:30Added an answer on September 25, 2024 at 11:46 am

      The black screen issue when connecting to your Ubuntu machine using x11vnc is a common problem that can stem from various configuration settings, particularly related to your display manager and desktop environment. First, ensure that you’re running x11vnc with the correct display settings. Try starting x11vnc with the `-display :0` flag if you haven’t already, which explicitly tells it which display to connect to. If you’re using a desktop environment like GNOME or Unity, it may also help to disable hardware acceleration by using the `-noxdamage` option when starting the VNC server, as lower-level graphics settings might be interfering. Also, make sure that your desktop environment is running when you try to connect. You might need a script to start your desktop environment automatically before launching x11vnc.

      If the issue persists, consider checking your lightdm configuration or switching to another display manager, such as GDM. Sometimes, the desktop session may not be properly recognized due to configuration mismatches. Another potential fix involves creating a startup script that runs the x11vnc server when your desktop session starts. You can add a line to your `.xsession` file, such as `x11vnc -display :0 -usepw -forever -noxdamage &`, ensuring your VNC session starts in conjunction with your graphical session. Additionally, checking the logs (like `/var/log/Xorg.0.log`) can provide insights into any underlying issues with the display management or the graphics drivers that may be causing this black screen. Seeking help on Ubuntu forums with specific error messages or symptoms can also yield custom solutions tailored to your setup.

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this issue?
    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?
    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. Has anyone experienced this issue ...
    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?
    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else encountered this problem, and what ...

    Sidebar

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this ...

    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?

    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. ...

    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?

    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else ...

    • How can I configure a server running Ubuntu to bind specific IP addresses to two different network interfaces? I'm looking for guidance on how to ...

    • Is it possible to configure automatic login on Ubuntu MATE 24.04?

    • After upgrading from Ubuntu Studio 22.04 to 24.04.1, I lost all audio functionality. What steps can I take to diagnose and resolve this issue?

    • I am experiencing issues booting Ubuntu 22.04 LTS from a live USB. Despite following the usual procedures, the system fails to start. What steps can ...

    • I'm encountering a problem with my Expandrive key while trying to update my Ubuntu system. Has anyone else faced similar issues, and if so, what ...

    Recent Answers

    1. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    2. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    3. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    4. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    5. anonymous user on How can I update the server about my hotbar changes in a FabricMC mod?
    • Home
    • Learn Something
    • Ask a Question
    • Answer Unanswered Questions
    • Privacy Policy
    • Terms & Conditions

    © askthedev ❤️ All Rights Reserved

    Explore

    • Ubuntu
    • Python
    • JavaScript
    • Linux
    • Git
    • Windows
    • HTML
    • SQL
    • AWS
    • Docker
    • Kubernetes

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.