How to get a graphical window of xterm or rxvt to open over an SSH connection.

Posted: January 4, 2018. At: 9:44 AM. This was 3 weeks ago. Post ID: 11707
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

To open an xterm window over the network from another computer, use this command. This will open an SSH connection to another machine. Once the password is given, it will open a rxvt window which will appear on your machine and enable you to issue commands.

[email protected]:~$ ssh -YC jason@ rxvt
The authenticity of host ' (' can't be established.
ECDSA key fingerprint is SHA256:c4fq8j8MlwWOzIc8K3f4ptGEl6CKjbiUB2EsZgBYqfw.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts.
[email protected]'s password:

This is what I got when running this command. This could be very useful if the user was connecting from one machine and wished to use a proper terminal from the SSH server computer.

Rxvt window opened over an SSH connection.
Rxvt window opened over an SSH connection.

This is very easy, now I can install updates on my Debian 9.0 laptop using a proper terminal emulator application.

Installing updates on Debian 9.0
Installing updates on Debian 9.0

This is a great networking trick, I wonder if you could run a window manager over SSH in a window. Firefox will open over an SSH connection, but it is slow to load. Especially if you have a large number of addons.

Actually, I tried to load Fluxbox over SSH and it said I already had a WM running, so it did not work.

No comments have been made. Use this form to start the conversation :)

Leave a Reply