!35 [sync] PR-31: fix vncserver unrecognized option rfbwait

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2022-04-18 03:32:47 +00:00 committed by Gitee
commit 39df9bab19
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 3 deletions

View File

@ -4,7 +4,7 @@
Name: tigervnc
Version: 1.12.0
Release: 4
Release: 5
Summary: A TigerVNC remote display system
License: GPLv2+
@ -236,6 +236,12 @@ install -m 644 %{SOURCE6} %{buildroot}%{_docdir}/tigervnc/HOWTO.md
%{_mandir}/man8/*
%changelog
* Tue Apr 12 2022 gaihuiying <eaglegai@163.com> - 1.12.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix vncserver unrecognized option rfbwait
* Tue Apr 12 2022 gaihuiying <eaglegai@163.com> - 1.12.0-4
- Type:bugfix
- ID:NA

View File

@ -194,7 +194,6 @@ $default_opts{auth} = &quotedString($xauthorityFile);
$default_opts{geometry} = $geometry if ($geometry);
$default_opts{depth} = $depth if ($depth);
$default_opts{pixelformat} = $pixelformat if ($pixelformat);
$default_opts{rfbwait} = 30000;
$default_opts{rfbauth} = "$vncUserDir/passwd";
$default_opts{rfbport} = $vncPort;
$default_opts{fp} = $fontPath if ($fontPath);
@ -894,4 +893,4 @@ sub NotifyAboutDeprecation
{
warn "\nWARNING: vncserver has been replaced by a systemd unit and is now considered deprecated and removed in upstream.\n";
warn "Please read /usr/share/doc/tigervnc/HOWTO.md for more information.\n";
}
}