PDA

View Full Version : [ubuntu] 12.10 and vncserver missing menu



toypilot
October 29th, 2012, 09:23 AM
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

toypilot
October 31st, 2012, 07:32 PM
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?

austinite
November 1st, 2012, 04:46 PM
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/VNC+Server+in+Virtual+Mode+does+not+work+out-of-the-box+under+Ubuntu+12.10

thanks

toypilot
November 2nd, 2012, 07:01 AM
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.



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/VNC+Server+in+Virtual+Mode+does+not+work+out-of-the-box+under+Ubuntu+12.10

thanks

Palletje
November 6th, 2012, 10:39 PM
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?

han109h
November 13th, 2012, 01:46 AM
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


#!/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 &

Holmen
November 14th, 2012, 10:48 PM
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?

johnswb
February 9th, 2013, 04:11 AM
hmm, looks like I'm sticking with 12.4 unless someone has had any success?

wangwatercup
February 12th, 2013, 03:52 PM
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?



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


#!/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 &

shaace
February 14th, 2013, 03:29 AM
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.