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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:03:31+00:00 2026-05-30T21:03:31+00:00

I have ssh-ed to a remote machine. I have enabled X11 forwarding (ssh -X)

  • 0

I have ssh-ed to a remote machine. I have enabled X11 forwarding (ssh -X) and I have started a GUI program.

The program takes 5 minutes to set up to do some processing but the actual processing takes 1-2 hours. I don’t want to stream data while the program is working. I don’t even want to see the program again as it produces files as output when it finishes and I can just scp them.

So how can I quit the ssh session but leave the program running on the machine? CRTL+C in the terminal?

EDIT: For the answer please see my comment just below.

  • 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-30T21:03:32+00:00Added an answer on May 30, 2026 at 9:03 pm

    Long story short – you can’t do this without making some modifications to the way you run things. A GUI application requires for an X server target to be accepting it’s GUI updates – if you’re using your local X server to do this, then it’ll require (1) the connection to be open (2) that you actually handle the updates.

    A way around this is to use something like Xvfb – which is a headless way of hosting a virtual X-server. Above and beyond the examples provided on the wikipedia page, folks who seem to make frequent use of this mechanism are Selenium users.

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

Sidebar

Related Questions

I have ssh'ed to a remote machine and started emacs. I opened one small
When I log into a remote machine using ssh X11 forwarding, Vista pops up
I have a bash script that does ssh to a remote machine and executes
I have a program running on a remote machine which expects to receive SIGINT
I have a Java program Desktop/testfolder/xyz.jar on a remote machine. It has a configuration
I have remote machine which I connect with ssh like this: ssh -i /path/to/private_key
I have a remote server that hosts my subversion repository on a non-standard ssh
I have a command that runs fine if I ssh to a machine and
I have a public/private key pair set up so I can ssh to a
So, i'm running emacs over a crappy ssh connection and I have it set

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.