FruitNotes beta
Your All-in-One Online Notebook
FruitNotes Blogs | Home  
how to setup VNC server
Last updated at (Fri Feb 01 2008 14:17:03)
Posted by: Ankur Barua
0%





1. install vnc: yinst install ports/vnc

2. make sure you have ssh-agent running first before starting the vnc server:
ssh-agent bash
ssh-add
* then kill the terminal window.

3. edit this file first:

$HOME/.vnc/xstartup
put the following there
xrdb $HOME/.Xresources
/bin/sh /home/usr_local/bin/startkde

4. command to start vnc server on your unix box:
vncserver -geometry 1280x1024 -depth 24 :1


here is a copy of the contents of my file:
*****************************************
#!/bin/sh

xrdb $HOME/.Xresources
#xsetroot -solid grey
#xterm -geometry 80x24 10 10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
xmodmap -e "pointer = 3 2 1"
/usr/X11R6/bin/vncconfig -nowin &
/bin/sh /home/usr_local/bin/startkde

Rate this blog

   Report Abuse


Comments


Leave your comment(s) below:
To start Your own Blog




Other Blogs
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
» 
2007 FruitNotes.com - All Rights Reserved.