(Solved) vnc4server on Ubuntu 11.10 (Oneiric Ocelot)

Im posting this because I spent a lot of time trying multiple things to get vnc4server up and going on the Ubuntu 11.1 system. Most people suggest using x11vnc, which does work out of the box but does not support multiple users.

vnc4server is great, and up and running finally!

Here are the steps:

  • Install vnc4server
    • sudo apt-get install vnc4server
  • Install gdm
    • sudo apt-get install gdm
      sudo apt-get install gnome-panel
      • When asked to choose the default session manager, choose lightdm
  • When you launch vnc4server for the first time, you will be asked to set a password and a /home/<user>/.vnc/xstartup will be created for you.
  • We need to change the contents of xstartup to get things working properly.
  • Contents should look like this:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#exec /etc/X11/xinit/xinitrc
#. /etc/X11/xinit/xinitrc
gnome-session  --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &

What’s changed and is important is this:

  • unset SESSION_MANAGER : Gets rid of any errors like “Coud not acquire name on session bus “
  • /usr/share/gnome-session/sessions will have a bunch of .session files. You may use any of these  in your xstartup file.  For example:
    • gnome-session –session=gnome-classic & gives your classic gnome
    • gnome-session –session=ubuntu-2d & gives you Unity
    • gnome-session –session=ubuntu & does not work!
    • gnome-session & will not work because the default session is “ubuntu”
Posted in linux, tips n tricks, tutorials, Ubuntu, Uncategorized | Leave a comment

Crossroads

Standing at life’s crossroads, A triad of directions to stare The right, the wrong, and the duty A dilemma of choices unfair? Paths cross, roads meet… While a dawdling thought trickles How did I land here? I wonder, I was … Continue reading

More Galleries | | 6 Comments

A Romantic Confabulation

This is what happens when two poets chat, yes this was a chat conversation between me and a friend! Im naming the characters as Christine and Raoul after “Phantom of the Opera” and saving this amazingly poetic conversation that sounds so much like its straight of the play.

Raoul: how have you been my love

Christine: very good,  and how have you been my lovely love

Raoul: i’ve been happy, but I’ve missed you sorely

Christine: why so?

Raoul: but now that you’re here, my heart is full of cheer,

and I don’t need to fear, all that’s new to me

cos you”ll be by my side, and i’ll be by yours too

one step at a time, loving naturally

Christine: Oh my darling, you’re so dear,

So far away, yet so near…

Your love to me  is crystal clear…

In a special way, my life you steer…

Raoul: i’m glad I’ve been your guide, in the special way you know..

but in guiding you i’ve fallen, for you’re loving tender glow…

I try to touch your face, when you come into my dreams,

but all I hear is your whisper, telling me you love me…

i wish you were here, oh how i madly wish you were here!

Christine: To listen to this, my ears have longed…

Your love so gentle, yet so strong…

I can hear you whisper silently,

And you visit me in most special dreams…

Your touch can spin my life around,

your voice fills my life with musical sounds..

Come to me and forever stay..

In every breath Ill sweep you away…

Raoul: swept away, im swept away,

and I cannot bear the burden no more,

i’m coming, i’m on my way and when I reach,i’ll forever stay..

and in your loving embrace , live or die, a beautiful promise of a wonderful life…

i’ll hold you close and closer still…and only my heart beating hear you will..

to tenderly reassure and keep you safe..close to me..forever, now..and forever more…

Christine: Oh my life has blossomed now..

Like roses and tulips I smile away…

As you enter my life like a shiny beam,

I pinch myself to make sure its not a dream…

Its not a dream, I say to myself…

And from today, life’s going to go so swell…

A knight has come to rescue me,

With a shining armor and a sword so keen..

As I ride along with him by me..

Into heavenly bliss I break free…

Posted in poems, poetry, rhyme-personify-alliterate, thoughts | 4 Comments

Revelation

A dream unfolds, of stories untold

Brightness, that golden luster.

For a moment I am blinded

Freezing my thoughts, calming my soul.


Slowly, gently – the luminosity unfolds

the mystic world in its nutshell,

Of a choir of golden voices,

Of webbed patterns in neon brights,

Of angels guided in musical bliss,

An epitome of synchronicity.


The brilliance spreads out in ripples

As I make my first contact

With this world I dreamed of

My mind is pure and peaceful

As I break contact from the outside

To reconnect with myself

In a sway and a trip and a twirl and a whirl

I dance my heart out

While my body and soul unite

To become what really is me.


Posted in dive in!, poems, poetry, rhyme-personify-alliterate, thoughts, writing | 6 Comments

Solitary circumstances

Solitary circumstances,

Gushing into a stream.

Sedate fading chances,

Mutations of the dream.

Sanguine once, ripe cherry red

Turning rusty and brittle..

Thickened by emotion my zestful blood

Stays still, strained into a trickle.

Countless questions ringing again

A pandemonium of sorts..

Rage, doubt, jolts and the rain

A rhapsody in parts.

Starry eyed, crystal clear,

Once inviting and enticing

Starry eyed, crystal clear,

Departing and deserting.

Posted in dive in!, poems, poetry, rhyme-personify-alliterate, thoughts, writing | 1 Comment