|
|
InstallTightVncFrom $1Table of contents[MISSING]Install tightvnc (I couldn't get the stock VNC to create multiple sessions for a single user) Hey! The new GUI boot runs on X display 1. That means that attempts to run VNC on display 1 get the error "su: A VNC server is already running as :1" during startup but not later. # Copy enable-tightvnc.zip from APCD to kevinpc. # unzip enable-tightvnc.zip # mv /usr/X11R6/bin/makedepend /usr/X11R6/bin/makedepend.old # cp (new) makedepend /usr/X11R6/bin/makedepend ## (built on Fedora 3 from X11R6.8) # cd /usr/include and patch features.h so makedepend can handle it: ## cp features.h features.h.old ## patch -p0 -b < /home/kevin/patch.features.h Now start real work on tightvnc # tar ???xvf tightvnc-1.3dev5_unixsrc.tar (into /usr/local/src) # cd /usr/local/src/vnc_unixsrc # vi Xvnc/include/Xpoll.h ## After the #define Select, insert <pre> #ifndef fds_bits #define fds_bits __fds_bits #endif </pre> # vi Xvnc/lib/Xaf/\AuRead.c AND \AuWrite.c ## Delete the declarations of "char * malloc();" # xmkmf # make World # cd Xvnc # ./configure # make # make install # cd .. # ./vncinstall /usr/local/bin /usr/local/man # copy vncserver from enable-tightvnc.zip to /etc/init.d. # chmod ugo+rx vncserver # /sbin/chkconfig --add vncserver # /sbin/chkconfig --level 5 vncserver on # ln -s /usr/local/bin/vncserver /bin # ln -s /usr/local/bin/vncpasswd /bin # run vncpasswd (as kevin) # /etc/init.d/vncserver start # edit /home/kevin/.vnc/xstartup # turn the twm into /usr/bin/startkde # reboot and test VNC
Tags:
none |