Page 23 of 64 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 637

Thread: HOWTO: Set up VNC server with resumable sessions

  1. #221
    Join Date
    Nov 2006
    Location
    Edmonton, AB Canada
    Beans
    90
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    Related to my error message (VNC server failing to connect) I've located the following notice of a bug. This states that the Dapper install is fine, but the Edgy install has a problem.

    Anyone?

    https://launchpad.net/ubuntu/+source/vnc4/+bug/78282

    I found a solution to my problem....downgrade to the older version of vnc4server. One version back I am able to connect with no problems and no crashes.
    Last edited by Hubris2; January 17th, 2007 at 02:09 AM.

  2. #222
    Join Date
    Jun 2006
    Location
    California
    Beans
    280
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi

    I've been using this setup for months on edgy, but recently it just stopped working and I need help.

    This is the output I get from vncviewer, which has been working for months and now stopped on 2 systems and I can't think of any common thread. I think the error is coming from vncserver.

    $ vncviewer :1
    VNC viewer version 3.3.7 - built Jul 4 2006 10:04:48
    Copyright (C) 2002-2003 RealVNC Ltd.
    Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
    See http://www.realvnc.com for information on VNC.
    VNC server supports protocol version 3.8 (viewer 3.3)
    Password:
    ReadFromRFBServer: rdr::EndOfStream
    Edit/Delete Message
    Looks like Xvnc stopped running.

    ps -ef |grep vnc
    grahams1 7400 5040 0 09:18 pts/0 00:00:00 grep vnc

    If I start Xvnc manually I get "error opening security policy file /etc/X11/xserver/SecurityPolicy"

  3. #223
    Join Date
    Jan 2007
    Location
    Marseille, France
    Beans
    4
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi,

    I moved a little bit up.
    Now,
    Code:
     sudo Xvnc4 :2 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared -PasswordFile=/root/.vncpasswd
    works (although the server complains:
    Code:
    error opening security policy file /etc/X11/xserver/SecurityPolicy
    , and hang when I disconnect from the display.

    However, I still get that grey screen with X-like pointer when connecting to :1
    Xvnc is as follows:
    Code:
    service Xvnc
    {
            type = UNLISTED
            disable = no
            socket_type = stream
            protocol = tcp
            wait = yes
            user = root
            server = /usr/bin/Xvnc
            server_args = -inetd :1 -geometry 1024x768 -depth 16 -once -fp /usr/share/fonts/X11/misc  -DisconnectClients=0 -NeverShared -PasswordFile=/root/.vncpasswd
            port = 5901
    }
    Any help?

    François

  4. #224
    Join Date
    Jan 2007
    Beans
    5
    Distro
    Edubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    I'm still struggling with the vncserver but I was able to fix the problem related to /etc/X11/xserver/SecurityPolicy creating a software link to the new location. Once I fixed it my problem moved to start gnome within the VNC session, I wrote about it in the forum (message #1) but it looks nobody knows how to fix it...

    Quote Originally Posted by coulier View Post
    ...
    error opening security policy file /etc/X11/xserver/SecurityPolicy
    ...

  5. #225
    Join Date
    Jun 2006
    Location
    California
    Beans
    280
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: HOWTO: Set up VNC server with resumable sessions

    There is an issue with the latest vnc4server see bug https://bugs.launchpad.net/ubuntu/+s...nc4/+bug/78282

    Downgrading vnc4server cures the issue until the bug is fixed.

  6. #226
    Join Date
    Nov 2005
    Location
    127.0.0.1
    Beans
    354
    Distro
    Ubuntu Development Release

    Re: HOWTO: Set up VNC server with resumable sessions

    all i get is
    vncviewer xxx.xxx.xxx.xxx:1
    VNC viewer version 3.3.7 - built Jul 4 2006 10:04:48
    Copyright (C) 2002-2003 RealVNC Ltd.
    Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
    See http://www.realvnc.com for information on VNC.
    vncviewer: ConnectToTcpAddr: connect: Connection refused
    Unable to connect to VNC server
    i can start the xwindow by vncviewer localhost:0 no problem here....

    i am using ubuntu with uni wireless & vpn to connect to a ubuntu pc in the uni lan..

    any ideas? is the vpn causing the problem...?
    i dont know a thing about port forwarding and all....

    what is a port and how to tell it to use one?

    thanks

  7. #227
    Join Date
    Nov 2006
    Location
    Edmonton, AB Canada
    Beans
    90
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    If you can connect to port 0 on the remote box, then there isn't an issue with any of the network connectivity between you. On Ubuntu, session 0 is managed by vino (the 'remote desktop') while sessions 1 and above are typically an entirely separate VNC server, with different settings and config.

    Is there a firewall on this box? Session 0 connects on port 5900, but session 1 is on 5901.

  8. #228
    Join Date
    Dec 2006
    Location
    Ukraine, Europe
    Beans
    19

    Question Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by gregwill View Post
    Yes, you are right - downgrading vnc4server package from 6.10.1 to the previous version fixes it for me - thanks!
    please explain howto downgrade vnc4server package, yes I can remove vnc4server but how to install older verision? where I can find it?

  9. #229
    Join Date
    Nov 2006
    Location
    Edmonton, AB Canada
    Beans
    90
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    Go to system, administration, Synaptic package manager.

    Scroll down to the package for the server you installed, click it. Choose 'package' from the drop-down menu, and you have an option of 'force package'. That will give a pull-down with (in my case 2) choices....

    After you've selected the older version, you have to apply - and it will make the change.

  10. #230
    Join Date
    May 2005
    Beans
    13

    Re: HOWTO: Set up VNC server with resumable sessions

    Two things about setting up your VNC like described here:

    1. You have to run your Display Manager (most likely gdm) or otherwise you will end up with the default X11 checker board background and nothing else. Run your Display Manager even if you aren't interested in loging into X11 at the system locally. There are ways to disable the local VGA-Display-Output and safe some memory but this is not the time and place to go into details.

    2. I had to "chmod 755 /etc/X11/xinit/xinitrc" or otherwise my Xvnc only came up when called from commandline but not from inetd/xinetd. But after chmoding vnc4 also runs with the most recent vnc4server-packet.

Page 23 of 64 FirstFirst ... 13212223242533 ... 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
  •