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

来源:互联网 发布:网络维护的工作内容 编辑:程序博客网 时间:2024/05/01 07:18
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用户的设置即可。  
0 0
原创粉丝点击