YaST/Modules/Remote Administration
From openSUSE
|
Contents |
About
Remote Administration is used to allow the machine to be administered remotely from another machine. This is done by using a VNC client, such as krdc (connect to <hostname>:5901), or a java capable web browser (connect to http://<hostname>:5801/). Here, a checkbox may be selected to open a port in the Firewall, which may also be set using YaST. This option is only available if the Firewall is enabled.
How to enable Remote Administration in SuSE Linux 10.x
Activating Remote Administration
Open YaST. Go to Network Services > Remote Administration (VNC). Enable "Allow Remote Administration" and check "Open Port in Firewall". You may be asked to restart the display manager - run "rcxdm restart" from the console or press 'Ctrl-Alt-Backspace' to restart the X Server.
Activating X-server VNC access
When you are back in your window manager you will need to run SaX2 by either typing "sax2" in a console or finding "SaX2" under 'System' then 'Configuration' in your KMenu. Click on tab entitled "VNC" or "Remote Administration". Check the box which says "Allow Access to Display Using VNC Protocol" and "Activate Password Protection". You´ll be asked to Test or Save the configuration - just Save it.
Setting up SuSEfirewall2 for X-server VNC access
Open YaST. Go to 'Security and Users' then 'Firewall'. Click "Allowed Services" and then the "Advanced..." button. On the line "TCP Ports", type "5900" and click OK. Click on "Start-Up" and then "Save Settings and Restart Firewall Now". Exit your window manager and then go to run level 3 - run "init 3". Then go back to run level 5 - run "init 5".
Connecting remotely from Windows
See External Links below for software.
RealVNC/UltraVNC Viewer connection options
- hostname:5900 (this connects to the existing display - :0 - through the X-server)
- hostname:5901 (this connects to a new display - :1 - through the VNC server)
TightVNC Viewer connection options
- hostname::5900 (this connects to the existing display - :0 - through the X-server)
- hostname::5901 (this connects to a new display - :1 - through the VNC server)
Notice how TightVNC uses double colon and RealVNC uses a single colon!
Changing the resolution
The standard resolution for port 5901 is 1024x768, for port 5902 is 1280x1024 and for port 5903 it is 1600x1200. This can be changed, or a new configuration created with YAST:
As an example, we will create the possibility to work at the resolution of 2048x1536 (be sure the remote system supports this huge resolution!):
Open YaST. Go to Network Services > Network Services (xinetd). Find the services named vnc1, vnc2, vnc3. From the server parameters column, you can see which resolution they are for. Press the Add button. Name the service vnc4, Socket type = stream, Protocol = tcp, mark the service as active, Wait = No, User = nobody, Group = --default--, Server = /usr/bin/Xvnc. Set the server Arguments to:
- -SecurityTypes None -inetd -once -query localhost -geometry 2048x1536 -depth 16
Press the Accept button.
That's it! Use this configuration by setting the port 5904 in your VNC client program.

