Give a try to below mentioned steps and tell me about your experience.
Install vnc4server by using below mentioned steps.
sudo apt-get install vnc4server
after that you have to install gdm and gnome-panel. It will install gnome-classic.sessions session file at usr/share/gnome-session/sessions/
Code:
sudo apt-get install gdm
when it prompts for default session manager you have to select lightdm
Code:
sudo apt-get install gnome-panel
when it would launch vnc4server very first time you have to set password.
Code:
/home/<user>/.vnc/xstartup
After that you have to change contents of /home/<user-name>/.vnc/xstartup file so that you can make the thing working for you.
Content should be displayed something like below
Code:
#!/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
unset SESSION_MANAGER is used to remove error something like ‘Could not acquire name on session bus
/usr/share/gnome-session/sessions would have number of .session files and you can use any of them into xstartup file
Bookmarks