Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/daemon/client/include/vnc.client.class

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2061 by niro, Mon Aug 13 11:27:11 2012 UTC revision 2062 by niro, Wed May 8 13:04:27 2013 UTC
# Line 33  set_vnc_enable() Line 33  set_vnc_enable()
33   clearconfig   clearconfig
34   addconfig ' Option "SecurityTypes" "VncAuth"'   addconfig ' Option "SecurityTypes" "VncAuth"'
35          addconfig ' Option "UserPasswdVerifier" "VncAuth"'          addconfig ' Option "UserPasswdVerifier" "VncAuth"'
36          addconfig ' Option "PasswordFile" "/root/.vncpasswd"'          addconfig ' Option "PasswordFile" "/root/.vnc/passwd"'
37    
38   # requires graphic!   # requires graphic!
39   helper_graphic_rebuild_xorg_conf_d   helper_graphic_rebuild_xorg_conf_d
# Line 58  set_vnc_disable() Line 58  set_vnc_disable()
58  set_vnc_passwd()  set_vnc_passwd()
59  {  {
60   local pass="$1"   local pass="$1"
61   local vncpasswd="${MROOT}/root/.vncpasswd"   local vncpasswd="${MROOT}/root/.vnc/passwd"
62   [[ -z ${pass} ]] && help_vnc_passwd && return 1   [[ -z ${pass} ]] && help_vnc_passwd && return 1
63    
64   vncpasswd "${vncpasswd}" > /dev/null << EOF   vncpasswd "${vncpasswd}" > /dev/null << EOF

Legend:
Removed from v.2061  
changed lines
  Added in v.2062