View previous topic :: View next topic |
Author |
Message |
manu.rhel n00b
Joined: 11 Apr 2014 Posts: 42
|
Posted: Thu Sep 26, 2024 10:52 am Post subject: not able to start tigervnc |
|
|
Hi Experts, I have recently installed TigerVNC server on a Gentoo machine -
Quote: | USE="server" emerge --ask --update --newuse net-misc/tigervnc
|
Also I have installed xfce using below commands -
Quote: | emerge --ask xfce-base/xfce4-meta xfce-extra/xfce4-notifyd
emerge --ask --deselect=y xfce-extra/xfce4-notifyd
emerge --ask x11-terms/xfce4-terminal
|
But when I am trying to bring up vncserver from one of the user accounts, I get the below message -
Quote: | $ vncserver :11
~/.vnc is deprecated, please consult 'man vncsession' for paths to migrate to. at /usr/bin/vncserver line 43.
Using desktop session Xsession
xauth: (stdin):1: bad display name "XXXX:11" in "add" command
New 'XXXX:11 (xxxxvnc)' desktop is XXXX:11
Starting desktop session Xsession
Xvnc TigerVNC 1.14.0 - built Sep 26 2024 18:41:47
Copyright (C) 1999-2024 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101013
Thu Sep 26 18:47:00 2024
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5911
vncext: created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
[mi] mieq: warning: overriding existing handler (nil) with 0x5646746afb90 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x5646746afb90 for event 3
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost
waiting for X server to shut down ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio) |
When I try to connect to this VNC Server from another machine, I get the below message on the Client machine -
Quote: | # vncviewer 172.18.2.34:5911
TigerVNC Viewer v1.13.1
Built on: 2024-09-26 06:03
Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Can't open display:
|
Please suggest how to get this fixed.
Thanks for all your help in advance |
|
Back to top |
|
|
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 268 Location: Pennsylvania, USA
|
Posted: Thu Sep 26, 2024 9:40 pm Post subject: |
|
|
I haven't tried to start a VNC server from a user account, but it works fine as a service. Edit /etc/tigervnc/vncserver.users to associate a userid to a VNC screen, then start the service; for example, with Openrc, rc-service tigervnc.1 start . Modify as needed if you use systemd. |
|
Back to top |
|
|
|
|
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
|
|