patch from 'Hug Me'

ulab-original
jsorg71 17 years ago
parent f82cf80d4f
commit 930160ea50

@ -100,9 +100,10 @@ env_set_user(char* username, char* passwd_file, int display)
{ {
if (0 == g_cfg.auth_file_path) if (0 == g_cfg.auth_file_path)
{ {
/* if no auth_file_path is set, then we go for $HOME/.vnc/sesman_passwd */ /* if no auth_file_path is set, then we go for
$HOME/.vnc/sesman_username_passwd */
g_mkdir(".vnc"); g_mkdir(".vnc");
g_sprintf(passwd_file, "%s/.vnc/sesman_passwd", pw_dir); g_sprintf(passwd_file, "%s/.vnc/sesman_%s_passwd", pw_dir, username);
} }
else else
{ {

Loading…
Cancel
Save