Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174511 - net-misc/tightvnc - wrong desktop numbers
Summary: net-misc/tightvnc - wrong desktop numbers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 19:28 UTC by Marco Clocchiatti
Modified: 2007-04-15 20:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge--info.tar.bz2,3.22 KB, text/plain)
2007-04-14 19:09 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2007-04-13 19:28:48 UTC
Look at desktop numbers in this sequence (cut and paste): they are not coerent.


cloc3@wlan0 ~ $ vncserver :3

New 'X' desktop is wlan0:1

Starting applications specified in /home/cloc3/.vnc/xstartup
Log file is /home/cloc3/.vnc/wlan0:1.log

cloc3@wlan0 ~ $ vncserver :1

New 'X' desktop is wlan0:2

Starting applications specified in /home/cloc3/.vnc/xstartup
Log file is /home/cloc3/.vnc/wlan0:2.log

cloc3@wlan0 ~ $ ls /tmp/.X*-lock -t
/tmp/.X1-lock  /tmp/.X3-lock  /tmp/.X0-lock
cloc3@wlan0 ~ $ vncserver -kill :3

Can't find file /home/cloc3/.vnc/wlan0:3.pid
You'll have to kill the Xvnc process manually

cloc3@wlan0 ~ $ vncserver -kill :2
Killing Xvnc process ID 17434
cloc3@wlan0 ~ $ vncserver -kill :1
Killing Xvnc process ID 17414


Reproducible: Always

Steps to Reproduce:



Expected Results:  
desktop number should correspond to command line input.
Instead only the /tmp/.X#-lock file seems corresponding

it happens both on tigthvnc-1.2.9-r4 and tigthvnc-1.3*
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-04-14 18:01:49 UTC
emerge --info, please
Comment 2 Marco Clocchiatti 2007-04-14 19:09:58 UTC
Created attachment 116260 [details]
emerge info
Comment 3 Marco Clocchiatti 2007-04-14 19:12:25 UTC
it happens on two separated systems.
I've attached both emerge--info, even if are very similar.
Comment 4 Marco Clocchiatti 2007-04-15 20:08:12 UTC
I've understand the origin of the effect.

In my system, I often use tightvnc on localhost.
So, I've put `alias vncserver="vncserver -localhost"` in .bashrc.

According with `man vncserver` SYNOPSYS, the order of display number and Xvnc options is important in the command.

sorry for the bad segnalation.