查看: 3087|回复: 1
收起左侧

pcDuinio新系统的整理工作

2013-5-18 23:46:40 | 显示全部楼层 |阅读模式
[list]
[*]修改超级用户密码 sudo passwd root
[*]修改默认用户ubuntu用户密码 sudo passwd ubuntu
[*]安装vncserver,可以从windows pc端连接上去
ubuntu的软件管理器是 sudo  synaptic,找到x11vnc这个软件装好
设置vncserver自动启动:
[backcolor=white !important][size=1em][table=98%]
[tr][td][align=right]
[/align][/td][td][align=right][size=1em][backcolor=white !important][size=1em]sudo x11vnc -forever -shared -rfbauth ~/.vnc/passwd[/size][/backcolor]
[backcolor=white !important][size=1em]sudo cp ~/.vnc/passwd /etc/x11vnc.pass[/size][/backcolor]
[backcolor=white !important][size=1em]sodu vi /etc/init/x11vnc.conf[/size][/backcolor]
[/size]
[/align][/td][/tr]
[/table][/size][/backcolor]

[i]start on login-session-start
script
x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900
end script[/i]
客户端使用vnc viewer 连接上pcDuino的ip:5900去就可以了
[*]安装中文繁体支持 找到language-pack-zh-hant安装
[*]安装中文输入法 ….(待测试)
[*]安装中文字库 找到 ttf-arphic-ukai 软件安装后,dpkg-reconfigure locales,在gedit里面如果出现乱码,则在启动gedit前输入:
[/list][code]gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"[/code]
回复

使用道具 举报

2014-4-9 19:46:42 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部