| 441 | |
| 442 | = X11 with VNC = |
| 443 | * [http://box.matto.nl/lxcxserver.html Set up a LXC Linux Container as Xserver howto | box.matto.nl] |
| 444 | * [http://unix.stackexchange.com/questions/18003/linux-lxc-deploying-images-with-tiniest-possible-x11 xorg - Linux - LXC; deploying images with tiniest possible X11 - Unix and Linux] |
| 445 | |
| 446 | * 12.04上のLXCでは、configのcgroupの設定やmknodなどは特に必要ない模様 |
| 447 | * vnc自体については => [../../network/vnc#vncserver] |
| 448 | |
| 449 | * 基本的に{{aptitude install -R}}でインストールしている |
| 450 | * エラーメッセージについては ~/.vnc/ 以下に保存されるログファイルから |
| 451 | |
| 452 | == common packages == |
| 453 | * vnc4server |
| 454 | * xfonts-base |
| 455 | {{{ |
| 456 | could not open default font 'fixed' |
| 457 | }}} |
| 458 | |
| 459 | == GNOME == |
| 460 | * gnome |
| 461 | * unity-2d |
| 462 | {{{ |
| 463 | gnome-session[5129]: WARNING: GSIdleMonitor: IDLETIME counter not found |
| 464 | gnome-session[5129]: WARNING: Session 'ubuntu' runnable check failed: Exited with code 1 |
| 465 | gnome-session[5129]: WARNING: Unable to find default provider 'unity-2d-panel' of required provider 'panel' |
| 466 | gnome-session[5129]: WARNING: Unable to find default provider 'unity-2d-shell' of required provider 'shell' |
| 467 | }}} |
| 468 | * [https://forums.ubuntulinux.jp/viewtopic.php?id=12231 Ubuntu日本語フォーラム / 11.10でUnityを削除してみたら起動しなくなってしまいました] |
| 469 | |
| 470 | * ~/.vnc/xstartup |
| 471 | {{{#!sh |
| 472 | xsetroot -solid grey |
| 473 | exec gnome-session & |
| 474 | }}} |
| 475 | |
| 476 | == Xfce == |
| 477 | * xfce4 |
| 478 | |
| 479 | * ~/.vnc/xstartup |
| 480 | {{{#!sh |
| 481 | xsetroot -solid grey |
| 482 | exec startxfce4 & |
| 483 | }}} |
| 484 | * もしくは |
| 485 | {{{#!sh |
| 486 | xsetroot -solid grey |
| 487 | exec xfce4-session & |
| 488 | }}} |
| 489 | * 後者だとTrashディレクトリなどがFile Managerに表示されない |
| 490 | |
| 491 | == LXDE == |
| 492 | * lxde |
| 493 | |
| 494 | * ~/.vnc/xstartup |
| 495 | {{{#!sh |
| 496 | xsetroot -solid grey |
| 497 | exec lxsession -s LXDE & |
| 498 | }}} |
| 499 | * -s LXDEは無くても良い模様 |