Thanks mssm, unfortunately, I have an amd64 system, and I'm running Dapper, and the repositories don't exist yet for me.
Thanks mssm, unfortunately, I have an amd64 system, and I'm running Dapper, and the repositories don't exist yet for me.
Tichondrius,
Any insight as to why:
# sudo /usr/bin/Xvnc :2 -query localhost -geometry 1280x1024 -depth 16 -once -fp /usr/share/X11/fonts/misc -dontdisconnect -nevershared -rfbauth /root/.vncpasswd
yields:
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
MAXSOCKS=1000
Segmentation fault
Again, I'm on amd64 using tightvncserver and xinetd.
Thanks.
Where Would I be able to add the IdelTimeout.
Right after the end of /etc/xvnc?
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc
server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 24 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
port = 5901
==> idletimeout -300
}
Or where?
:h34r: Jaygo333 :h34r:
nevermind, I got it figured out
Last edited by Eternal Blade; February 15th, 2006 at 06:45 PM.
Hi, All...
I'm a new kubuntu user, and I'm very interested in this thread. I'm a little baffled though by the fact that I have KDE rather than Gnome, and I don't know what to do with the initial part concerning settings for XDMCP??
Would someone please give me some suggestions??
Thanks...
Originally Posted by Jaygo333
look at the HOWTO again:
You have to add it on the "server_args = ...." line:An idle VNC client will be disconnected after one hour, but this can be changed by using the "-IdleTimeout" option in the server_args line in /etc/xinetd.d/Xvnc. For example, you can add "-IdleTimeout 300" to change it to 5 minutes.
Code:server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 24 -once -IdleTimeout 300 -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
Last edited by Tichondrius; February 15th, 2006 at 10:46 PM.
How would I go about adding the ability to connect to my server through a web based java client?
You might try something like SSL Explorer.
However, this thread related mainly to connecting securely to your computer using VNC.
that's what I meant, Vnc's java applet embedded in a webpage.
thanks Tichondrius for the great info. All is working for me as you lay it out. However, I'm trying to get vnc4config to work and have met with failure thus far.
If I have the working INETD model on the go, and try:
I get the error:Code:~$ sudo vnc4config -display 0 -connect myhost:myport
and if I useCode:vnc4config: unable to open display "0"
I get:Code:~$ sudo vnc4config -display :0 -connect myhost:myport
Code:No VNC extension on display :0
(the same error is observed if I try -display 1 or variations such as -display localhost:0 or -display localhost:1 etc...)
So I tried starting the Xvnc manually with the one liner starting with:
which starts the Xvnc server nicely with the following:Code:~$ sudo Xvnc :2 -query localhost -geometry .....
so I try from another terminal:Code:Xvnc version 4.0 - built Apr 19 2005 04:26:49 Underlying X server release 40200000, The XFree86 Project, Inc Sat Feb 18 22:58:07 2006 vncext: VNC extension running! vncext: Listening for VNC connections on port 5902 vncext: created VNC server for screen 0
which yeilds:Code:~$ sudo vnc4config -display :2 -connect myhost:myport
and in the terminal runing the Xvnc, this audit appears:Code:Xlib: connection to ":2.0" refused by server Xlib: No protocol specified vnc4config: unable to open display ":2"
The pc at MYHOST is running a listening VNC viewer which I can connect to with a WinVNC 'add new client' option. From my reading I thought vncconfig would start Xvnc if the -connect option was given which does not seem to be the case, but if there is a manually started Xvnc running, there does seem to be some interactivity between vncconfig and the Xvnc server.Code:AUDIT: Sat Feb 18 23:00:38 2006: 22313 Xvnc: client 5 rejected from local host
As you obviously know your stuff, any chance you could tell me if you can get vnc4config to initiate a connection to a remote server running a listening vnc viewer?
mb.
( Ubuntu 5.10 on a Dell Optiplex GX150 [I'm extending the life of some older pcs] )
Last edited by mbeach; February 19th, 2006 at 04:16 AM.
Bookmarks