zoukankan      html  css  js  c++  java
  • 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用户的设置就可以。  

  • 相关阅读:
    bootstrap轮播组件之“如何关闭自动轮播”
    js分享功能
    设置省略号的取巧方法
    bootstrap-table表格插件的使用案例
    如果有帮到您,欢迎打赏
    IDEA导入Eclipse项目
    Centos nginx安装
    centos tomcat安装
    centos安装jdk
    Centos创建用户
  • 原文地址:https://www.cnblogs.com/slgkaifa/p/7399033.html
Copyright © 2011-2022 走看看