Ubuntu 14.04 VNC Use Gnome

Source: Internet
Author: User

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 the 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 (16BPP) Little-endian rgb565
Vncsconnst:client pixel format Depth (16BPP) Little-endian rgb565

Final Solution

Export xkl_xmodmap_disable=1
Unset Session_manager
Unset dbus_session_bus_address

Gnome-panel &
Gnome-settings-daemon &
Metacity &
Nautilus &
Gnome-terminal &

Full XSTARTP script Content

#!/bin/sh# uncomment the following and 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=1unset SESSION_ Managerunset dbus_session_bus_addressgnome-panel &gnome-settings-daemon &metacity &nautilus & Gnome-terminal &[-x/etc/vnc/xstartup] && exec/etc/vnc/xstartup[-R $HOME/. Xresources] && Xrdb $HOME/. Xresourcesxsetroot-solid greyvncconfig-iconic &x-terminal-emulator-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop "&gnome-session &
View Code

Ubuntu 14.04 VNC Use Gnome

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.