[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-devel-discuss
Subject:    How to config vnc4server on Ubuntu 18.04?
From:       <xiaxinkaicn () 163 ! com>
Date:       2018-09-12 15:03:34
Message-ID: 1d611755.16ce3.165ce4f15f5.Coremail.xiaxinkaicn () 163 ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

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 &


[Attachment #5 (text/html)]

<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.&nbsp;</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;">&nbsp;#!/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 ] &amp;&amp; exec /etc/vnc/xstartup<br>[ -r $HOME/.Xresources ] \
&amp;&amp; xrdb $HOME/.Xresources<br>xsetroot -solid grey<br>vncconfig -iconic \
&amp;<br>x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" \
&amp;<br>#x-window-manager &amp;<br>export XKL_XMODMAP_DISABLE=1<br>unset \
SESSION_MANAGER<br>unset DBUS_SESSION_BUS_ADDRESS<br>gnome-panel \
&amp;<br>gnmoe-settings-daemon &amp;<br>metacity &amp;<br>nautilus \
&amp;<br>gnome-terminal \
&amp;</div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div></div><br><br><span \
title="neteasefooter"><p>&nbsp;</p></span>


["vnc4server.jpg" (image/jpeg)]
[Attachment #7 (text/plain)]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic