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 506279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:41:05+00:00 2026-05-13T06:41:05+00:00

At present we are developing a graphic app on a linux box using opengl.

  • 0

At present we are developing a graphic app on a linux box using opengl. We have had a bit of trouble getting a decent debugger working. At present we use GDB via a ssh connection, but that is a tad painful. Next we have tried running DDD on the target platform, but we run out of space on screen. Next we have tried running an xserver via cygwin on windows and doing an “export DISPLAY=RemoteHost:0.0” on the linux box. In this situation DDD will run on the windows box, but when we boot the app it also wants to pipe its output to the windows box.

What we really want to do is have DDD output on our windows box, and the output of the main app on the linux box.

I am not a x11 guru and I would love some help in this area.

Cheers

James

  • 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-13T06:41:06+00:00Added an answer on May 13, 2026 at 6:41 am

    While logged in into the linux box:

    DISPLAY=windows-box:0 ddd /path/to/app
    

    DDD should now pop up on your windows box. If you run the app at that point, it will attempt to display on windows box as well, since the DISPLAY environment variable is inherited. You need to reset it:

    (gdb) set env DISPLAY :0
    (gdb) run
    

    At that point, the app should display on the linux box, as desired.

    Many applications accept -display command line argument. If yours does, an alternative is to do this:

    (gdb) run -display :0
    

    instead of resetting the DISPLAY environment variable.

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

Sidebar

Ask A Question

Stats

  • Questions 302k
  • Answers 302k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I was running into this problem too (also from Lancaster,… May 13, 2026 at 8:25 pm
  • Editorial Team
    Editorial Team added an answer Surely (with a linked list) you need to change the… May 13, 2026 at 8:25 pm
  • Editorial Team
    Editorial Team added an answer there is a built-in encodeUriComponent that does exactly what you're… May 13, 2026 at 8:25 pm

Related Questions

Currently in the early stages of developing a very large project using ASP.Net MVC.
Sometimes for testing/developing purposes we make some changes in the code that must be
Just before I begin heres a small overview of what I'm trying to achieve
I am making this in a proactive attempt to head off any potential problems
We are using gravtars for a site currently being developed in rails 2.3.4 and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.