Get to a Machine!There are several ways to do this, the easiest being to simply go to the room, find a PC and log in using your username and password â�� if you cant remember these, find a friendly admin or exec member, and tell them, they will more than likely be pleased to help you out because it means they get the opportunity to laugh at your forgetfulness :-D
The Joy of SSH...However, the more cunning fox will use a facility known as SSH.
What this is, technically, is a Secure SHell. i.e. a means with which to log into our server from anywhere in the world that is connected to the Internet, securely (So people can't go stealing your passwords etc).
This is the really one of the main reasons why I started converting to Linux.
- For a start its secure, which is incredibly important these days as more spam and adware applications make use of our communications to glean email addresses and information.
- You can log in from anywhere with an Internet connection. This includes dialup, though as ever it will be slower!
- You can 'bounce' around machines, I'll go into this later.
- It is a means by which many other applications can communicate securely (e.g., Email, web tunnelling, port forwarding etc)
N.B. this is a text based service, so don't expect fireworks. However there are some cunning things that can be done with it, and a graphical approach is described a bit further down (VNC and DAV). I will get to these shortly (promise), but for now let's look at actually logging in...
Windows does not have an inbuilt SSH package, but the easiest way is
to use a utility called PuTTY. This can be found here. So, once you have that, simply run it and visit our wonderful guide on how to configure it (its very easy, I managed it so anyone can).
PuTTY acts as a terminal window emulator, that is, it looks like a Shell that you would use on a Linux PC.
From here you can do anything that you could do if you were using a shell, apart from one of the 'party tricks' that is X-Forwarding
Easy, open a shell and type:
ssh [username]@sucs.org(Don't include the [ ] !)
This assumes that you have SSH installed, and you should do unless you are on some weird embedded system (in which case you need to get yourself on a forum and ask, or Google for it.)
Done that?OK! So now you can logon! If you wish to log on to a different machine then once you have logged on as above, simply type:
You will be prompted for your password (unless you set up autorization keys)
will log you onto platinum via our server; silver.
The exciting bits!!!
- Milliways - The SUCS chat system; OK, so this isnt overly exciting but still...
- Ensure the prompt says: [username]@silver [something]> The '@silver' is important as silver is the name of our server...
- Type: 'mw' and follow the instructions!
- Bingo, you now get to converse with all the regulars in the room; students, postgrads and Old-Timers who have gone out to the Real World (eek!).
- LINUX ONLY! OK, Here my friends, is where Linux is the proverbial bees knees, the cats pyjamas etc...
- You can run any of our applications available at SUCS on your home
linux machine by using a service known as X-Forwarding.
THIS IS COOL! Honestly, if there was a defining list of where Linux out-does Windows, this would be on there.
This simply forwards graphical information to your computer and acts (mostly) as if you are sitting at the machine in the SUCS room. It also works the other way round, if you were at the SUCS room and logged into a Linux machine at home then you could forward applications from home to SUCS.
- To do this: before logging on, add in the switch -Y:
ssh -Y [username]@sucs.org
- Voila, done.
N.B. This may not work wholly successfully for some applications, but mostly its all good. If you want to have a go at making X forwarding possible, check out Cygwin, which is a Linux emulator for Windows.
OK, so here we see the use of SSH. Like I mentioned this is only TEXT.
If you want a sparkly Graphical remote interface, then Linux provides...
VNC and DAVVNC, or Virtual Network Computing is basically about making your computer's desktop available across a network.
This is good, it means you can be sitting at home and act as if you are sitting at a machine in SUCS; graphically!
Ok, so this technology isnt restricted to Linux, and is in fact well supported under windows.
But the point is, Linux need not be scary and Text based, it has a shiny soft coat called X.
(Aside: X is the Graphical User Interface (GUI) that sits on top of the scary looking text-based gubbins. It gives you cursors, pictures, a mouse pointer and other sparkly things :D, this is a slight simplification but you get the idea.)
Right, so first thing's first, get yourself a VNC client.
The easiest way to do this is to simply use the Java client. For this to work you will need Java enabled/installed (see here)
OK, failing that we have a wonderful tool available freely in windows called RealVNC, which can be downloaded here (Just fill in the details and hit proceed).
Once installed, you will have a server running on your machine as well as the viewer to access other machines. You don't need the server unless you want to be able to access your machine from elsewhere (which is handy), however you should set a password on it at the start incase you ever decide to use it.
(Aside: To set this, you should be presented with a dialog when you first install. Go to 'Authentication' and click the 'Set Password' button.)Ok, so once you have succesfully installed:
- Go to programs and find VNCViewer under RealVNC
- When it runs you will be presented with a dialog asking for the hostname
- Enter: sucs.org:1 (I will explain this in a moment)
- You should now be presented with an 800x600 size window containing a rather nasty grey thing
- This will quickly change to a nice pretty interface, similar to the one in the room (Just a login screen for those of you who havent been to the room)
- Enter your username and password into the fields, and off you go!
- You should now have a full desktop in a window, fully controllable as if you were there!
The line we entered in 3. can be explained as follows, for you curious folk:
- sucs.org is (as you probably guessed) the name of our server in SUCS, or the hostname
- :1 is the screen number we are connecting to. It is what tells the server that we are connecting to a virtual desktop. What this means is that we are not actually controlling a machine in the room directly, we are just running a session on it. Very similar to when you log in using SSH, this is simply an X session.
The advantage of Linux over Windows in this respect is that you can have sessions, and easily. Lots of people can all be running X and SSH sessions on one machine, along with someone actually sitting there using it. Obviously this means the computer's resources are stretched a little, but this is negligable these days. (Especially if someone decides to donate some high powered processors/ram etc to us :-D )
DAVI shan't explain how to use DAV here as its covered in this page 'Using WebDAV' rather, I shall explain briefly why you would use it.
Basically, DAV allows you to read and write to your home directory (As if it were a folder on your machine) over the internet.
Its incredibly easy to use and if you really don't want to get into Linux (more fool you), or need a quick access to your files from anywhere then use DAV.
If you want to get into Linux in a big way, log in using SSH and VNC. This will allow you to get used to the environment in a VNC window without having to be locked into a Linux machine (which, by the way, you don't have to do; see Converting). You will use SSH to get to grips with the command line and if it all gets scary, you can use the VNC window as a backup.
If you want to be able to use Linux competently but don't like the text base that is used, go for VNC, but remember the forfeit here is that it can be slooow over lower band widths.
And, if you are not feeling up to the challenge and just want to be able to access you files; DAV will help.
More on File Access.
Next Page: EMail Setup
Questions/suggestions for modification - firstname.lastname@example.org