https://bugzilla.novell.com/show_bug.cgi?id=809844
https://bugzilla.novell.com/show_bug.cgi?id=809844#c10
--- Comment #10 from Niclas Arndt 2013-05-01 10:10:31 UTC ---
I have finally gotten around to implementing the fix Milos provided. Here are
the detailed instructions. I also include a workaround for the login screen
lockout-problem that was introduced in 12.3.
Go to http://download.opensuse.org/source/distribution/12.3/repo/oss/suse/src/
Download xorg-x11-Xvnc-7.6_1.0.1-3.1.1.src.rpm.
Unpack (= do not install) the rpm.
Go to the unpacked directory. Comment out line "%patch2 -pl" in
xorg-x11-Xvnc.spec. This omits the N_tigervnc_keyboard-layout-handling.patch.
Unless you have already installed the packages required for compiling, you must
do it now. I selected /Patterns/Base development and /Search/rpm-build. This
will enable you to launch the following command:
rpmbuild -ba /YourFolder/xorg-x11-Xvnc.spec
It will probably complain about missing packages, so install these ones as well
and relaunch the rpmbuild command.
The built rpms are placed in /usr/src/packages/SRPMS/ and
/usr/src/packages/RPMS/i586/.
Simply copying the /YourRpmPackage/usr/bin/Xvnc file into /usr/bin/ works.
I renamed it to Xvncx before doing this and modified /etc/xinetd.d/vnc like
below. The original 12.3 Xvnc executable is used for vnc1 and the custom Xvcnx
for vnc2. This provides a fall-back in case Xvncx isn't working properly (but
so far no problems).
The workaround for the vnc login screen:
In this case, user root is used (which might not be wise - please comment).
You must first run vncpasswd when logged in as root in order to create the
password.
For completeness' sake: -depth has to be changed from 16 to 24 in openSUSE
12.2+. Otherwise icons will look garbled.
service vnc1
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/Xvnc
server_args = -noreset -inetd -once -query localhost -geometry 1240x695
-depth 24 -rfbauth /root/.vnc/passwd
type = UNLISTED
port = 5901
}
service vnc2
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/Xvncx
server_args = -noreset -inetd -once -query localhost -geometry 1240x695
-depth 24 -rfbauth /root/.vnc/passwd
type = UNLISTED
port = 5902
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.