Page 4 of 64 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 637

Thread: HOWTO: Set up VNC server with resumable sessions

  1. #31
    Join Date
    Dec 2005
    Beans
    113

    Re: HOWTO: Set up VNC server with resumable sessions

    Thanks mssm, unfortunately, I have an amd64 system, and I'm running Dapper, and the repositories don't exist yet for me.

  2. #32
    Join Date
    Dec 2005
    Beans
    113

    Re: HOWTO: Set up VNC server with resumable sessions

    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.

  3. #33
    Join Date
    Dec 2005
    Beans
    156
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    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:
    Microsoft is NOT the Answer, Microsoft is the Question, the Answer is NO.!

  4. #34
    Join Date
    Feb 2006
    Beans
    8

    Re: HOWTO: Set up VNC server with resumable sessions

    nevermind, I got it figured out
    Last edited by Eternal Blade; February 15th, 2006 at 06:45 PM.

  5. #35
    Join Date
    Jan 2006
    Beans
    70

    Re: HOWTO: Set up VNC server with resumable sessions

    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...

  6. #36
    Join Date
    Jan 2005
    Beans
    199

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by Jaygo333
    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:

    look at the HOWTO again:

    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.
    You have to add it on the "server_args = ...." line:

    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.

  7. #37
    Join Date
    Oct 2005
    Beans
    11

    Re: HOWTO: Set up VNC server with resumable sessions

    How would I go about adding the ability to connect to my server through a web based java client?

  8. #38
    Join Date
    Dec 2005
    Beans
    113

    Re: HOWTO: Set up VNC server with resumable sessions

    You might try something like SSL Explorer.

    However, this thread related mainly to connecting securely to your computer using VNC.

  9. #39
    Join Date
    Oct 2005
    Beans
    11

    Re: HOWTO: Set up VNC server with resumable sessions

    that's what I meant, Vnc's java applet embedded in a webpage.

  10. #40
    Join Date
    Apr 2005
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: HOWTO: Set up VNC server with resumable sessions

    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:
    Code:
    ~$ sudo vnc4config -display 0 -connect myhost:myport
    I get the error:
    Code:
    vnc4config: unable to open display "0"
    and if I use
    Code:
    ~$ sudo vnc4config -display :0 -connect myhost:myport
    I get:
    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:
    Code:
    ~$ sudo Xvnc :2 -query localhost -geometry .....
    which starts the Xvnc server nicely with the following:

    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
    so I try from another terminal:
    Code:
    ~$ sudo vnc4config -display :2 -connect myhost:myport
    which yeilds:

    Code:
    Xlib: connection to ":2.0" refused by server
    Xlib: No protocol specified
    vnc4config: unable to open display ":2"
    and in the terminal runing the Xvnc, this audit appears:
    Code:
    AUDIT: Sat Feb 18 23:00:38 2006: 22313 Xvnc: client 5 rejected from local host
    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.

    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.

Page 4 of 64 FirstFirst ... 234561454 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •