Vino not accepting incoming connection to more than a single desktop session when the "network_interfaces=lo" option is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vino |
Confirmed
|
Medium
|
|||
vino (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Binary package hint: vino
On lucid, when you set the /desktop/
= Step to reproduce =
1. On the target machine, open a session as one user, then switch to a second user.
2. From another machine, witness that you can cannot connect to both session by VNC:
$ vncviewer target:0 # VNC client screen remain black (session is locked), but connection is possible
$ vncviewer target:1 # Connection ok
3. On the target machine, set the /desktop/
4. Try to connect remotely using ssh tunneling:
$ vncviewer -via target localhost:0 # VNC client screen remain black (session is locked), but connection otherwise work
$ vncviewer -via target localhost:1 # Connection is refused
= Expected behavior =
Vino should allow incoming connection to the current foreground session, whether directly or through an ssh tunnel when network_interfaces is set to "lo".
vino package is version 2.28.2-0ubuntu2.
Changed in vino: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in vino (Ubuntu): | |
importance: | Undecided → Medium |
Changed in vino (Ubuntu): | |
assignee: | nobody → Rodrigo Moya (rodrigo-moya) |
status: | Triaged → In Progress |
Changed in vino: | |
status: | New → Confirmed |
Changed in vino (Ubuntu): | |
assignee: | Rodrigo Moya (rodrigo-moya) → nobody |
I did the following test:
1. Log in as user1.
2. Switch session to user2.
3. Check with "netstat -alp --inet". Notice that only the vino-server of user1 is listening, on port 5900.
4. In user2's session, kill the vino-server process.
5. Manually run /usr/lib/ vino/vino- server on the console. On stdout, we can see that it tries to bind to port 5900 (see attached output).
I guess that, in the above example, user2's vino-server should be trying to bind to port 5901. Correct?