Page 49 of 64 FirstFirst ... 39474849505159 ... LastLast
Results 481 to 490 of 637

Thread: HOWTO: Set up VNC server with resumable sessions

  1. #481
    Join Date
    Jun 2007
    Beans
    39
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by mikeduffy13 View Post
    are you behind a firewall? do you have the right port specified?

    usually socket errors occur when ports don't match up or are being blocked.
    both computers are behind the same router, so the firewall settings shouldn't matter right?

    my Xvnc conf is this,
    Code:
    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 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
            port = 5901
    
    }
    whether I connect by using :1 or :5901, I get the same socket error.

  2. #482
    Join Date
    Sep 2007
    Location
    North Ft. Myers, FL USA
    Beans
    477
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Set up VNC server with resumable sessions

    Should be ip address:1. example 192.168.1.9:1

  3. #483
    Join Date
    May 2005
    Beans
    75
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by dansued View Post
    both computers are behind the same router, so the firewall settings shouldn't matter right?

    my Xvnc conf is this,
    Code:
    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 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
            port = 5901
    
    }
    whether I connect by using :1 or :5901, I get the same socket error.
    Check your fonts path. Unless you're using an old, old version of Ubuntu, it needs fixing. I also don't see the XFIXES statement... See http://ubuntuforums.org/showpost.php...&postcount=458

  4. #484
    Join Date
    Jun 2007
    Beans
    39
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by popie View Post
    Check your fonts path. Unless you're using an old, old version of Ubuntu, it needs fixing. I also don't see the XFIXES statement... See http://ubuntuforums.org/showpost.php...&postcount=458
    am I able to make these changes in the console? I only have ssh access to this box.

    Make these changes while logged into gnome:

    • Go to System -> Administration -> Login Window (General tab) and uncheck "Disable multiple logins for a single user."
    • Now go to the Remote tab. Change Style: to "Same as Local"
    • Still on the Remote tab, click "Configure XDMCP," then uncheck "Honor indirect requests."

  5. #485
    Join Date
    May 2005
    Beans
    75
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by dansued View Post
    am I able to make these changes in the console? I only have ssh access to this box.

    I don't know of a way to make the gnome changes at the console, so that could be a problem. But I'm not a super expert at this. I have always had access to make the gnome changes.

    You can make changes to the Xvnc file at the command line.

  6. #486
    Join Date
    Mar 2008
    Location
    Watford, UK
    Beans
    255
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi, Lovely HOWTO thanks...got it working...mostly.

    I seem to run into a similar problem quite often.

    I logged in yesterday (over the internet) and got the gdm login screen, logged in, great! full control on display:1. I could log out (using the button for logging out inthe remote window) and log back in later. or I could lock the screen and close the vncviewer.

    But sometimes (well quite often) something seems to get upset and I can't get the viewer to open up again. I try the viewer, get prompted for a vnc password, but then get an error:

    The connection closed unexpectedly.

    And nothing I do now seems to let me get back...

    So I tried the following:

    Code:
    jonrserv@jcrserver2:~$ vnc4server :1
    A VNC server is already running as :1
    jonrserv@jcrserver2:~$ sudo /etc/init.d/xinetd stop
    [sudo] password for jonrserv:
     * Stopping internet superserver xinetd                                                      [ OK ]
    jonrserv@jcrserver2:~$ sudo killall Xvnc
    Xvnc: no process killed
    jonrserv@jcrserver2:~$ sudo /etc/init.d/xinetd start
     * Starting internet superserver xinetd                                                      [ OK ]
    thinking, this would kill the vnc session, starting afresh and I could log in...but it makes no difference. The only way I have solved this is by rebooting my server, but obviously this is not a nice option.

    Question is basically, why is it doing it and how do I rectify it when it happens? How do I kill it off so its like the first time I am trying to log in?

    Hope you can help!
    Cheers,

    Jon Reynolds (j0nr)

  7. #487
    Join Date
    May 2007
    Beans
    98

    Re: HOWTO: Set up VNC server with resumable sessions

    Hello, after following the instructions to get vnc going in the beginning of this post, I was able to get it going....at least, mostly.

    When i log in, all i see is a background of black and white tiny criss cross lines. I can't right click the desktop, and there is no taskbar or Apps menu of any sort.

    What am I missing here?

    -Thanks
    -Steve

  8. #488
    Join Date
    May 2005
    Beans
    75
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by xmrkite View Post
    Hello, after following the instructions to get vnc going in the beginning of this post, I was able to get it going....at least, mostly.

    When i log in, all i see is a background of black and white tiny criss cross lines. I can't right click the desktop, and there is no taskbar or Apps menu of any sort.

    What am I missing here?

    -Thanks
    -Steve

    This is a common problem, but it usually is because part of the install process wasn't done properly. Please review the following post and make sure you've done everything in it exactly as described.

    http://ubuntuforums.org/showpost.php...&postcount=458

  9. #489
    Join Date
    May 2007
    Beans
    98

    Re: HOWTO: Set up VNC server with resumable sessions

    Hello, i did exactly as instructed in your post, then rebooted, but it's still exactly the same. What else could it be?

    -Thanks for any assistance
    -Steve

  10. #490
    Join Date
    May 2007
    Beans
    98

    Re: HOWTO: Set up VNC server with resumable sessions

    Also, i'm using xubuntu 8.04

    -Thanks again

Page 49 of 64 FirstFirst ... 39474849505159 ... 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
  •