2016年1月27日水曜日

IT とかその他もろもろ: Ubuntu 12.04 Server で Vnc4Server で LXDE

IT とかその他もろもろ: Ubuntu 12.04 Server で Vnc4Server で LXDE:

"xstartup ファイルを編集
$ pwd
/home/user/.vnc

$ diff -U -1 xstartup.Bup2013-0829-1433 xstartup
--- xstartup.Bup2013-0829-1433 2013-08-29 14:01:41.426354417 +0900
+++ xstartup 2013-08-29 15:54:18.818262591 +0900
@@ -1,12 +1,13 @@
#!/bin/sh

# Uncomment the following two lines for normal desktop:
-# unset SESSION_MANAGER
+unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

+/usr/bin/ibus-daemon -d
+/usr/bin/lxsession &
+
[ -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 &
vncserver を起動
$ vncserver :1 -geometry 1366x768"



'via Blog this'

0 件のコメント:

GoogleAD