5 Comments

  1. webwolf
    Posted October 22, 2008 at 4:51 am | Permalink

    Hi, Got this from Ubuntu Launchpad, ( Sorry dont recall the url ).
    I can confirm it fixes the “Gnome Theme Setting manager” crashing when the Gnome session starts, tested on Ubuntu 8.04, using vnc4server ( latest version on the repodepo as @ 18/10/2008 ).

    “I can confirm the problem being reported for VNC. The solution is this:

    In your ~/.vnc/xstartup file put the following:
    #!/bin/sh
    vncconfig -iconic &
    eval `dbus-launch –sh-syntax –exit-with-session`
    gnome-session &

    Then chmod 744 xstartup, and your problem should be fixed. Again, this only applies to the VNC issue.”

    Worked a treat for me. :)
    Ive had hell trying to get this VNC server working in my virtual machine ( after I setup years ago on my headless server )

    *good tip, log all your actions that work for you and write up a how to guide ;) itl save your bacon, and maybe a few others will benefit too*

  2. nahum
    Posted October 22, 2008 at 7:56 am | Permalink

    Cool, thanks for that, Certainly much easier than the solution I ended up following through with.

    I couldn’t agree more with you about taking notes when installing or setting something up. I often hit up howtoforge.com which has some really good guides, but I’ve never followed one exactly so have had to cut and paste their guides into my own notes…

  3. nahum
    Posted October 22, 2008 at 9:28 am | Permalink

    I did a quick search and found the post that WebWolf mentioned above.

    Post url = https://launchpad.net/ubuntu/+source/control-center/+bug/61381/comments/63
    Thread url = https://launchpad.net/ubuntu/+source/control-center/+bug/61381

  4. webwolf
    Posted October 23, 2008 at 1:41 am | Permalink

    Slight update, for anyone that’s unable to get vnc4server working with anything other than an x-session ( grey screen with a black x cursor ).

    All the guides Ive seen seem to bring in the workaround of backpedalling to use vncserver ( example, the xstartup file mentioned above, is only read by vncserver not vnc4server *vncserver is included with vnc4server for backward compatability* )

    This is a known bug in the latest version of vnc4server.
    Workaround:

    **Follow the guides for setting up vnc4server but instead of using the new vnc4server just use the old gutsy version ( may not have the latest security updates, but it works perfectly and loads your default x-session first time )**

    edit your repodepo sources list:

    gksudo gedit /etc/apt/sources.list

    :to include:
    deb http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted
    deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
    deb http://gb.archive.ubuntu.com/ubuntu/ gutsy universe
    deb http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse

    :just paste them in at the top of the file.
    now update your repodepo:

    sudo apt-get update

    :and downgrade / install the gutsy version of vnc4server:

    sudo apt-get install vnc4server/gutsy

    :the repos dont stay in ubuntu’s archive for ever, you may find a few posts stating you should use the edgy version, edgy has been removed from archive, but I can confirm that the gutsy version works as @ 22/10/2008.

    The bug may have been resolved in the latest 8.10 version of ubuntu too, I havent tried yet. also if you would like to try different down/up grades, just swap out “gutsy” with the version you would like to test ( Ensure the version of ubuntu archives you would to test is listed here:

    http://gb.archive.ubuntu.com/ubuntu/dists/

    :happy hunting:

  5. Posted January 31, 2010 at 6:44 am | Permalink

    Thanks for documenting this. It worked perfectly for me.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
  •  

  • About Nahum Wild

    I'm a High Performance Website Consultant specialising in Ruby on Rails deployments. In this blog I cover common problems I've seen and provide insight on optimisation techniques.

  • Recommend Me

    Follow me on Twitter