Page 59 of 64 FirstFirst ... 9495758596061 ... LastLast
Results 581 to 590 of 637

Thread: HOWTO: Set up VNC server with resumable sessions

  1. #581
    Join Date
    May 2009
    Beans
    2

    Re: HOWTO: Set up VNC server with resumable sessions

    i don't know if it will help any1--i got it working in 8.04.2 ubuntu with latest updates.

    install vnc4server
    make .vnc/xstartup file as
    ---
    unset SESSION_MANAGER
    exec sh /etc/X11/xinit/xinitrc
    ---
    note the additional 'sh' above
    ------
    run this
    sudo mkdir /usr/X11R6/lib/X11
    sudo mkdir /usr/X11R6/lib/X11/lib
    sudo ln -s /usr/share/fonts/X11 /usr/X11R6/lib/X11/fonts
    -----
    u are done !!
    set vncpasswd first and u r done !!

  2. #582
    Join Date
    Sep 2008
    Beans
    28

    Re: HOWTO: Set up VNC server with resumable sessions

    Does anybody know how to add vnc-java for resumable sessions?

  3. #583
    Join Date
    May 2005
    Beans
    35

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by mikhmv View Post
    Does anybody know how to add vnc-java for resumable sessions?
    Are you talking a bout using a java client? Should be the same process. Let me explain. "Resumability" of a session is a property you set on the vnc server (parameter passed to Xvnc on the server side). It should be resumable based on this property no matter which client you use. So, whatever page you found for setting up vnc java applet and follow this thread to set up resumable session and it should work. This is how I am set up.

    Let me know if you are running into issues.

  4. #584
    Join Date
    Sep 2008
    Beans
    28

    Re: HOWTO: Set up VNC server with resumable sessions

    CU_:
    No, I meant of equivalent of using next line:
    vnc4server :5 -httpport 6505 -httpd /usr/share/vnc-java
    this command create listener for http request on port 6505. It is allow to connect to server by command http://xx.xx.xx.xx:6505
    vnc-java client will be downloaded automatically and client will connect to port 5905.

    I tried to use this code for xinetd:
    Code:
    service Xvnc
    {
            type = UNLISTED
            disable = no
            socket_type = stream
            protocol = tcp
            wait = yes
            user = root
            server = /usr/bin/Xvnc
            server_args = -inetd :5 -httpport 6505 -httpd /usr/share/vnc-java -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vnc/passwd -extension XFIXES
            port = 6505
    }
    But it don't work.

  5. #585
    Join Date
    Sep 2008
    Beans
    28

    VNC server for xfce4

    Just for info. How to install it on ubuntu server without any X.
    All operation was made under root account. If you are using another account you should modify
    passwordFile=/your_user_name/.vnc/passwd

    Code:
    apt-get install screen xfce4  mousepad thunar-archive-plugin vnc4server vnc-java xserver-xorg-core xdm xinetd 
    
    vnc4server :55
    inter password for vnc
    vnc4server -kill :55
    ------------------------------------------

    edit xdm parameters:
    ---------------------------------------------------------------------
    xdm

    These changes are only required, if your display manager is XDM. If you use GDM or KDM, see the next sections.

    Open /etc/X11/xdm/xdm-config with your favorite editor.

    Look at the last line : "DisplayManager.requestPort: 0"

    Comment it out by inserting a ! at the beginning of the line. File: /etc/X11/xdm/xdm-config

    !DisplayManager.requestPort: 0

    Edit /etc/X11/xdm/Xaccess and uncomment the line " '* #any host can get a login window" by removing the single quote. You could also change it to 192.168.0.* for some security
    (from: http://en.gentoo-wiki.com/wiki/XVNC_Server#xdm )
    --------------------------------------------------------------------

    edit services for xinetd:

    nano /etc/xinetd.d/Xvnc

    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/fonts/X11/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vnc/passwd -extension XFIXES
            port = 5901
    }
    Last edited by mikhmv; July 14th, 2009 at 12:23 AM.

  6. #586
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    I switched to NoMachine NX.

    Install SSH, NX client, NX node and NX server on the Ubuntu box you want to remote into and install NX client on the other PCs.

    I have NX client intalled on XP, Vista and Ubuntu Jaunty desktop. They can all remote to the Ubuntu box running NX server flawlessly.

    It's faster than VNC and is more secure because it uses SSH to authenticate users.

    NX is free, it works out of the box with the default configuration and you also have the ability to resume sessions with NX.
    Last edited by chelrob; July 14th, 2009 at 09:55 PM.

  7. #587
    Join Date
    Aug 2007
    Beans
    109

    Re: HOWTO: Set up VNC server with resumable sessions


  8. #588
    Join Date
    Jan 2008
    Location
    London
    Beans
    115

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi, my problem is that the host machine has got me logged in, so when I try to connect it shows a message asking for permission.

    Any solution?

    Thanks,

    Chris

  9. #589
    Join Date
    Aug 2009
    Beans
    1

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi,
    Has anyone managed to get this working in 9.04 jaunty?

    I followed the guide which worked for me on previous versions, but I cant get it to run any longer, I cant connect at all.

  10. #590
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by puzzler View Post
    Hi,
    Has anyone managed to get this working in 9.04 jaunty?

    I followed the guide which worked for me on previous versions, but I cant get it to run any longer, I cant connect at all.
    The default tools that have come with Ubuntu since Feisty have allowed you to configure resumable remote desktop sessions simply by going to system > preference > remote desktop. That's why this tutorial is in the "Outdated tutorials and tips" section.

    Have you tried to configure remote desktop via this method and failed?
    Last edited by dmizer; August 3rd, 2009 at 05:06 AM.

Page 59 of 64 FirstFirst ... 9495758596061 ... 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
  •