Dear all,
RHEL AS 4
We need our VNC Server to run on port o (hostname:0) as our applciation requires to be like that.
Now, by default whenever am starting , it starts port 1
like below :
http://test.dashboard.com:5801/
and the display is
test.dashboard.com:1
I need to start this in test.dashboard.com:0
I tried the following :
vi /usr/bin/vncserver
changed
# Find display number.
if ((@ARGV > 0) && ($ARGV[0] =~ /^
\d+)$/)) {
$displayNumber = $0;
to
# Find display number.
if ((@ARGV > 0) && ($ARGV[0] =~ /^
\d+)$/)) {
$displayNumber = $1;
[root@test tmp]# ps -ef | grep vnc
root 19691 24162 0 23:31 pts/5 00:00:00 grep vnc
[root@test tmp]# service vncserver start
Starting VNC server: [ OK ]
[root@test tmp]# vncserver
New 'test.dashboard.com:1 (root)' desktop is test.dashboard.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test.dashboard.com:1.log
Please advise . how to proceed
Kai