Установите vnc4server и xinetd. Вы можете настроить несколько портов с разным разрешением в xinted. Моя конфигурация для 1024c768 в /etc/xinentd.d/xvnc-2:
service Xvnc-2
{
bind = 192.0.2.6
port = 5902
disable = no
socket_type = stream
log_type = syslog daemon
log_on_success = PID HOST EXIT DURATION
log_on_failure = HOST ATTEMPT
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -geometry 1024x768 -depth 16 -query localhost -once -SecurityTypes none -extension XFIXES -desktop VNC-1024x768
}
И настройте gdm для разрешения входа в xdmcp с помощью /etc /gdm /custom
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
[daemon]
RemoteGreeter=/usr/lib/gdm/gdmlogin
TimedLoginEnable=false
AutomaticLoginEnable=false
TimedLogin=
AutomaticLogin=
TimedLoginDelay=30
KillInitClients=false
HaltCommand=
RebootCommand=
SuspendCommand=
[security]
AllowRoot=false
AllowRemoteRoot=false
PasswordRequired=true
RetryDelay=2
[xdmcp]
DisplaysPerHost=10
Enable=true
HonorIndirect=false
[gui]
[greeter]
ShowXtermFailsafeSession=true
SystemMenu=false
[chooser]
Broadcast=false
Multicast=false
[debug]
Enable=true
[servers]