VNC server

Fórumok

Sziasztok!

Szertnek beloni egy vnc szervert egy debian gepen (debian 6.0.2 , amd64).

Amit eddig megcsinaltam, hogy feltelepitettem a csomagot

apt-get install vnc4server

majd elinditottam:

vnc4server :1
vnc4server :2
vnc4server :3
stb..

kliens gepen:

vncviewer IP cim:1
vncviewer IP cim:2
vncviewer IP cim:3

stb............

A problema a kovetkezo, ha az xstartup-ot nem szerkesztem, hanem hagyom default-kent, akkor csak egy szurke kepernyo fogad, az xstartup tartalma default-kent:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

Sok googlizas utan, olvastam , hogy vegyem ki a kommentet az

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

sorok elol, de nem jartam sikerrel, tovabbi beallitasokkal is probalkoztam, de nem jott ossze.

Valaki talalkozott hasonlo problemaval?
Tehat a gondom az, hogy nem tudok belepni normal desktop feluletre, es semilyen feluletre sem.

koszonom

Hozzászólások

vnc4servert használok, kliens oldalról be is tudok lépni, hibátlanul működik. http://ubuntuforums.org/showthread.php?t=1480094

Amit nem sikerült megoldanom, hogy már a login képernyőt is lássam vnc-n.
Mindig kézzel kell elindítanom a vncservert.
Mi a legegyszerűbb megoldás hogy gép indításakor login nélkül elinduljon magától. (xstartupot paraméterezve nem tudtam megoldani)

/etc/xinet.d/vnc1024


    service vnc1024 
    {
    	disable = no
    	socket_type = stream
    	protocol = tcp
    	group = tty
    	wait = yes
    	user = nobody
    	server = /usr/bin/Xvnc
    	#server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
    	#server_args = -inetd :1 -query localhost -desktop RemoteDesktop -geometry 1024x768 -depth 16 -rfbwait 30000 -PasswordFile /etc/vncpasswd -fp /usr/share/fonts/X11/misc -DisconnectClients -once 
    	server_args = -inetd :1 -query localhost -desktop RemoteDesktop -geometry 1024x768 -depth 16 -rfbwait 30000 -securitytypes=none -fp /usr/share/fonts/X11/misc -DisconnectClients -once 
    }

/etc/services


vnc1024 5900/tcp # VNC and GDM

/etc/gdm/custom.conf


[xdmcp]
Enable=true
 
[security]
DisallowTCP=false