zoukankan      html  css  js  c++  java
  • xmodmap: unable to open display '' Error: Couldn't connect to XServer passing null display

    /*********************************************************************************
     *  xmodmap:  unable to open display '' Error: Couldn't connect to XServer passing null display
     * 说明:
     *     fluxbox窗口管理器通过startx无法执行起来。
     *
     *                                              2017-12-19 深圳 南山平山村 曾剑锋
     ********************************************************************************/
    
    一、参考文档
        1. How to make startx use alternate xinitrc?
            https://unix.stackexchange.com/questions/6274/how-to-make-startx-use-alternate-xinitrc
    
    二、执行方法
        # cat S80startx
            #! /bin/sh
            
            ... 
            case "$1" in
              start)
                    printf "Starting $DESC: "
                    startx /root/.xinitrc &
                    echo "OK"
                    ;;
              *)
                    echo "Usage: $0 {start}" >&2
                    exit 1
                    ;;
            esac
            
            exit 0
  • 相关阅读:
    Mysql多表查询
    Mysql单表查询
    初始mysql语句
    MySql安装和基本管理
    jQuery的ajax
    关于DOM操作的相关案例
    DOM介绍
    关于DOM的事件操作
    使用正则写一个计算器

  • 原文地址:https://www.cnblogs.com/zengjfgit/p/8066014.html
Copyright © 2011-2022 走看看