ubuntu 14.04 vnc use gnome(ubuntu14.04 gnome for vnc4server)

New 'jenkinsmaster.cc:3 (root)' desktop is jenkinsmaster.cc:3

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/jenkinsmaster.cc:3.log

cat jenkinsmaster.cc\:1.log

Xvnc Free Edition 4.1.1 - built Nov 18 2014 16:07:18
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Mon Mar 16 21:57:03 2015
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
x-terminal-emulator: Unknown option 'ls'.
x-terminal-emulator: Use --help to get a list of available command line options.
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256

** (process:2944): WARNING **: software acceleration check failed: Child process exited with code 1

** (gnome-session:2944): CRITICAL **: We failed, but the fail whale is dead. Sorry....

Mon Mar 16 21:57:32 2015
Connections: accepted: 0.0.0.0::5644
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)

Mon Mar 16 21:57:35 2015
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565

最终解决方案

 

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

 
如何设置快捷键?
 
一、打开Keyboard Shortcuts
System>Preferences>Keyboard Shortcuts

你可能感兴趣的:(ubuntu)