ubuntu16.04 安装 vnc server 及eclipse配置
|
Ubuntu 16.04 VNC Server 配置 1. 安装 x11vnc server sudo apt-get install x11vnc 2. 配置vnc server密码 sudo x11vnc -storepasswd /etc/x11vnc.pass 3. 创建服务文件 vi /lib/systemd/system/x11vnc.service [Unit] Description=Start x11vnc at startup. After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5910 -shared [Install] WantedBy=multi-user.target 4. 配置Systemd服务 sduo systemctl daemon-reload sudo systemctl enable x11vnc.service sudo systemctl start x11vnc.service 5. 使用vnc客户端连接 6.设置vnc分辨率 创建/etc/X11/xorg.conf文件,然后添加如下内容: Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" SubSection "Display" Depth 24 Virtual 1680 1050 EndSubSection EndSection ubuntu16.04 配置eclipse 不能显示,功能不正常这个和gnome有关。 在eclipse.ini文件 --launcher.appendVmargs语句前加: --launcher.GTK_version 2 编辑eclipse.desktop文件内容如下 [Desktop Entry] Version=1.0 Name=Eclipse Exec=env SWT_GTK3=0 UBUNTU_MENUPROXY= eclipse Terminal=false Icon=/eclipse/icon.xpm Type=Application Categories=IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec=env SWT_GTK3=0 UBUNTU_MENUPROXY= eclipse TargetEnvironment=Unity (编辑:长春站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 如何在Ubuntu for PHP 7.1中安装bcmath
- ruby实现修改ubuntu下的hosts
- OpenStack Error – Index column size too large. The max
- ubuntu上的java – openjdk-1.7.0_55:无法为输出方法’xml
- ubuntu 安装有道词典
- Ubuntu的Linux逻辑卷管理-LVM快速入门
- Ubuntu中的查找命令
- 在Ubuntu 12.04.1上从Redmine 1.3.2升级到Redmine 2.2.2 [L
- ubuntu中root和普通用户切换方法(推荐)
- ubuntu在vmware中静态(固定)IP地址的设置方法
