We have more than 500 systems running ubuntu in our office. And sometimes after installation we forget to enable to Remote desktop. So that we was not able to control that PC remotely. Is there any way to access that machine remotely using SSH? Coz ssh was installed in that remote machine. Also if that machine was in login screen we was not able to view through vnc. I guess SSH will be a good solution. Can anyone help me? Thanks in advance.
Use SSH to get to the machine. Ask gnome not to ask, "Are you sure?" after enabling the remote desktop access. Then enable remote access.
You could create scripts for this, too, maybe /usr/local/bin/start-remote-desktop.sh.
Use your favorite editor over vim if you like...
The contents of that file:
Make it executable:
Add it to your default user configuration:
As far as the human factor goes in maintaining 500 workstations, you would love using CloneZilla. The one CloneZilla server provides pre-configured images for the workstations which can be installed over the network. You can even multicast them so that in just a few hours, to guess, all the workstations can be imaged with a common configuration, same version, etc... There's a good tutorial on dedoimedo.com.
I'm a fan of
Then from your local computer run:
And then use a VNC client of your choice to connect to
If your computers have funny display settings, you might do better to leave off the
This method is better than just running a VNC server on every machine because you're not going to slow every machine down all the time. It's also considerably less of a security risk as the SSH user is the only person who's going to see the VNC server; always-visible, always-on VNC servers are popular target hacks.
I'm not sure what you're asking. If you're comfortable administering a machine from the command line, ssh is all you need. If you want a GUI, though... You could install and start a standalone VNC server (tightvncserver or vnc4server) over ssh -- one that doesn't control the existing GUI session, but starts a new one, visible only through VNC.