ubuntu 14.04 vnc use gnome
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了ubuntu 14.04 vnc use gnome,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2977字,纯文字阅读大概需要5分钟。
内容图文
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 &
完整的xstartp脚本内容
![技术分享](/upload/getfiles/default/2022/11/15/20221115044444473.jpg)
![技术分享](http://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
#unset SESSION_MANAGER
#unset DBUS_SESSION_BUS_ADDRESS
#startxfce4 &
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
[ -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" &
gnome-session &
原文:http://www.cnblogs.com/ruiy/p/4343055.html
内容总结
以上是互联网集市为您收集整理的ubuntu 14.04 vnc use gnome全部内容,希望文章能够帮你解决ubuntu 14.04 vnc use gnome所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。