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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值