Results 1 to 2 of 2

Thread: HOW TO: VNC and fluxbox

  1. #1
    Join Date
    Nov 2005
    Location
    N. Ireland
    Beans
    209
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    HOW TO: VNC and fluxbox

    Hi all, this is amy first HOW TO so any tips/changes are welcomed

    I decided to install fluxbox a few weeks ago and found that connecting to my laptop from my desktop through me into the gnome desktop rather than the fluxbox desktop, after some tinkering i managed to get it jumping to the fluxbox logon but the wrong session. if this is happening to you heres how to fix it.

    Theres a version of VNC called x11vnc which is used to view the default session over VNC [exactly what we want]

    to set it up
    install the x11vnc server
    Code:
    sudo apt-get install x11vnc
    Set the password file
    Code:
    x11vnc -storepasswd password /path/to/passfile
    
    ie:
    x11vnc -storepasswd letmein /~/.pass
    Start the server
    Code:
    x11vnc -rfbauth /home/nino/pass
    theres the usual run of options that you get with a VNc server and a faq here:

    http://www.karlrunge.com/x11vnc/#faq

    Cheers

    Nino
    1. A computer is a machine for rearranging bits
    2. The Internet is a machine for moving bits from one place to another very cheaply and quickly

  2. #2
    Join Date
    Jan 2008
    Beans
    6

    Re: HOW TO: VNC and fluxbox

    Thanks dude! Great post.

    For anyone who'd like it to start up automatically, here's what I did:

    Edit the ~/.fluxbox/startup file, and make an entry before the "exec fluxbox" line.

    Code:
    x11vnc -rfbauth /home/myusername/.vncpass &
    
    # And last but not least we start fluxbox.
    # Because it is the last app you have to run it with ''exec'' before it.
    
    exec fluxbox
    Reboot, that ought to do it!

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
  •