Results 1 to 10 of 10

Thread: 12.10 and vncserver missing menu

  1. #1
    Join Date
    Jul 2008
    Beans
    20

    12.10 and vncserver missing menu

    Hi all,

    I have been trying to get vncserver running on 12.10 using the new default desktop.

    Has anyone else managed to get this running?

    I have managed to get the desktop background to show by adding the following line to ~/.vnc/xstartup

    gnome-session --session=ubuntu &

    But nothing else appears.. no menu bar etc...

    Any help would be appreciated.

    Thanks

  2. #2
    Join Date
    Jul 2008
    Beans
    20

    Re: 12.10 and vncserver missing menu

    Quote Originally Posted by toypilot View Post
    Hi all,

    I have been trying to get vncserver running on 12.10 using the new default desktop.

    Has anyone else managed to get this running?

    I have managed to get the desktop background to show by adding the following line to ~/.vnc/xstartup

    gnome-session --session=ubuntu &

    But nothing else appears.. no menu bar etc...

    Any help would be appreciated.

    Thanks
    Bump... Does anyone know the answer to this or have any ideas to test?

  3. #3
    Join Date
    Nov 2012
    Beans
    1

    Re: 12.10 and vncserver missing menu

    Hi,
    I am having the same problem.
    I have tried --session=ubuntu, unity, ubuntu-2d, ubuntu-3d, unity-2d, unity-3d.
    None of these give me the ubuntu unity layout or there are no menu bars, etc.

    I have been using it with gnone-classic, but its not the same.
    Many of the gnome functions aren't working either.

    Anybody else ?

    Found this thread - http://kb.realvnc.com/questions/235/...r+Ubuntu+12.10

    thanks
    Last edited by austinite; November 1st, 2012 at 05:15 PM.

  4. #4
    Join Date
    Jul 2008
    Beans
    20

    Re: 12.10 and vncserver missing menu

    Well your post helped me! thanks for that.. I will try that for a while and see if it does most of what I need.

    "gnome-session --session=gnome-fallback"

    EDIT: I take it back, that doesnt work at all.. I cant explain whats happening there, but vncserver is not delivering my desktop, something else is that works intermittently. Probably a problem between the keyboard and the chair... but I have had this running a few versions of ubuntu now without these issues.


    Quote Originally Posted by austinite View Post
    Hi,
    I am having the same problem.
    I have tried --session=ubuntu, unity, ubuntu-2d, ubuntu-3d, unity-2d, unity-3d.
    None of these give me the ubuntu unity layout or there are no menu bars, etc.

    I have been using it with gnone-classic, but its not the same.
    Many of the gnome functions aren't working either.

    Anybody else ?

    Found this thread - http://kb.realvnc.com/questions/235/...r+Ubuntu+12.10

    thanks
    Last edited by toypilot; November 2nd, 2012 at 09:44 AM.

  5. #5
    Join Date
    Jul 2012
    Beans
    2

    Re: 12.10 and vncserver missing menu

    I have the same issue. I can't get the unity to work with the menubar. I do get menu bars with the following
    gnome-session --session=gnome &

    but gnome-session --session=ubuntu &
    gives me a a unity with an empty desktop

    Anyone has any answers to this problem?

  6. #6
    Join Date
    Mar 2011
    Beans
    3

    Re: 12.10 and vncserver missing menu

    So I had been having this problem since I upgraded to 12.10 from 12.04, and did something to day that finally worked.

    First I purged tightvncserver, then purged vnc4server.

    Installed tightvncserver, then vnc4server, created the below xstartup file and made it executable.

    I get errors in the logfile, however it runs the gnome-classic desktop (no others yet).

    I would be interested to see if this works for anyone else.

    Hans

    ~/.vnc/xstartup

    Code:
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    #exec /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 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #x-window-manager &

  7. #7
    Join Date
    Apr 2006
    Location
    Sweden
    Beans
    82
    Distro
    Ubuntu

    Re: 12.10 and vncserver missing menu

    Any news? I´d like to see my usual desktop an not only the background image. Using classic, would my opened application windows still show?

  8. #8
    Join Date
    Nov 2007
    Beans
    75

    Re: 12.10 and vncserver missing menu

    hmm, looks like I'm sticking with 12.4 unless someone has had any success?

  9. #9
    Join Date
    Feb 2013
    Beans
    1

    Re: 12.10 and vncserver missing menu

    I tried to implement your method in a remote host, to which my local laptop is connected by SSH. I cannot get connected with the remote host, which says

    "channel 3: open failed: administratively prohibited: open failed"

    And host log file are the following:

    Xvnc Free Edition 4.1.1 - built Feb 5 2012 20:04:02
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 40300000, The XFree86 Project, Inc


    Tue Feb 12 14:41:36 2013
    vncext: VNC extension running!
    vncext: Listening for VNC connections on port 5901
    vncext: Listening for HTTP connections on port 5801
    vncext: created VNC server for screen 0
    error opening security policy file /etc/X11/xserver/SecurityPolicy
    /home/ubuntu/.vnc/xstartup: 7: /home/ubuntu/.vnc/xstartup: gnome-session: not f$
    Could not init font path element unix/:7100, removing from list!

    Fatal server error:
    could not open default font 'fixed'
    xsetroot: unable to open display ':1'

    Could someone help?


    Quote Originally Posted by han109h View Post
    So I had been having this problem since I upgraded to 12.10 from 12.04, and did something to day that finally worked.

    First I purged tightvncserver, then purged vnc4server.

    Installed tightvncserver, then vnc4server, created the below xstartup file and made it executable.

    I get errors in the logfile, however it runs the gnome-classic desktop (no others yet).

    I would be interested to see if this works for anyone else.

    Hans

    ~/.vnc/xstartup

    Code:
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    #exec /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 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #x-window-manager &

  10. #10
    Join Date
    Feb 2013
    Beans
    1

    Re: 12.10 and vncserver missing menu

    Have managed to make the missing menu (gnome-panel) to appear by following steps:
    1. Install gnome-panel
    sudo apt-get install gnome-panel
    2. Add following line at the end in ~/.vnc/xstartup
    gnome-panel &

    That is all.
    Hope this help.
    Last edited by shaace; February 14th, 2013 at 03:34 AM.

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
  •