Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
starting tigervnc 1.12 not successfull [solved]
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
s|mon
Apprentice
Apprentice


Joined: 04 Jul 2004
Posts: 205
Location: Bayern [de]

PostPosted: Sat May 14, 2022 11:12 am    Post subject: starting tigervnc 1.12 not successfull [solved] Reply with quote

Hi,

yesterday i upgraded to tigervnc 1.12.0-r5 (due to stabilization of the same).
Based on this switch i needed update some configration (e.g. set vncuser and in user ~/.vnc/config some settings)

config
Quote:
session=fluxbox
securitytypes=vncauth,tlsvnc
geometry=1920x1080
localhost
alwaysshared


unfortunately it does not really start xinit and therefore i have no session to connect to.
For testing pre-stable 1.12 build i also have it running on my main machine where it starts fine and is see sth. like this if started from ps -ef | grep vnc

Quote:
root 13569 1 0 12:55 ? 00:00:00 /usr/sbin/vncsession simon :1
simon 13570 13569 0 12:55 ? 00:00:00 xinit /usr/share/sddm/scripts/Xsession startfluxbox -- /usr/bin/Xvnc :1 -geometry 1920x1080 -localhost -securitytypes vncauth,tlsvnc -auth /home/simon/.Xauthority -desktop jen:1 (simon) -fp /usr/share/fonts/misc,/usr/share/fonts/100dpi,/usr/share/fonts/Type1 -pn -rfbauth /home/simon/.vnc/passwd -rfbport 5901
simon 13581 13570 0 12:55 ? 00:00:03 /usr/bin/Xvnc :1 -geometry 1920x1080 -localhost -securitytypes vncauth,tlsvnc -auth /home/simon/.Xauthority -desktop jen:1 (simon) -fp /usr/share/fonts/misc,/usr/share/fonts/100dpi,/usr/share/fonts/Type1 -pn -rfbauth /home/simon/.vnc/passwd -rfbport 5901

on the affected machine i only see
Quote:

root 21910 1 0 13:16 ? 00:00:00 /usr/sbin/vncsession simon :1
simon 21911 21910 1 13:16 ? 00:00:00 perl /usr/libexec/vncserver :1
root 21923 3193 0 13:16 pts/4 00:00:00 grep --colour=auto vnc


In the ~/vnc/machine:1.log i see the following
Quote:

Using desktop session fluxbox

New 'nikki:1 (simon)' desktop is nikki:1

Starting desktop session fluxbox


Xvnc TigerVNC 1.12.0 - built May 13 2022 11:36:29
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 May 14 13:28:40 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
[mi] mieq: warning: overriding existing handler (nil) with 0x55a9633a5e30 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x55a9633a5e30 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)


The only difference i see is that on my main machine (where it works but i don't need it) Xorg is running anyhow.
Does anyone have further hints how to find the issue or what else to check.

Thanks a lot!


[edit]
Seems all that was missing was a distplay manager. I have now installed sddm to provide the Xsession file and it works. Will now test if xdm is also sufficient [edit2: works as well].
Remembered it being mentioned here Bug 746227
Not sure if there should be a dependency check/hint somewhere or if i just overlooked it.
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1520

PostPosted: Sun May 15, 2022 12:32 am    Post subject: Re: starting tigervnc 1.12 not successfull [solved] Reply with quote

s|mon wrote:
...
unfortunately it does not really start xinit and therefore i have no session to connect to.
...

Look in .xsession-errors for clues about missing executable.
Back to top
View user's profile Send private message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 581

PostPosted: Fri Aug 26, 2022 7:59 am    Post subject: Re: starting tigervnc 1.12 not successfull [solved] Reply with quote

quilosaq wrote:
s|mon wrote:
...
unfortunately it does not really start xinit and therefore i have no session to connect to.
...

Look in .xsession-errors for clues about missing executable.


You are my hero!
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Mon Sep 05, 2022 7:42 pm    Post subject: Reply with quote

As for my case, I start Fluxbox when TigerVNC starts.

Code:
[~/.vnc/xstartup]
/usr/bin/startfluxbox


Despite so, the plain X session kept starting (and failed). I just renamed it and created a link. Prolly not a good way to solve it, but well, it works.

Code:
cd /etc/X11/Sessions
mv Xsession Xsession.old
ln -s fluxbox Xsession

__
sol
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