SystemRescueCd-1.0.2-beta7 introduces the Vnc server. Now the tightvnc package is compiled with the server support. It means a Vnc server can be started on SystemRescueCd so that you can graphical applications (such as GParted) from another computer (the vnc client).

It means you have the ability use the graphical environment remotely. All the programs will be executed on the computer running SystemRescueCd, and the user is working on another computer. There are VNC client for most platforms (Linux, Solaris, Windows, MacOsX, …).

To use this new feature, you can either configure and run the vnc service by hand, or use the new “vncserver=x:password” option (x is the number of displays you want). The password must be between 6 and 8 characters, else the boot option is ignored.

Don’t forget that your network must be configured so that you can connect to your VNC server. You can use either the “dhdhcp” option for dynamic configuration, or “ethx=ipaddr/cidr“, “eth0=ipaddr/cidr“, “eth1=ipaddr/cidr“, …, “gateway=ipaddr/cidr” for static network configuration.

Here are two examples:

  • if you start with rescuecd vncserver=2:MyPaSsWd ethx= then SystemRescueCd will configure the ethernet interfaces with the static IP address given and start the VNC server. Two VNC displays will be configured (display 0 and display 1). Both are using the same password when you authenticate. By default, the VNC servers listen on the port tcp/5900+displaynr. So in that case the VNC server will listen on both tcp/5900 (display 0) and tcp/5901 (display 1). Since you have two displays, two users can connect to two different graphical sessions using such commands: “vncviewer” and “vncviewer“.
  • if you just want one vnc session, you just need one display. You can just use rescuecd vncserver=1:MyPaSsWd ethx= and you will be able to connect with “vncviewer“.