Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174541 - net-misc/tightvnc vncserver script applies automatically the -localhost option
Summary: net-misc/tightvnc vncserver script applies automatically the -localhost option
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 01:52 UTC by Marco Clocchiatti
Modified: 2007-04-14 07:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2007-04-14 01:52:04 UTC
look at the cut and paste sequence:

cloc3@wlan0 ~ $ vncserver 

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 ~ $ cp `which vncserver ` .
cloc3@wlan0 ~ $ diff `which vncserver` ./vncserver
cloc3@wlan0 ~ $ ./vncserver 

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 ~ $ ps aux|grep vnc|grep -v grep
cloc3     9395  9.4  1.1  25308 11680 pts/1    S    03:43   0:04 Xvnc :1 -desktop X -httpd /usr/share/tightvnc/classes -auth /home/cloc3/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /home/cloc3/.vnc/passwd -rfbport 5901 -fp /usr/share/fonts/misc/,/usr/share/fonts/Type1/ -co /usr/share/X11/rgb -localhost
cloc3     9442 52.5  1.1  25308 11628 pts/1    S    03:44   0:04 Xvnc :2 -desktop X -httpd /usr/share/tightvnc/classes -auth /home/cloc3/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /home/cloc3/.vnc/passwd -rfbport 5902 -fp /usr/share/fonts/misc/,/usr/share/fonts/Type1/ -co /usr/share/X11/rgb


Reproducible: Always

Steps to Reproduce:

Actual Results:  
the script vncserver, started by a normal user, forces the option -localhost.

the same script, just copied in the home directory, doesn't.

Expected Results:  
the option -localhost should be applied just if explicitly called, according with man Xvnc synopsys
Comment 1 Marco Clocchiatti 2007-04-14 04:27:57 UTC
sorry, it depends from me.