Archive for February, 2007

How to disable telnet on solaris

Steps to enable root login for ssh and disable telnet on Solaris,

  • enable root login for ssh by editing the file vi /etc/ssh/sshd_config.

Change “PermitRootLogin no” entry to “PermitRootLogin yes”

  • Restart ssh,

svcadm restart svc:/network/ssh:default

  • Disable telnet,

svcadm disable telnet

Comments (2)

How to connect to remote x11 server

Following are the steps to connect to a remote x11 server,

On the client machine set the DISPLAY variable as follows,

$ export DISPLAY=server-host-name:0.0

On the server machine, enable remote connection from client

$ xhost +

N.B – use + if you are not concerned about any security issues. It enables any one to connect to your server. Use specific client name otherwise.
To read more about reasons to use remote display server and better security options , check this link.

Comments (1)