1.开启linux系统的桌面环境,使用startx未成功,报如下错误: 提示:Retrigger failed udev events [root@ /]# startx xauth: creating xinit: No such file or directory (errno ): no server "/usr/bin/X" in PATH Use the -- option, or make sure that /usr/bin is in your path and tha…
今天因工作需要开启linux系统的桌面环境,使用startx未成功,报如下错误: [root@ /]# startx xauth: creating new authority xinit: No such ): no server "/usr/bin/X" in PATH Use the -- option, or make sure that /usr/bin is in your path and that "/usr/bin/X" is a program…
linux下启动dbca或netmgr类的图形界面报错解决    Xlib: connection to ":0.0" refused by server Xlib: No protocol specified …… 解决办法:  www.2cto.com     exit 退到root用户下执行下面代码   Java代码   xhost local:oracle non-network local connections being added to access control l…
今天想通过本机给虚拟机起x-manager图形界面的时候报出 解决办法: 1.原来X11 forwarding依赖“xorg-x11-xauth”软件包,所以必须先安装“xorg-x11-xauth”软件包.yum install xorg-x11-xauth) 2.安装 gnome桌面 yum groupinstall  "Desktop" -y…
docker search centos   查系统镜像 docker pull docker.io/centos 进入容器 [root@git opt]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/tomcat8 latest 37e6b19c14e0 hours ago MB gitalb-zh latest dd61a1ec3cdc days ago 1.72 GB docker.io/twang2218/gi…
Linux系统最早期的时候只有命令行界面,所有的工作都需要用Linux命令来完成. 随着系统的发展,以及图形界面系统的出现,Linux也出现了图形界面,使得Linux系统不再是只有计算机的专业人士才可以使用,普通用户也可以很方便就可以使用Linux. 我们可以根据自己的需求来设置Linux系统的默认启动:是图形界面还是命令行界面. 方法一.更改默认启动设置 /etc/X11/default-display-manager文件:原值为 /usr/sbin/gdm,表示默认进入图形界面.改为:fal…
linux 下通过xhost进入图形界面,经常会出现报错“unable to  open display” linux下的操作步骤如下: [root@localhost ~]# vncserver New 'localhost:1 (root)' desktop is localhost:1 Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/localhost:1.log [root@loca…
Linux Mint 系统用了很久,很顺手,赞一个! 有一天想同时运行多个虚拟机linux系统做实验,想着只启动文本模式可以省点内存资源,结果试了多种方法都不成功,网上现有针对Ubuntu原版和CentOS的方法都不适用:最后自己摸索了一套3步最简洁有效的办法,实质是让系统启动文本界面后使图形界面不再启动,写出来供大家参考少走弯路,也做个记录免得自己忘了. 亲测Linux Mint 19/19.1/19.2有效,其他Ubuntu版本未试过,有试过有用的小伙伴请补充,谢谢! 1.修改并保存/etc…
1.参考:http://garyu.blog.51cto.com/2838408/513772 修改/etc/X11/default-display-manager文件 该文件的内容一般是一个路径,比如我的是:/usr/sbin/mdm.把这一行在前面加个"#"号注释掉,再令起一行打上:false,然后保存退出,重启.你的系统就会默认进入文本界面. 用startx能启动图形界面,注销后又会回到文字界面,很方便. 2.参考:http://blog.sina.com.cn/s/blog_6…
设置ubuntu 默认不启动图形界面 一. 编辑文件/etc/X11/default-display-manager 如果值为/usr/sbin/gdm,则进入图形界面如果值为false,则进入控制台(命令行方式) 如果想从控制台进入图形界面,可以在控制台上输入命令sudo gdm或sudo startx 二. 查看文件/etc/init/rc-sysinit.conf确认env DEFAULT_RUNLEVEL=2 编辑文件/etc/init/lightdm.conf原句and runleve…
本文地址 点击关注微信公众号 "程序员的文娱情怀" 分享提纲: 1. 概述 2. mac版实现ssh登录,显示图形化 1. 概述 平时ssh登录到Linux服务器都是在命令行下进行操作的,简单高效.但是有些时候,需要配置一些Linux系统下的图形化软件的参数,ssh登录到Linux服务器后,就需要显示图形化界面了. 这里给出Linux,Windows和MacOS三种系统登录上Linux系统后,显示图形化界面的方法. 1.1)[window登录后图形界面]  Windows平台SSH登录…
如果你碰巧喜欢好的图形界面工具,你肯定很乐于了解一些 Linux 上优秀的 SSH 图形界面工具.让我们来看看这三个工具,看看它们中的一个(或多个)是否完全符合你的需求. 在你担任 Linux 管理员的职业生涯中,你会使用 Secure Shell(SSH)远程连接到 Linux 服务器或桌面.可能你曾经在某些情况下,会同时 SSH 连接到多个 Linux 服务器.实际上,SSH 可能是 Linux 工具箱中最常用的工具之一.因此,你应该尽可能提高体验效率.对于许多管理员来说,没有什么比命令行更…
Centos6 和 Centos7 由字符界面切换成 图形界面方法不同,下面分别介绍. 一.Centos6 切换方法 yum -y install xorg* yum -y groupinstall "X Window System" yum -y groupinstall Desktop yum -y groupinstall "Chinese Support" startx  启动图形界面 开机进入图形界面两种方法 1.默认进入字符界面 init 3  ,输入用…
1 启动命令 systemctl isolate graphical.target 2 启动过程: 文件:/etc/systemd/system/graphical.target 来自:systemd包 内容: [Unit] Description=Graphical Interface Documentation=man:systemd.special(7) Requires=multi-user.target Wants=display-manager.service Conflicts=r…
启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 原文:http://blog.51cto.com/11863547/1905929            http://blog.csdn.net/debimeng/article/details/74296152?utm_source=itdadao&utm_medium=referral  Failed to start LSB: Bring up/down networ…
在Linux上配置xampp后远程访问域名报错: New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". 初步分析了一下错误原因是:安全异常,需要修改httpd-xampp.conf.这个文件在:/opt/lampp/…
初步猜测原因是:keepalived容器内的keepalived.pid文件在keepalived容器非正常退出时,没有正确删除,造成第二次启动时容器检查到pid文件已经存在,认为该进程已经存在,因为keepalived容器的启动检查机制只允许同一台主机上启动一个进程,所以无法启动,并报错:daemon is already running注:该问题是keepalived软件本身存在的一个bug,如果需要优化,可以考虑在keepalived容器内增加脚本,在keepalived容器启动前进行一次…
windows server2008下如何更改MySQL数据库的目录的帖子已经很多了,这里简单介绍一个步骤,如果不成功请先查看其它帖子. 更改默认的mysql数据库目录 将 C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data 改到 D:\MysqlData . 建立文件夹 D:\MysqlData . 停止 mysql 服务,将 "C:\Documents and Settings\Al…
1.错误信息:登录系统后,屏幕弹出几个错误对话框,无菜单.无按钮 GConf error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/g…
启动安卓模拟器报错 emulator: ERROR: x86_64 emulation currently requires hardware acceleration!  CPU acceleration status:HAXM must be updated(version 1.1.1<6.0.1) 解决办法: 在android sdk 安装目录下找到 \Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager 双击int…
Weblogic AdminServer 启动fail,报错"unable to get file lock, will retry" 参考原始: Weblogic AdminServer fails with "unable to get file lock, will retry" error message (Doc ID 1613945.1) 适用于: Oracle WebLogic Server - Version 8.1 and later Inform…
每天开机之后,启动MYSQL Notifier就报错,第一次出现重启电脑后解决,后面的几天老是出现,重启电脑好几次都没有解决,感觉很烦人,一定要搞定这个问题找到原因,于是有了下文....... 启动MYSQL 57报错信息"The service MYSQL57 failed the most recent status change request with the message time out has expired and the operation has not been comp…
问题:使用docker启动容器时,报错如下 zh@debian:~/testPath$ docker-compose up redis Starting testpath_redis_1 ... done Attaching to testpath_redis_1 redis_1 | redis_1 | Welcome to the Bitnami redis container redis_1 | Subscribe to project updates by watching https:/…
linux上安装完torch后仍报错: Traceback (most recent call last): File , in <module> import torch ImportError: No module named torch 是因为还要进行环境配置: 首先进入: vim ~/.bashrc 添加下面的语句: . /home/yourdirectory/torch/install/bin/torch-activate # added by Anaconda3 installer…
springboot 启动的时候报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'solrClient' defined in class path resource [org/springframework/boot/autoconfigure/solr/SolrAutoConfiguration.class]: Bean instantiation via f…
问题: 使用Apppium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks   我的启动配置如下 {   "platformName": "ios",   "platformVersion": "9.3.5",   "bundleId": "com.wuba.zhuanzhuan",   &qu…
电脑:2G内存,WIN7 32位. 启动adt-bundle-windows-x86-20140702\eclipse\eclipse.exe时,报错[Failed to create the Java Virtual Machine].点确定后,Eclipse自动关闭 解决方法如下: 修改Eclipse目录下的配置文件[eclipse.iniadt-bundle-windows-x86-20140702\eclipse\eclipse.ini] 将下面两个值改为原来的0.5倍,然后保存,重新启…
VMware启动报错Reason: Failed to lock the file的解决方法 症状:  启动VMware虚拟机的时候出现了Cannot open the disk '*.vmdk' or one of the snapshot disks it depends on.Reason: Failed to lock the file.的错误. 解决办法一: 1.在VMware该虚拟机路径下的所有.lck文件和文件夹下删除或迁移至其它目录,一般就可以解决了. 2.如果再次启动VMwar…
idea启动测试类报错 Error running 'Test1.test': Command line is too long. Shorten command line for Test1.test or also for JUnit default configuration. 注意: 最简单的方法,就是你重新创建一个新的测试类,在里面重新写一遍测试方法,代码都可以粘贴过去. 解决方法: 1.打开本项目的.idea文件夹,找到文件夹中的workspace.xml文件 2.搜索 Proper…
在Linux下,使用 gets(cmd) 函数报错:warning: the 'gets' function is dangerous and should not be used. 解决办法:采用 fgets(cmd,100,stdin);//100为size 问题解决! fgets从stdin中读字符,直至读到换行符或文件结束,但一次最多读size个字符.读出的字符连同换行符存入缓冲区cmd中.返回指向cmd的指针. gets把从stdin中输入的一行信息存入cmd中,然后将换行符置换成串结…