Sponsored Content
Full Discussion: vncserver
Operating Systems Linux Red Hat vncserver Post 302525096 by ygemici on Wednesday 25th of May 2011 04:49:00 PM
Old 05-25-2011
x0vncserver: unable to open display ""
you have to a DISPLAY for x11 forwarding to view data.
so you must x11 forward to a X11 source (if you work windows,use xming or xmanager..)
or you must connect a linux console.

for other problem
first remove "-nohttpd" from vncservers file.some versions does not support this.
Code:
# grep nohttpd /home/vct/.vnc/console-0124.local:1.log

and then restart (probably this is not the main problem)
Code:
# service vncserver restart

after than can you write this log in forum after we can examine this.
Code:
# cat /home/vct/.vnc/console-0124.local:1.log

and you can check vnc service is running?
Code:
# x=$(sed -n 's/.*vncPort = \([0-9]*\).*/\1/p' /usr/bin/vncserver) ; nc -z `hostname -s` $x-$((x+110)) ; netstat --protocol=inet -lp|grep -i vnc

most importantly you must be sure you have access to vncserver!
..you maybe access to vnc port but following the data transfer is problem because of blocked your 3way hand-shake level while before beginning communication via tcp sockets.therefore appropriate sockets do not pass the establish state and kernel network layer genarates an error message to vnc and vnc convert it to own message and echoes ur tty..

you can check access to vncserver via vncPort that defined above
Code:
# telnet vncserver vncPort

regards
ygemici
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vncserver on SCo 505

I have installed vnc on my SCO 505 box. its running fin, but when I start a session and connect to it from my win machine I do get an Xsession but I only get an xterm and thats it. I know my settings are in my //.vnc/xstartup file but what exactly am I supposed to see there. will some one send... (3 Replies)
Discussion started by: franruiz
3 Replies

2. UNIX and Linux Applications

vncserver xlib error

Hello! Im running tight VNC on Red Hat Enterprise Linux 4.0. How can I increase the number of X clients that I can run in a VNC session?I need to run aproximately 500 programs in one VNC session, but at this time I can only 236 -> i've tryed to launch 250 xclock's in background and when it... (0 Replies)
Discussion started by: karpoand
0 Replies

3. Red Hat

how to use vncserver and vncviewer?

hello, I have two fedora 8 systems connected in LAN. I have typed "vncserver" on one terminal; gave a password. Then went to the next terminal and typed "vncviewer".It asked me for host server.I gave the IP address of the above system.But it prompted that "server not found". I tried "ping"... (4 Replies)
Discussion started by: nsharath
4 Replies

4. Linux

vncserver gnome display error

Hi all, I installed vncserver on fedora core 10. I am able to start vncserver and access it via vncviewer but i am not getting gnome display. I am getting the following errors. 1) The panel has encountered a fatal error: the panel could not register with bonobo activation server (error... (6 Replies)
Discussion started by: lramsb4u
6 Replies

5. Ubuntu

VNCserver not working?

Hi, I am having trouble connecting to the vncserver on my Ubuntu server 10.04.2. # vncserver :1 A VNC server is already running as :1 # ps -ef | grep vnc root 2944 1683 0 13:47 pts/0 00:00:00 grep --color=auto vnc I think I have got all the necessary binaries (below) but when I... (0 Replies)
Discussion started by: Duffs22
0 Replies

6. Red Hat

VNCSERVER Install

Hi All, Just wondering if someone can help me out here: Wanted to install vnc server on Centos 6, yum installed tigervnc but there after I do not see any services associated with it. Also, I had installed SAMBA and proceeded with SWAT installation but I am unable to access... (2 Replies)
Discussion started by: a2z1982
2 Replies

7. UNIX for Dummies Questions & Answers

Works on command line but not in script; vncserver on solaris 10

Hi guys. My first post, so be gentle... On my Solaris 10 machine vnc server is running. I need a command to extract most recent client session number (screen). So with: Code: bash-3.2# ps -ef | grep vnc | grep Xaut root 19805 19797 0 15:41:44 ? 0:01 Xvnc :4 -inetd -once... (5 Replies)
Discussion started by: cp6uja
5 Replies

8. Linux

Vncserver NOT working

Hi all, I received following messages while trying to run vncserver, what could be reason behind this. vncserver Warning: system1.pen.com:1 is taken because of /tmp/.X11-unix/X1 Remove this file if there is no X server system1.pen.com:1 Warning: system1.pen.com:2 is taken because of... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

9. UNIX Desktop Questions & Answers

Unable to start vncserver

Hi, While trying to connect vncserver, i am gettting below errors: sh: /home/$USER/.vnc/$HOSTNAME:2.log: Permission denied sh: /home/$USER/.vnc/$HOSTNAME:2.pid: Permission denied New '$HOSTNAME:2 ($USER)' desktop is $HOSTNAME:2 Starting applications specified in... (1 Reply)
Discussion started by: pandeesh
1 Replies
vncpasswd(1)						     Virtual Network Computing						      vncpasswd(1)

NAME
vncpasswd - change a VNC password SYNOPSIS
vncpasswd [passwd-file] DESCRIPTION
vncpasswd allows you to set the password used to access VNC desktops. It stores an obfuscated version of the password in the given file (default $HOME/.vnc/passwd). The vncserver script runs vncpasswd the first time you start a VNC desktop, and invokes Xvnc with the appro- priate -rfbauth option. vncviewer can also be given a password file to use via the -passwd option. The password must be at least six characters long, and only the first eight characters are significant. Note that the stored password is not encrypted securely - anyone who has access to this file can trivially find out the plaintext password, so vncpasswd always sets appro- priate permissions (read and write only by the owner). However, when accessing a VNC desktop a challenge-response mechanism is used over the wire making it hard for anyone to crack the password simply by snooping on the network. FILES
$HOME/.vnc/passwd Default location of the VNC password file. SEE ALSO
vncviewer(1), vncserver(1), Xvnc(1) vncconfig(1), http://www.realvnc.com AUTHOR
Tristan Richardson, RealVNC Ltd. VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T Laboratories Cambridge. It is now being maintained by RealVNC Ltd. See http://www.realvnc.com for details. RealVNC Ltd 03 Mar 2005 vncpasswd(1)
All times are GMT -4. The time now is 10:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy