Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/Solved/ TigerVNC: Can't open display
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 18 Apr 2004
Posts: 482

PostPosted: Sat Sep 10, 2022 7:18 am    Post subject: /Solved/ TigerVNC: Can't open display Reply with quote

Hello community!

After gentoo update I cannot connect to my vnc server.

Code:
ms ~ $ vncviewer

TigerVNC-Betrachter (32-bit) Version 1.12.0
Erstellt auf: 2022-09-09 15:57
Copyright (C) 1999-2021 TigerVNC-Team und viele andere (siehe README.rst)
Siehe https://www.tigervnc.org für Informationen zu TigerVNC.
Can't open display:
ms ~ $


I gues the there is a problem to start the vncserver?

Code:
ms ~ # vncserver :1
Using desktop session xfce

New 'ms:1 (root)' desktop is ms:1

Starting desktop session xfce


Xvnc TigerVNC 1.12.0 - built Sep  9 2022 18:02:19
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101001


Sat Sep 10 09:15:18 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
[mi] mieq: warning: overriding existing handler (nil) with 0x57cafc for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x57cafc 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)

ms ~ #


Please help! What I can try?


Last edited by misterxx on Mon Sep 19, 2022 10:10 am; edited 1 time in total
Back to top
View user's profile Send private message
xineg
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 115
Location: Australia.

PostPosted: Sat Sep 10, 2022 8:25 am    Post subject: Reply with quote

Did you perhaps build tigervnc the first time with the USE set on the command line, like it says on the wiki
and then forget this when you updated? On the wiki it states
Code:
USE="server" emerge --ask --update --newuse net-misc/tigervnc

so if you then did a (say)
Code:
emerge -uDU @world

That useflag will no longer be set. I'ts just a thought and very easy to forget about if you didn't add the
server flag to package.use.
If that is the case rebuild it with USE="server".
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 482

PostPosted: Sat Sep 10, 2022 12:23 pm    Post subject: Reply with quote

I rebuild tigervnc with USE="server" but it has not helped.

If I restart tigervnc I get follow messages:

Code:
ms ~ # /etc/init.d/tigervnc restart
 * Stopping TigerVNC server ...
cat: '/run/vncsession-:1.pid': Datei oder Verzeichnis nicht gefunden
Kein Benutzer mit dem Namen »«
cat: '/run/vncsession-:2.pid': Datei oder Verzeichnis nicht gefunden
Kein Benutzer mit dem Namen »«                                                                                                                            [ ok ]
 * Starting TigerVNC server ...                                                                                                                           [ ok ]
ms ~ #
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 482

PostPosted: Mon Sep 12, 2022 8:32 am    Post subject: Reply with quote

Solved
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