Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vncserver problem

Status
Not open for further replies.

ccook123

IS-IT--Management
May 1, 2009
21
US
I have vncserver installed on a machine (AIX 5.3) Vncserver application came from the Linux Application disk for Aix.

Whenever I issue the command "vncserver" everything starts up just fine and I can connect.

However if I try to use the "vncserver -localhost" The process starts and instantly dies and my vnc log file looks like this.

17/06/09 22:45:33 Xvnc version 3.3.3r2
17/06/09 22:45:33 Copyright (C) AT&T Laboratories Cambridge.
17/06/09 22:45:33 All Rights Reserved.
17/06/09 22:45:33 See for information on VNC
17/06/09 22:45:33 Desktop name 'X' (testaix:1)
17/06/09 22:45:33 Protocol version supported 3.3
17/06/09 22:45:33 Listening for VNC connections on TCP port 5901
17/06/09 22:45:33 ListenOnTCPPort: Can't assign requested address
xrdb: Connection refused
xrdb: Can't open display 'testaix:1'
1356-265 xsetroot: Unable to open display: testaix:1.
xterm Xt error: Can't open display: testaix:1
twm: unable to open display "testaix:1"

I would really appreciate any direction on this one.
 
pretty sure it is an option. My first post contains the server log while using the localhost option. Here is the server log of an option I just made up to compare the logs.

$ vncserver -genericoption

New 'X' desktop is testaix:1

Starting applications specified in /home/ccook/.vnc/xstartup
Log file is /home/ccook/.vnc/testaix:1.log

$ view /home/ccook/.vnc/testaix:1.log
"/home/ccook/.vnc/testaix:1.log" [Read only] 71 lines, 3704 characters

Unrecognized option: -genericoption
use: X [:<display>] [option]
-a # mouse acceleration (pixels)
-ac disable access control restrictions
-audit int set audit trail level
-auth file select authorization file
bc enable bug compatibility
-bs disable any backing store support
-c turns off key-click
c # key-click volume (0-100)
-cc int default color visual class
-co file color database file
-core generate core dump on fatal error
-dpi int screen resolution in dots per inch
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f # bell base (0-100)
-fc string cursor font
-fn string default font name
-fp string default font path
-help prints message with these options
-I ignore all remaining arguments
-ld int limit data space to N Kb
-lf int limit number of open files to N
"/home/ccook/.vnc/testaix:1.log" [Read only] 71 lines, 3704 characters
-deferupdate time time in ms to defer updates (default 40)
-economictranslate less memory-hungry translation
-desktop name VNC desktop name (default x11)
-alwaysshared always treat new clients as shared
-nevershared never treat new clients as shared
-dontdisconnect don't disconnect existing clients when a new non-shared
connection comes in (refuse new connection instead)
-localhost only allow connections from localhost
-inetd Xvnc is launched by inetd
xrdb: Connection refused
xrdb: Can't open display 'testaix:1'


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top