Sample Header Ad - 728x90

Can I attach a ssh session to an x2go session display?

1 vote
0 answers
516 views
When working from home, there are some manipulations that I must do on a distant machine, in the office. I mainly have to work on a terminal, but sometimes I need to use a software with a heavy GUI (started from the terminal). Because the software is too heavy for X forwarding through SSH, I use x2go to start a terminal and work on this terminal. But it seems to me that it is a bit overkill (and slow) to start a terminal through x2go and transfer graphical information instead of using a ssh connection for the terminal work and use x2go only for the graphical software. Basically what I would like to do is: 1. Start an x2go session (on nothing specific) 2. Connect to the server using ssh 3. Launch the graphical software in the ssh shell using the x2go session as display Is there a way to do this? I already tried to set DISPLAY to the value set in the terminal opened in x2go but it doesn't work.
> DISPLAY=:88 xterm

No protocol specified
xterm: Xt error: Can't open display: :88
Asked by mokkoppe (11 rep)
Apr 7, 2020, 04:07 PM