Sie sind auf Seite 1von 3

[root@systemA] # pkgadd -d x11vnc-0.7-sol10-sparc-local The following packages are available: 1 SMCx11vnc x11vnc (sparc) 0.

7 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Processing package instance <SMCx11vnc> from </opt/src/x11vnc-0.7-sol10-sparc-lo cal> x11vnc(sparc) 0.7 Johannes E. Schindelin et al The selected base directory </usr/local> must exist before installation is attempted. Do you want this directory created now [y,n,?,q] ERROR: Input is required. Do you want this directory created now [y,n,?,q] y Using </usr/local> as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. Installing x11vnc as <SMCx11vnc> ## Installing part 1 of 1. /usr/local/bin/x11vnc /usr/local/doc/x11vnc/AUTHORS /usr/local/doc/x11vnc/COPYING /usr/local/doc/x11vnc/ChangeLog /usr/local/doc/x11vnc/INSTALL /usr/local/doc/x11vnc/NEWS /usr/local/doc/x11vnc/README /usr/local/doc/x11vnc/TODO /usr/local/man/man1/x11vnc.1 /usr/local/share/x11vnc/classes/VncViewer.jar /usr/local/share/x11vnc/classes/index.vnc [ verifying class <none> ] Installation of <SMCx11vnc> was successful. [root@systemA] # [root@systemA] # svcs -a grep x11 disabled 15:09:20 svc:/application/x11/xvnc-inetd:default online 15:09:21 svc:/application/x11/xfs:default [root@systemA] [root@systemA] online maintenance [root@systemA] [root@systemA] [root@systemA] online maintenance # svcadm enable xvnc-inetd # svcs -a grep x11 15:09:21 svc:/application/x11/xfs:default 15:22:20 svc:/application/x11/xvnc-inetd:default # # svcadm restart xvnc-inetd # svcs -a grep x11 15:09:21 svc:/application/x11/xfs:default 15:22:20 svc:/application/x11/xvnc-inetd:default

[root@systemA] # mkdir .vnc ; cd .vnc; [root@systemA] # cat xstartup #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #/usr/openwin/bin/dtwm & /usr/bin/gnome-session & [root@systemA] # [root@systemA] # svcadm restart xfs [root@systemA] # svcs -a grep x11 online 15:29:01 svc:/application/x11/xfs:default maintenance 15:22:20 svc:/application/x11/xvnc-inetd:default [root@systemA] # [root@systemA] # PATH=$PATH:/usr/X/bin:/usr/X11/bin [root@systemA] # export PATH [root@systemA] # vncserver You will require a password to access your desktops. Password: Verify: xauth: creating new authority file //.Xauthority New 'systemA:1 (root)' desktop is systemA:1 Starting applications specified in //.vnc/xstartup Log file is //.vnc/systemA:1.log [root@systemA] # [root@systemA] # vncpasswd Password: Verify: [root@systemA] # ERROR: vncserver: couldn't find "xauth" on your PATH. [root@systemB] # PATH=/usr/openwin/bin:$PATH [root@systemB] # export PATH [root@systemB] # echo $PATH /usr/openwin/bin:/usr/local/bin:/usr/sbin:/usr/bin:/etc/vx/bin:/opt/VRTS/bin [root@systemB] # vncserver vncserver: couldn't find "Xvnc" on your PATH. [root@systemB] #vncserver vncserver: couldn't find "Xvnc" on your PATH. [root@systemB] # find / -name "Xvnc" -print /usr/X11/bin/Xvnc ^C [root@systemB] # PATH=/usr/X11/bin:$PATH [root@systemB] # export PATH [root@systemB] # echo $PATH /usr/X11/bin:/usr/openwin/bin:/usr/local/bin:/usr/sbin:/usr/bin:/etc/vx/bin:/opt /VRTS/bin [root@systemB] # vncserver You will require a password to access your desktops. Password: Verify:

New 'systemB:1 (root)' desktop is systemB:1 Creating default startup script //.vnc/xstartup Starting applications specified in //.vnc/xstartup Log file is //.vnc/systemB:1.log [root@systemB] #

Das könnte Ihnen auch gefallen