Klaus, Many thanks for this information!
I’m trying to get RealVNC to work on SLES10/SP2, but I keep getting
this…
VNC® Server Enterprise Edition E4.5.4 (r41964) - built Jun 14 2010
11:04:02
Copyright (C) 2002-2010 RealVNC Ltd.
VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other
countries.
See ‘RealVNC - VNC® remote control software’ (http://www.realvnc.com)
for information on VNC.
Unrecognized option: PasswordFile=/root/.vnc/passwd
use: X [:] [option]
-alttab character Use character specified along with Alt to
generate Alt+Tab effect.
character specified should be alphabet.On
specifying invalid character,
‘z’ will be used with Alt key to generate
Alt+Tab effect
-a # mouse acceleration (pixels)
-ac disable access control restrictions
…and it goes on to list the rest of the options.
I’m using the configuration files you developed. Here’s my
/etc/init.d/realvncserver…
#!/bin/bash
description: Start or stop the realvncserver
Copyright: Klaus Lehmann Radeberg 2010 with some certain help from
people from realvnc and novell_forum(sles11)
BEGIN INIT INFO
Provides: vnc
Required-Start: $network $syslog
Required-Stop: $network
X-Start-Before: xdm
X-Stop-After: xdm
Default-Start: 5
Default-Stop: 0 1 6
Short-Description: Start REALVNC Server
END INIT INFO
REALVNC_SERVER=/usr/bin/Xvnc
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin/
RUNASUSER=root
. /etc/rc.status
Reset status of this service
rc_reset
case “$1” in
‘start’)
su $RUNASUSER -c ‘vncserver :1 -SecurityTypes=RA2 -geometry
800x600 -depth 24’
su - $RUNASUSER -c ‘xhost +localhost’
rc_status -v
;;
‘stop’)
su - $RUNASUSER -c ‘xhost -’
su $RUNASUSER -c ‘vncserver -kill :1’
rc_status -v
;;
‘status’)
echo -n "Checking for service realvncserver "
/sbin/checkproc $REALVNC_SERVER
rc_status -v
;;
‘restart’)
$0 stop && sleep 2 && $0 start
rc_status -v
;;
*)
echo “Usage: $0 {start|stop|status|restart}”
exit 2
;;
esac
rc_exit
…and the /etc/vnc/config…
Default vncserver configuration. See the vncserver man page for
details.
#-desktop “$HOSTNAME:$DISPLAYNUM ($USER)” # Desktop name
-desktop “$HOSTNAME:$DISPLAYNUM ($HOME)” # Desktop name
-pn # Continue even if standard
ports fail
-httpd # Serve Java viewer inline
Default font path (from xset)
-fp
“/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/share/vnc/fonts”
Default RGB database file
-co “/usr/X11/lib/X11/rgb”
…and I’ve set the vncpasswd, and there’s a passwd file present in
~/.vnc/.
I’ve tried removing the passwd file, but this doesn’t change anything.
I still get the same response.
Anyone have any suggestions?
Brent
–
bvwputnam
bvwputnam’s Profile: http://forums.novell.com/member.php?userid=73536
View this thread: http://forums.novell.com/showthread.php?t=397198