Using CS Server

  • Login
    ssh name@cs.mvnu.edu
  • Java compile - program name MUST be the same as the class name.
     javac prog.java
  • Java run
    java prog

Web Server

Using VNC (Remote Desktop)

  • Step 0: Log into cs.mvnu.edu and create a vncserver. This is an instance of a desktop you can remotely access.
    ( Only do this once, the server keeps running forever once created, unless you explicitly kill it)
    ssh lskon@cs.mvnu.edu
    luke@luke-laptop:~$ vncserver
    password: (enter a vnc password, you make it up)
    verify: (enter again)
    You will be given a server number, remember this.

  • Step 1: Command to create a ssh tunnel on Linux. This is entered on your LOCAL linux system.
    (This must be done from remote computer each time you have a new internet connection)
    ssh -f -N -L 5903:localhost:5903 lskon@cs.mvnu.edu -p 22
    where "03" is replaces with your server number.
    You must use your cs.mvnu.edu password here

  • Step 2: Run "Remote Desktop Viewer" on Linux. Hit "connect". Connect to "localhost:5903", where 03 is your server number.
    You will be prompted for a VNC password, the one you entered in Step 0.
  • Step 3: You now should have a remote desktop. Use like a local one!

Killing a VNCserver

  • If you need to kill server (if it locks up)
  • Step 1: Logon to cs.mvnu.edu (see Step 0 above)
  • Step 2: Kill the server:
    vncserver -kill :3
    Where "3" is your server number
  • Step 3: you can now create a new server as expressed above.
    If you get a different server number, you will need a new tunnel also.

How to fix slow logins to unix:

  • In your "/etc/ssh/ssh_config" add line (or change) "GSSAPIAuthentication no"
    sudo emacs /etc/ssh/ssh_config
-- JimSkon - 2011-0

-- JimSkon - 2011-06-14</verbatim>

Topic revision: r3 - 2011-06-24 - JimSkon
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback