Tuesday, April 27, 2010

Accesing repositories behind your proxy server through Terminal:

Add following two lines at the end of file '/etc/bash.bashrc'


===================================================

export http_proxy=http://username:password@netmon.iitb.ac.in:80/
export ftp_proxy=http://username:password@netmon.iitb.ac.in:80/

===================================================

ssh: port 22: Connection refused

Enter following commands in terminal ( as root):

$ apt-get install ssh
$ groupadd  -g  33  sshd
$ useradd  -u  33  -g  33   -c   sshd  -d  /  sshd
$ /etc/init.d/ssh   start 

Sunday, April 18, 2010

Accesing remote linux(ubuntu) system through linux(ubuntu) graphically...

Linux already has X-manager inbuilt so to access remote linux PC through linux machine do this...

in terminal :

$ ssh -X username@remote_machine_ip


// then enter ur password
//so u have logged in to remote machine.... :)
// to access graphically enter following command:

$ gnome-session

// here we go... now u have using graphical view of remote machine , u can  check //by clicking in applications to see installed programs in ur remote machine.. :)

Saturday, April 10, 2010

Graphical ssh/ftp client for Ubuntu...

(1) install: gFTP

(2) use places->Connect to server

Tuesday, April 6, 2010

Xmanager

If the XDMCP connection cannot be made between your PC and the remote host due to network configuration or a firewall, you cannot start a desktop environment such as CDE or GNOME/KDE environment using Xbrowser. If this is the case, please refer to the following for starting Unix/Linux desktop environments on your PC using Xstart.
  • Commands for starting Unix/Linux desktop environments
    Common Desktop Environment (CDE) /usr/dt/bin/Xsession
    (Set DISPLAY environment variable and run this command.)
    GNOME Environment /usr/bin/gnome-session
    K Desktop Denvironment (KDE) /usr/bin/startkde
    XDM /usr/lib/X11/xdm/Xsession (Unix)
    /etc/X11/xdm/Xsession (Linux)

  • To start Unix/Linux desktop environment from Xstart
    1.   Type DISPLAY=$DISPLAY; followed by one of the command above in the Execution Command box.
    2.   Open the proper Xmanager profile in Xconfig and clear 'Termincate at Reset' option.
    3.   Click Settings... in the Window Mode area of the General tab to open Window Mode Settings.
           In Window Manager list, click 'Automatic Switch' or 'Remote Only'.