01-01-2015
How do get to the machine that has your VNC server(s) running? SSH? Check the remote server and see what's listening on ports starting at 6000 and up, maybe up to 6030 or so.
Each VNCserver virtual display needs to open a standard X Windows server display port and listen on it for connections from client processes that want to display on that server. The envval "DISPLAY=host1:8.0" means display 0 on port 6008 on host1, while "DISPLAY=host2:2.1" means display 1 (not normally used) on port 6002 on host2. The most common - "DISPLAY=:0.0" means display 0 on port 6000 on the local host.
If there are no port conflicts, firewall rules could be limiting the available ports.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies
2. HP-UX
Hi All,
I'm having a very difficult time compiling VNC for HPUX 11.0. Is there a vnc depot sitting somewhere out there ?
Thanks a bunch,
KENT (1 Reply)
Discussion started by: kxchen_home
1 Replies
3. Shell Programming and Scripting
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (0 Replies)
Discussion started by: foweja
0 Replies
4. UNIX for Advanced & Expert Users
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (1 Reply)
Discussion started by: foweja
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I have vncserver installed on Sun Solaris 8. The xstartup file looks like:
#!/bin/sh
&& xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/dt/bin/dtwm &
I have installed VNC on /usr/local/bin. When I try to... (0 Replies)
Discussion started by: naw_deepak
0 Replies
6. Solaris
Hi all,
Almost at my wit ends, trying to connect to vnc port 0 on Solaris 10.
configured Xservers with the followin:
:0 Local local_uid@none root /usr/X11/bin/Xserver :0 -rfbauth /etc/.vnc/passwd -rfbport 5900
:1 Local local_uid@none root /usr/X11/bin/Xserver :1 -rfbauth... (1 Reply)
Discussion started by: srage
1 Replies
7. Solaris
First you need to know that I'm 100% new to solaris/unix.
I'm trying to setup VNC on my sparc based server that I just installed solaris 10 on but when I type in vncserver to start it, I get "couldn't find "xauth" on your PATH"
What do I do so I can get a gui up and running remotely on my... (20 Replies)
Discussion started by: QuadRunner750
20 Replies
8. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
9. Red Hat
Hi All,
I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
10. Shell Programming and Scripting
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
LEARN ABOUT REDHAT
xvgrabport
XvGrabPort(3X) XvGrabPort(3X)
Name
XvGrabPort - lock port for exclusive use by client
Syntax
#include <X11/extensions/Xvlib.h>
XvGrabPort(dpy, port, time)
Display *dpy;
XvPortID port;
Time time;
Arguments
dpy Specifies the display screen on which the Xv Server is to accept requests from Xv clients. If the display option is not specified,
Xv uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:number.
Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.
port Defines the port to be grabbed.
time Specifies the request timestamp.
Description
XvGrabPort(3X) grabs a port. Once a client grabs a port, only that client can make video requests to that port.
If the time is before the current port time, the XvGrabPort request is ignored and XvInvalidTime is returned. If the port is already
grabbed by another client, XvAlreadyGrabbed is returned. Otherwise it returns a status of Success. The port time is updated when the fol-
lowing requests are processed: XvGrabPort(3X), XvUngrabPort(3X), XvPutVideo(3X), XvPutStill(3X), XvGetVideo(3X), XvGetStill(3X).
If the port is actively processing video for another client, the video is preempted, and an XvVideoNotify event with detail XvPreempted is
generated for its drawable.
Returned Values
[Success]
Returned if XvGrabPort(3X) completed successfully.
[XvInvalidTime]
Returned if requested time is older than the current port time.
[XvAlreadyGrabbed]
Returned if the port is already grabbed by another client.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvGrabPort(3X) failed to allocate memory to process the request.
Diagnostics
[XvBadPort] Generated if the requested port does not exist.
See Also
XvUngrabPort(3X) XvVideoNotify(3X)
XFree86 Version Version 4.3.0 XvGrabPort(3X)