Skip to content

Commit

Permalink
notes tiger_tools>vncpasswd
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Oct 14, 2023
1 parent a58a466 commit fa6a9fb
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions deb12/src/Dockerfile.compile2
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,19 @@ WORKDIR /build/tigervnc-1.12.0
# err with armv7:
#0 16.95 CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
#0 16.95 Could NOT find X11 (missing: X11_X11_LIB)
# deb12: gitac_ERR; tenVM2下手动正常
# Dockerfile.compile2:148
# --------------------
# 147 | #0 16.95 Could NOT find X11 (missing: X11_X11_LIB)
RUN patch -Np1 -i ../tigervnc-1.12.0-configuration_fixes-1.patch; \
cd unix/xserver && patch -Np1 -i ../xserver120.patch; \
cd /build/tigervnc-1.12.0; \
# https://github.com/glfw/glfw/issues/1957
# export CMAKE_LIBRARY_ARCHITECTURE=x86_64-unknown-linux-gnu; \
export CMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu; \
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release -DINSTALL_SYSTEMD_UNITS=OFF -Wno-dev .; \
make
# # deb12: gitac_ERR; tenVM2下手动正常
# # Dockerfile.compile2:148
# # --------------------
# # 147 | #0 16.95 Could NOT find X11 (missing: X11_X11_LIB)
# RUN patch -Np1 -i ../tigervnc-1.12.0-configuration_fixes-1.patch; \
# cd unix/xserver && patch -Np1 -i ../xserver120.patch; \
# cd /build/tigervnc-1.12.0; \
# # https://github.com/glfw/glfw/issues/1957
# # export CMAKE_LIBRARY_ARCHITECTURE=x86_64-unknown-linux-gnu; \
# export CMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu; \
# cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr \
# -DCMAKE_BUILD_TYPE=Release -DINSTALL_SYSTEMD_UNITS=OFF -Wno-dev .; \
# make

# MAKE SERVER
WORKDIR /build/tigervnc-1.12.0/unix/xserver
Expand All @@ -181,10 +181,11 @@ RUN autoreconf -fiv; \
--without-dtrace; \
make && make install;
# vncpasswd
RUN cp /build/tigervnc-1.12.0/unix/vncpasswd/vncpasswd /usr/local/tigervnc/bin/
# RUN cp /build/tigervnc-1.12.0/unix/vncpasswd/vncpasswd /usr/local/tigervnc/bin/

# https://github.com/TigerVNC/tigervnc/issues/800
# LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 vncserver :2 -localhost no

#
# swrast_dri.so # /usr/lib/dri/swrast_dri.so
# ln -s /usr/lib/x86_64-linux-gnu/dri /usr/lib/dri

Expand Down

0 comments on commit fa6a9fb

Please sign in to comment.