Register now and start sharing your code snippets.
-->

Changing the default terminal emulator the Debian way.

Shell Script (Bash) posted about 1 year ago by marko

Use this to change the terminal emulator that comes with the default installation of Debian (and Ubuntu).

   1  sudo update-alternatives --config x-terminal-emulator

Choose your emulator from the list and hit enter.

Tagged default terminal, debian, ubuntu, x11, linux

Remote X11 apps through SSH

Shell Script (Bash) posted about 1 year ago by marko

In order to forward X11 applications from a remote server into your local X session the server must support tunneling of X11 apps with this property in sshd_config

   1  X11Forwarding yes

Then simply issue the -X parameter for the SSH client.

   1  ssh -X remotehost

Now run an X11 application from the SSH terminal and it’s UI will be tunneled to your local X session.

   1  gvim my_script.rb

Tagged ssh, x11, remote applications, linux