Results 1 to 4 of 4

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

  1. #1
    Join Date
    Mar 2006

    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:

    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:

    sudo vncserver :1

    3.) Stop vncserver:

    sudo vncserver -kill :1

    4.) Open GDM.conf in editor:

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


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

    sudo gedit /etc/services

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

    vnc		5901/tcp			# Xvnc


    6.) To add vnc service to xinetd:

    sudo gedit /etc/xinetd.d/vnc

    ...Add following lines:

    # 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:

    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 enter this into vnc viewer:
    Last edited by BioComputing; November 2nd, 2009 at 11:35 PM.

  2. #2
    Join Date
    Jun 2009
    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

    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

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

    ddxSigGiveUp: Closing log

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


Posting Permissions

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