On Fri, Jan 06, 2006 at 11:08:47AM +0700, melting-ice wrote: > Oke pak Wayan sdh berhasil di port 5900 > terus, gimana ya caranya agar servive VNC ini otomatis dijalankan oleh > linux, sebab kalo manual setiap mesin dimatikan maka saya musti > mengaktifkan service VNC dengan mengisi passwordnya lagi, jadi pingginya > seperti di windows gitcuu
Kalau di redhat sdh ada service vnc. Tinggal pakai & set file konfig /etc/sysconfig/vncservers untuk nama user yg akan menjalankan vnc. Berikut ini isi filenya. [EMAIL PROTECTED] sysconfig]$ pwd [EMAIL PROTECTED] sysconfig]$ cat vncservers # The VNCSERVERS variable is a list of display:user pairs. # # Uncomment the line below to start a VNC server on display :1 # as my 'myusername' (adjust this to your own). You will also # need to set a VNC password; run 'man vncpasswd' to see how # to do that. # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, see # <URL:http://www.uk.research.att.com/vnc/sshvnc.html>. # VNCSERVERS="1:myusername" VNCSERVERS="1:ableh" Tentu sebelumnya user ableh harus login dan set vncpassword. Untuk distro yg lain seperti slackware, vncservernya dijalankan via /etc/rc.d/rc.local, seperti ini cuplikan isinya: /bin/su - ableh -c "/usr/bin/vncserver" > /dev/null 2>&1 Salam, ~yudi -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis