Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TigerVNC connect problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ttre
n00b
n00b


Joined: 04 Aug 2016
Posts: 29

PostPosted: Sun May 21, 2017 5:21 pm    Post subject: TigerVNC connect problem Reply with quote

I have a problem with TigerVNC. I installed it as server on gentoo.

I connect to this server from windows in my LAN. I can connect to this tigervnc server only after few minutes when the gentoo comp is run.

After some time I still get : Cant connect because destination comp deny it. Password and IP are correct.
I have to do reboot that comp in order to connect to that again.

Is it possible check any logs (which one ?) to find out what happen ?
Back to top
View user's profile Send private message
LIsLinuxIsSogood
l33t
l33t


Joined: 13 Feb 2016
Posts: 968

PostPosted: Mon May 22, 2017 5:39 am    Post subject: Reply with quote

Did you check the /var/log folder? You may, depending on your preferred system logger (sysklog or syslog-ng, etc.) look further at some user or system logs.

TigerVNC Config-you will need to look it up with your specific server configuration file when the ports open and which authentication it is using, as well as the settings regarding connection in general and maybe you can uncover the discontinuing connections. I would equally recommend, if you know the appropriate port running VNC based on that configuration you check the open socket connections. For this, you can do this through the host, using either a port or socket utility (like ss or else netstat) and by matching just those ports, in the configuration if optimally set, you should be able to see what is going on within that specific range. If for example the port is closed or if another instance is running of the server, and there are multiple instances, therefore I would try something like:

Code:
# ss -tanup | grep -w XXX[0-9][0-9]


where XX stands for the first 2 to 3 digits of the port being used, and the meaning of the rest is as a catchall for all possible values (remember ports can be either 1, 2, 3, 4, or 5 digits)...you will however already know which due to having checked it before the next time you start the TigerVNC server.


These would also help, if you are able to run any post for the possibility of providing further help.

Kernel type
Code:
# uname -r



Portage version - this will show the version of portage you are using
Code:
# emerge -V


Some basic network configurations
Code:
# ifconfig -a
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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