TigerVNC server on Linux (Ubuntu or Alt Linux) for simultaneous operation of more than ten users in X

113 views
Skip to first unread message

Stanislav Matsak

unread,
Nov 18, 2021, 5:11:27 PM11/18/21
to TigerVNC User Discussion/Support
I was unable to launch more than 9 connections for users to work on Linux from standard TigerVNC distributions.
That's why I came to you, downloaded deb for Ubuntu, installed it.
The startup parameters are very different from those that were before, so I ask you to give some examples of how to start the server.
I have a console server with xinit and fluxbox as a window manager.
I'm trying to run server like this
Xvnc :1 -rfbauth /home/user/.vnc/passwd

session configuration:
cat /home/user/.vnc/Xstartup 
#!/bin/sh
unset SESSION_MANAGER
  unset DBUS_SESSION_BUS_ADDRESS
    vnconfig -nowin &
  exec dbus-launch fluxbox

I would be grateful for any help on this issue.

Stanislav Matsak

unread,
Nov 18, 2021, 5:16:35 PM11/18/21
to TigerVNC User Discussion/Support
when connected, I see a black screen, no fluxbox

пятница, 19 ноября 2021 г. в 01:11:27 UTC+3, Stanislav Matsak:

Pierre Ossman

unread,
Nov 19, 2021, 9:32:38 AM11/19/21
to Stanislav Matsak, TigerVNC User Discussion/Support
On 18/11/2021 23:16, Stanislav Matsak wrote:
> when connected, I see a black screen, no fluxbox
>

If you can connect then that means that TigerVNC is up and running, so
I'm afraid the issue must be in fluxbox somewhere.

Have you checked if it is the fact that you have 10 sessions that is the
problem, or if it just that display :10 that's broken? :10 is commonly
used for SSH forwarding so it has happened that some programs have
special hacks for that.

Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Stanislav Matsak

unread,
Nov 19, 2021, 3:58:33 PM11/19/21
to TigerVNC User Discussion/Support
Hello.
Thanks for the quick response.

The problem with :10 screen, I can't jump it in any way in the standard tigervnc from the distribution.
vncserver -rawkeyboard :9 opens normally, like all the previous ones.
vncserver -rawkeyboard :10 - does not open and you said why.
vncserver -rawkeyboard :11 - does not open because :10 is not open.
I came to you hoping to can register a specific user in a specific tcp socket, with a unique password for each user to avoid confusion when connecting users.
Judging by the incomplete picture of your the solution  in my understanding, it's knows how to do it.
I ask you to recommend me how to do it better, preferably with an example.

Thank you in advance.

пятница, 19 ноября 2021 г. в 17:32:38 UTC+3, Pierre Ossman:

Stanislav Matsak

unread,
Nov 19, 2021, 4:11:47 PM11/19/21
to TigerVNC User Discussion/Support
an easy way, :)

I just need to not try to run :10 screen, after :9 run immediately :11.
I tried, and I succeeded.
This means that I can get by with the standard tigervnc from the distribution.
Thank you very much, you helped me a lot.

Your solution can bigger, but it is more complicated in the settings, if not problem - provide some examples. so that I understand how to use it.

I am very glad that I came to you.
netstat -ntpa | grep vnc
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:5901                0.0.0.0:*                   LISTEN      5933/Xvnc           
tcp        0      0 0.0.0.0:5902                0.0.0.0:*                   LISTEN      25653/Xvnc          
tcp        0      0 0.0.0.0:5903                0.0.0.0:*                   LISTEN      25704/Xvnc          
tcp        0      0 0.0.0.0:5904                0.0.0.0:*                   LISTEN      25754/Xvnc          
tcp        0      0 0.0.0.0:5905                0.0.0.0:*                   LISTEN      25803/Xvnc          
tcp        0      0 0.0.0.0:5906                0.0.0.0:*                   LISTEN      25867/Xvnc          
tcp        0      0 0.0.0.0:5907                0.0.0.0:*                   LISTEN      25923/Xvnc          
tcp        0      0 0.0.0.0:5908                0.0.0.0:*                   LISTEN      25974/Xvnc          
tcp        0      0 0.0.0.0:5909                0.0.0.0:*                   LISTEN      26023/Xvnc          
tcp        0      0 0.0.0.0:5911                0.0.0.0:*                   LISTEN      26072/Xvnc          
tcp        0      0 0.0.0.0:5912                0.0.0.0:*                   LISTEN      26121/Xvnc          
tcp        0      0 0.0.0.0:5913                0.0.0.0:*                   LISTEN      26170/Xvnc          
tcp        0      0 0.0.0.0:5914                0.0.0.0:*                   LISTEN      26220/Xvnc          
tcp        0      0 0.0.0.0:5915                0.0.0.0:*                   LISTEN      26269/Xvnc          
tcp        0      0 0.0.0.0:5916                0.0.0.0:*                   LISTEN      26333/Xvnc          
tcp        0      0 0.0.0.0:5917                0.0.0.0:*                   LISTEN      26397/Xvnc        


пятница, 19 ноября 2021 г. в 23:58:33 UTC+3, Stanislav Matsak:
Reply all
Reply to author
Forward
0 new messages