linux下xhost命令报错:unable to open display的解决办法 linux下执行xhost命令报错:unable to open display,解决方法,linux 下通过xhost进入图形界面,经常会出现报错unable to open display linux下的操作步骤如下: 1、复制代码: 复制内容到剪贴板 [root@localhost ~]# vncserver New 'localhost:1 (root)' desktop is localhost:1 Starting applications ...[ 查看全文 ]
问题1:登录mysql的错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 解决方法: 1)默认的mysql.sock文件是在/tmp目录下。 2)我们建立一个软连接,ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock 问题2:Timeout error occurred trying to start MySQL Daemon. #/etc/init.d/mysqld restart stopping mysql &n...[ 查看全文 ]