I
I
Ingtar2013-02-13 20:57:10
linux
Ingtar, 2013-02-13 20:57:10

Graphics via ssh?

Good afternoon!
Such an unusual (for me) question - is it possible to run graphical applications (the most desirable is a lightweight desktop, dwm) through an ssh session?
The situation will be as follows: a working home computer with Centos, an ssh connection there.
Is it possible to see the dwm environment through this session? On a working computer, too, something Linux. Or the simplest - TightVNC with port forwarding?
I don’t have the opportunity to test it in battle yet, I’m generally interested in the possibility.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
M
merlin-vrn, 2013-02-14
@merlin-vrn

ssh -Y target-machine xterm - and you will see an xterm running on target-machine on your screen

L
laQie, 2013-02-13
@laQie

Hint: X11 Forwarding

V
ValdikSS, 2013-02-14
@ValdikSS

Do not listen to people who advise X11 Forwarding. This is such a junk and a brake that it makes no sense to use it. It slows down even on a gigabit channel with an RTT of 0.5 ms. Better listen to those who talk about NX, well, or about VNC.

3
3vi1_0n3, 2013-02-14
@3vi1_0n3

You can use xrdp, then login is the same as in Windows. After login, the desktop opens with all user settings. And work, respectively, through rdesktop, for example. Port forwarding when connecting via SSH to localhost so that work goes through the ssh tunnel. Works with VNC server.

V
Vlad Zhivotnev, 2013-02-13
@inkvizitor68sl

x2go is better to use.

E
EvilX, 2013-02-14
@EvilX

If a VNC server is already running on the target machine, then the ssh tunnel will help:
ssh -f [email protected] -L 6900:127.0.0.1:5900 -N
And then connect the VNC client to localhost:6900.
Through NX and X11Forwarding, the console session cannot be seen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question