How to config vnc4server on Ubuntu 18.04?

夏新凯 xiaxinkaicn at 163.com
Wed Sep 12 15:03:34 UTC 2018


Hello:


May I ask for help?
I'm try to use VNC viewer to Connect vncserver on Ubuntu 18.04. Following is my xstartup File, It doesnt work. 
It works on Ubuntu 16.04. I don't know how to modify it.
Can you help me?
Attachment is the VNC Viewer ScreenShot.


Thanks
Xia Xinkai
------------------------------------------------------------------------------------------------------------
 #!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -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 &
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
gnome-panel &
gnmoe-settings-daemon &
metacity &
nautilus &
gnome-terminal &

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20180912/45f77943/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vnc4server.jpg
Type: image/jpeg
Size: 100028 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20180912/45f77943/attachment.jpg>


More information about the Ubuntu-devel-discuss mailing list