Results 1 to 4 of 4

Thread: Multisession remote desktop (TightVNC) on ubuntu 9.04 Jaunty Jackalope

  1. #1
    Join Date
    Mar 2006
    Beans
    3

    Multisession remote desktop (TightVNC) on ubuntu 9.04 Jaunty Jackalope

    I found a working solution (this works 100 % on fresh instalation):

    Ubuntu menu:
    "System" -> "Administration" -> "Login window"
    On "Remote" tab:
    - choose: "Same as local"
    - button: "Configure XDMCP" and uncheck "honor indirect request"


    1.) install xinetd, tight vncserver & viewer:

    Code:
    sudo apt-get update
    
    sudo apt-get install xinetd
    
    sudo apt-get install tightvncserver
    
    sudo apt-get install xtightvncviewer
    ------------------

    2.) Start vncserver and enter vnc password:

    Code:
    sudo vncserver :1
    ------------------

    3.) Stop vncserver:

    Code:
    sudo vncserver -kill :1
    ------------------

    4.) Open GDM.conf in editor:

    Code:
    sudo gedit /etc/gdm/gdm.conf
    ...make sure these two lines in [XDMCP] section are uncommented and looks like this:


    Code:
    [XDMCP]
    
    
    Enabled=true
    
    
    Port=177
    -------------------


    5.) Open "/etc/services" in editor:


    Code:
    sudo gedit /etc/services

    To add vnc to services list, add this line at the end of file:


    Code:
    vnc		5901/tcp			# Xvnc

    -------------------


    6.) To add vnc service to xinetd:


    Code:
    sudo gedit /etc/xinetd.d/vnc

    ...Add following lines:


    Code:
    # description: The vnc server provides remote desktop connections
    
    #
    
    service vnc
    
    {
    
    	disable = no
    
    	socket_type = stream
    
    	protocol = tcp
    
    	wait = no
    
    	user = nobody
    
    	server = /usr/bin/Xvnc
    
    	server_args = :1 -inetd -once -query localhost -depth 24 -geometry 1024x768 -ac
    
    }

    -------------------


    7.) Reboot server:

    Code:
    sudo reboot

    -------------------

    At last! Remote desktop works! Try login from other computer with any VNC client (I'm using RealVNC VNC viewer free edition on MS Windows Vista) and you'l get GDM login screen. For example, if your ubuntu server is at 192.168.0.8 enter this into vnc viewer: 192.168.0.8:5901
    Last edited by BioComputing; November 2nd, 2009 at 11:35 PM.

  2. #2
    Join Date
    Jun 2009
    Beans
    1
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Talking Re: Multisession remote desktop (TightVNC) on ubuntu 9.04 Jaunty Jackalope

    Thanks this works perfectly!

  3. #3
    Join Date
    Aug 2009
    Beans
    1

    Re: Multisession remote desktop (TightVNC) on ubuntu 9.04 Jaunty Jackalope

    It is good!

    But,the audio for multisession is still a problem.

    There is no remote sound.

    Any idea?
    Last edited by minhu314; August 24th, 2009 at 08:27 AM.

  4. #4
    Join Date
    Oct 2009
    Beans
    2

    Re: Multisession remote desktop (TightVNC) on ubuntu 9.04 Jaunty Jackalope

    Sorry I take the error , $cat ~/.vnc/*log:


    Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
    05/10/09 09:51:37 Xvnc version TightVNC-1.3.9
    05/10/09 09:51:37 Copyright (C) 2000-2007 TightVNC Group
    05/10/09 09:51:37 Copyright (C) 1999 AT&T Laboratories Cambridge
    05/10/09 09:51:37 All Rights Reserved.
    05/10/09 09:51:37 See http://www.tightvnc.com/ for information on TightVNC
    05/10/09 09:51:37 Desktop name 'X' (desarrollo:1)
    05/10/09 09:51:37 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
    05/10/09 09:51:37 Listening for VNC connections on TCP port 5901
    xrdb: No such file or directory
    xrdb: can't open file '/root/.Xresources'
    xsetroot: unknown color "grey"

    X: warning; process set to priority -1 instead of requested priority 0

    Fatal server error:
    Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.


    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.

    ddxSigGiveUp: Closing log


    * And in the remote client the vnc appears in grey.

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
  •