Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
krdc not allowing connections using vnc anymore [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Thu Aug 02, 2018 2:12 pm    Post subject: krdc not allowing connections using vnc anymore [solved] Reply with quote

Hi,

after updating to krdc 18.04.3 (stable), I can't make a vnc connection using krdc. Also, on the list to the right "Connect to", vnc doesn't show up. Anyone else hit by this?

Cheers.


Last edited by mani001 on Fri Aug 03, 2018 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22315
Location: here

PostPosted: Thu Aug 02, 2018 2:55 pm    Post subject: Reply with quote

vnc use flag is enabled?
Code:
$ equery uses kde-apps/krdc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for kde-apps/krdc-18.04.3:
 U I
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + handbook : Enable handbooks generation for packages by KDE
 + + rdp      : Enables RDP/Remote Desktop support
 + + vnc      : Enable VNC (remote desktop viewer) support

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Thu Aug 02, 2018 3:43 pm    Post subject: Reply with quote

thanks for the prompt reply!!

yes, the "vnc" USE flag is set (everything except debug)

I also tried re-emerging krdc and libvncserver with no luck.

In my laptop I'm still on krdc-17.12.3 and it is working like a charm :roll:
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22315
Location: here

PostPosted: Thu Aug 02, 2018 4:04 pm    Post subject: Reply with quote

You can post output of configuration phase
Code:
# ebuild /usr/portage/kde-apps/krdc/krdc-18.04.3.ebuild configure

In my system I see vnc in dropdown menu
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Thu Aug 02, 2018 4:37 pm    Post subject: Reply with quote

Nice trick!! didn't know about this one :D

Code:

root@cochi ~ $ebuild /usr/portage/kde-apps/krdc/krdc-18.04.3.ebuild configure
 * krdc-18.04.3.tar.xz BLAKE2B SHA512 size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking krdc-18.04.3.tar.xz to /var/tmp/portage/kde-apps/krdc-18.04.3/work
>>> Source unpacked in /var/tmp/portage/kde-apps/krdc-18.04.3/work
>>> Preparing source in /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build"
cmake -C /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DWITH_LibVNCServer=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_toolchain.cmake  /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3
loading initial cache file /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.46.0")
-- Found KF5KCMUtils: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.46.0")
-- Found KF5DNSSD: /usr/lib64/cmake/KF5DNSSD/KF5DNSSDConfig.cmake (found version "5.46.0")
-- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.46.0")
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.46.0")
-- Found KF5Bookmarks: /usr/lib64/cmake/KF5Bookmarks/KF5BookmarksConfig.cmake (found version "5.46.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.46.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.46.0")
-- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.46.0")
-- Found KF5Wallet: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (found version "5.46.0")
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.46.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.46.0")
-- Found KF5: success (found version "5.46.0") found components:  Config KCMUtils DNSSD NotifyConfig Notifications Bookmarks IconThemes XmlGui Completion Wallet WidgetsAddons NotifyConfig I18n
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Could not set up the appstream test. appstreamcli is missing.
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following OPTIONAL packages have been found:

 * Qt5Gui (required version >= 5.9.6)
 * KF5DocTools
 * Qt5Core

-- The following REQUIRED packages have been found:

 * ECM
 * KF5Config
 * KF5KCMUtils
 * KF5DNSSD
 * KF5Notifications
 * KF5Bookmarks
 * KF5IconThemes
 * KF5XmlGui
 * KF5Completion
 * KF5Wallet
 * KF5WidgetsAddons
 * KF5NotifyConfig
 * Gettext
 * KF5I18n
 * KF5

-- The following OPTIONAL packages have not been found:

 * LibVNCServer

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=native -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++             -O2 -pipe -march=native -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    WITH_LibVNCServer


-- Build files have been written to: /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build
>>> Source configured.


That is interesting: it can't find libvncserver but

Code:

root@cochi ~ $emerge -s libvncserver
 
[ Results for search key : libvncserver ]
Searching...

*  net-libs/libvncserver
      Latest version available: 0.9.11_p20180502-r2
      Latest version installed: 0.9.11_p20180502-r2
      Size of files: 1.392 KiB
      Homepage:      https://libvnc.github.io/
      Description:   library for creating vnc servers
      License:       GPL-2

[ Applications found : 1 ]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22315
Location: here

PostPosted: Thu Aug 02, 2018 4:48 pm    Post subject: Reply with quote

libvncserver isn't found I don't know why...
... but net-libs/libvncserver-0.9.11_p20180502-r2 isn't official package from tree. Try to install official version (0.9.11-r1)
Code:
# emerge -1 net-libs/libvncserver::gentoo kde-apps/krdc

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14163

PostPosted: Fri Aug 03, 2018 12:32 am    Post subject: Reply with quote

mani001 wrote:
Code:
cmake -C /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DWITH_LibVNCServer=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3_build/gentoo_toolchain.cmake  /var/tmp/portage/kde-apps/krdc-18.04.3/work/krdc-18.04.3
-- The following OPTIONAL packages have not been found:

 * LibVNCServer
This looks like a bug in the upstream build system to me. Gentoo told it to use VNC server support. That makes the package non-optional. In my opinion, if the ebuild says to use vnc, then CMake must either find it or fail the build. Continuing silently and discarding VNC support is not correct.
Back to top
View user's profile Send private message
mani001
Guru
Guru


Joined: 04 Dec 2004
Posts: 360
Location: Oleiros

PostPosted: Fri Aug 03, 2018 2:23 pm    Post subject: Reply with quote

fedeliallalinea, that did the trick :D Thank you so much!! (by the way, you were right, the package was from mva overlay)

Hu, since I know close to nothing about cmake, I dare not report this as a bug :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum