Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8802079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:59:50+00:00 2026-06-14T00:59:50+00:00

I am working remotely and had to restart. I can start a vnc session

  • 0

I am working remotely and had to restart. I can start a vnc session and log into that. But for some reason the program I’m trying to use gives a GLX error when I try to start it. (I’m using xfce4).

I’ve circumvented this problem in the past by using an x11vnc session into my display :0. To do this, I open a regular vnc session, and type in a terminal

x11vnc --display :0 --forever

Then I close the vnc session, and log into the x11vnc session.

But this isn’t working now because, since I had to restart, I think I don’t really have a display :0 running because I have not logged into a desktop session on site.

The question is: is there any way I effectively log into a desktop session remotely, so it would be as if I had logged into my computer on site, and can then use x11vnc as I described above.

(Caveat: I’m not an expert in all these things, so I may have used some incorrect terminology. But I think the question is clear).

Thanks!

============== added ================

Maybe a clarification would be the following. Can I trick the computer into thinking that I am sitting right in front of it? Can I start a session remotely such that when I next sit down in front of the computer it will appear that I have already logged in? I’m certain this would solve my problem. No other combination of VNCing seems to work.

============== More ======================

I just restarted (remotely), ssh’d in, and typed

x11vnc --display :0

This is what I got

** If NO ONE is logged into an X session yet, but there is a greeter login
   program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
   to find and use the raw display manager MIT-MAGIC-COOKIE file.
   Some examples for various display managers:

     gdm:     -auth /var/gdm/:0.Xauth
              -auth /var/lib/gdm/:0.Xauth
     kdm:     -auth /var/lib/kdm/A:0-crWk72
              -auth /var/run/xauth/A:0-crWk72
     xdm:     -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
     dtlogin: -auth /var/dt/A:0-UgaaXa

but none of those options worked. I also tried the other suggestions, such as using -auth guess.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:59:51+00:00Added an answer on June 14, 2026 at 12:59 am

    Display :0 is always running, assuming you have an X session running and your computer has booted up. The command x11vnc --display :0 --forever opens a VNC listening port on your machine that you can connect to with a VNC client.

    Your initial vnc connection where you run the x11vnc command is not really necessary if you use SSH (a remote shell). If you install SSHD, and connect via ssh username@hostname you can run the command x11vnc --display :0 --forever from there, eliminating the need for the initial VNC connection.

    If you don’t have sshd running, you may be out of luck unless some sort of screen sharing is running. To see if there’s any way to remote into your computer, run a port scan with NMAP.

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

Sidebar

Related Questions

I am working remotely on some CUDA program in the Linux environment. Since there
I am working remotely on a Windows Server via Remote Desktop Connection and some
Working with an undisclosed API, I found a function that can set the number
I am working on a script to remotely kill two processes, delete some folders,
I am working on signing in a Rails 2 app remotely. Given that Rails
The R session that I am working on is on a remote cluster due
I was working on my home server remotely and wanted to make some changes
I have a C# app I'm working on that loads it's code remotely, and
I am working a resonably sized java project that needs some sort of web
is there a Perl IDE / Editor that supports working on files remotely (via

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

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.