E-Bar Homepage

Remote linux login

Two linux servers are available that you can log in to remotely. It is also possible to log into any other machine running linux (the list of machines currently running linux can be seen here). However, if you don’t use the servers, anybody is able to reboot the computer you are logged in to without warning.

A terminal is a textual interface to a computer. Commands entered in the terminal will be executed by the computer. The output from the commands is then displayed in the terminal.

Terminal

You can get a terminal on any machine running linux by connecting to it using SSH. If you are using linux yourself, the following command can be used (s123456 should be replaced with your actual username):

ssh s123456@poulsen.ebar.dtu.dk

If you are running windows, putty can be used to make an ssh connection.

Graphical

  1. If you want to run linux programs with a graphical interface, you need to be running an X server on your local machine:
    • If you are running linux, you are probably already running an X server.
    • If you are running Windows, download and install Xming.
    • If you don’t want to install an X server, you can log in to the G-Bar using thinlinc, and continue from there.
  2. Connect to the linux machine using ssh (as described above) but add the -X option to the command line, e.g:
    ssh -X s123456@poulsen.ebar.dtu.dk
    putty -X s123456@poulsen.ebar.dtu.dk
    If you are using putty, the following configuration setting has the same effect as the -X option:
    Connection → SSH → X11 → Enable X11 forwarding
  3. Any graphical programs you start from the terminal should now open up in separate window on your own machine. You can test this with the xclock command.

Desktop

If you want a complete desktop environment on the linux server, you should first establish a graphical connection as described i the section above. Afterwards, you should run either of the following commands (depending on which desktop you prefer):

  • startkde (Starts a KDE desktop)
  • gnome-session (Starts a Gnome desktop)

If you are using Xming, you can should use the Xlaunch utility to specify that you want a desktop:

  1. Run XLaunch from the start menu (Programs → Xming → XLaunch).
  2. Select “full screen” or “one window”, and press Next.
  3. Select “Start no client”, and press Next.
  4. Press Next.
  5. Press Finish.
  6. Now start an ssh terminal with the -X option, as described above, and run the startkde or gnome-session command.
Page last modified on November 09, 2009