码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu图形界面环境下启动应该程序:

时间:2014-11-05 23:10:17      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:ubuntu

1、先说下Ubuntu14.04系统开机紫框的问题:


Grub theme:黑色屏幕出现紫色边框


There‘s a minor typo on the grub theme which produces a black screen with purple border before the grub menu is drawn and on Plymouth start. AIUI, there‘s a `!` (negation) missing before the background_color invocation:


Grub theme有个一个小的错误,会造成Grub菜单生成前和Plymouth主题启动时,黑色屏幕出现紫边边框。这是因为背景色调用语句少了一个“!”。


     修改系统 /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub的文件:


if ! background_color 44,0,30; then
       然后再运行update-grub
2、图形界面环境下启动应该程序:


    1)非root用户:


在当前用户#目录下.config/autostart/ 创建以后缀名为.desktop的文件,文件内容参照下面的


[Desktop Entry]
Version=1.0
Name=Remmina Applet
Comment=Connect to remote desktops through the applet menu
Icon=remmina
Exec=remmina -i
Terminal=false
Type=Application
Hidden=true
      2)root用户


         开机root用户登录的设置方法(一般的设置):


         http://blog.csdn.net/hao507/article/details/5730967  


        下面是自己修改设置的方法,/usr/bin/startx 文件


        su root -c "xinit $client $clientargs -- $server $display $serverargs vt01"
        然后可以再进行和非root用户的设置即可。  

Ubuntu图形界面环境下启动应该程序:

标签:ubuntu

原文地址:http://blog.csdn.net/sjin_1314/article/details/40835233

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!