<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello:</div><div><br></div><div>May I ask for help?</div><div>I'm try to use VNC viewer to Connect vncserver on Ubuntu 18.04. Following is my xstartup File, It doesnt work. </div><div>It works on Ubuntu 16.04. I don't know how to modify it.</div><div>Can you help me?</div><div>Attachment is the VNC Viewer ScreenShot.</div><div><br></div><div>Thanks</div><div>Xia Xinkai</div><div>------------------------------------------------------------------------------------------------------------</div><div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> #!/bin/sh</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"># Uncomment the following two lines for normal desktop:<br># unset SESSION_MANAGER<br># exec /etc/X11/xinit/xinitrc</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;">[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup<br>[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources<br>xsetroot -solid grey<br>vncconfig -iconic &<br>x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &<br>#x-window-manager &<br>export XKL_XMODMAP_DISABLE=1<br>unset SESSION_MANAGER<br>unset DBUS_SESSION_BUS_ADDRESS<br>gnome-panel &<br>gnmoe-settings-daemon &<br>metacity &<br>nautilus &<br>gnome-terminal &</div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div></div><br><br><span title="neteasefooter"><p> </p></span>