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

  • SEARCH
  • Home
  • 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 7056181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:50:13+00:00 2026-05-28T03:50:13+00:00

I use a headless (i.e. no screen) remote ubuntu server x64 for developping a

  • 0

I use a headless (i.e. no screen) remote ubuntu server x64 for developping a C++ application (with no UI either).

I want to conveniently (IDE like, not command line) debug this program from windows (7/64), with Eclipse if possible. I have a windows share between the two and full root access on both machines.

So far I have heard of two solutions :

  1. Remote gdb
  2. Remote X server

I have worked on solution 1 : built a cross gdb, copied my program and libs on windows. I’m able to remote-gdb from cygwin command line, but not from eclipse (stuck at “launching… 85%” with no error message nor log)

I have also worked on solution 2 : installed xauth, set X forwarding, installed xming on my windows, set DISPLAY on the linux box. But no effect “can’t open DISPLAY xxx” with no easy troubleshoot.

When googling for those problems, I only find outdated pages or different problems.

Did anyone do it ? Can you share advices or fresh pointers on how to remote debug a C++ linux app from Windows ?

  • 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-05-28T03:50:14+00:00Added an answer on May 28, 2026 at 3:50 am

    I suggest to install an X11 server on your Windows machine (e.g. Xming perhaps?) and to do ssh -X with some X11 client applications (like emacs, ddd if needed, xterm) on your Linux server. Don’t use a complex thing like Eclipse. You could just use emacs (remotely on the Linux server, displaying on the Windows desktop X11 server)…

    Once emacs works well (running on the remote Linux server, displaying on the Windows desktop X11 server), you can run gdb inside it.

    To get ssh -X working, you need to configure it appropriately. Maybe you forgot that step. To test it, just use ssh -X yourlinuxhost xterm, and work on configuration till that step works.

    Of course you could also install Linux on your laptop or desktop, perhaps inside a virtual machine above your Windows.

    NB. I never used Windows, but I do know that some X11 servers exist for it.

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

Sidebar

Related Questions

I have a mini linux PC (headless), and I'd like to use it as
Is there a possibility to use Octave headless. Something like this octave < 5+4
I want to screen-scrape a website and for that I want to use Http,
Use case: 3rd party application wants to programatically monitor a text file being generated
Use case: I've just entered insert mode, and typed some text. Now I want
I need a headless browser which is fairly easy to use (I am still
I need to run capybara-webkit inside a Rails application to enable headless web browsing
I've written some PHP scripts to do some server-side work on a headless linux
I run Ruby threads that use PhantomJS, a command-line headless Webkit engine, to turn
I have installed Openoffice.org3 on our server and it's running in headless mode. We

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.