ubuntu Vscode打不开 提示error:unable to write program user data 且多数软件不能正常打开的一种可能性
打开Vscode一直提示error:unable to write program user data,产生如下内容:
A system error occurred (listen EACCES: permission denied /usr/lib/vscode-5....
Please make sure the following directories are writeable:
~/.config/Code
~/.vscode/extensions
/usr/lib
而且还出现了大部分程序 例如软件中心 simplescreenrecord等程序均不能正常运行,终端的用户名也变成了绿色。网上说的修改~/.config/Code均不管用,后来我查到主要是我在/etc/profile里面加入了这个指令
export XDG_RUNTIME_DIR=/usr/lib/
export RUNLEVEL=3
该指令会修改ubuntu的默认开机级别 导致出现问题。
后来我注释了这个命令,运行指令 source /etc/profile ,然后重新开机后,一切恢复正常。
哎 这个教训告诉我 不懂的指令千万别乱用。
希望给和我一样糊涂的小伙伴一个帮助。
ubuntu Vscode打不开 提示error:unable to write program user data 且多数软件不能正常打开的一种可能性相关推荐
- ubuntu下android虚拟机(emulator)出现error: unable to load driver错误
在Ubuntu环境下运行自带的android studio虚拟机时会报如下错误: error: unable to load driver: XXXXXX.so 解决方法是: mv ~/Documen ...
- Ubuntu+vscode打不开
前沿: vscode链接 参考链接 问题: 之前在Ubuntu上安装chrome, 结果chrome没装成功, 还把vscode给qiu坏了, 貌似是当时安装chrome时提示要升级一个包. 后来发现 ...
- linux之安装mysql提示Error: Unable to find a match: mysql-community-server
1 问题 在centos系统下安装mysql,命令如下 yum -y install mysql-community-server 提示错误如下 [root@iZm5e6dk6exl71zbx327z ...
- pygame.mixer.Sound()语句提示错误:pygame.error: Unable to open file 'test.wav'
环境:Win10.python3.6.5.pygame( version 1.9.3) 在使用pygame创建一个wav文件时,代码如下: import pygame class Player:# c ...
- vscode中文插件安装失败,提示:Unable to write into the file. Please open the file to correct errors/warnings in
vscode中文插件安装失败,提示:Unable to write into the file. Please open the file to correct errors/warnings in ...
- ubuntu安装ROS进行到rosdep update时出现错误,如ERROR: unable to process source ...
1.错误描述: ming@ming:~$ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d ...
- mysql error innodb_MySQL无法启动: InnoDB Error:unable to create temporary file
MySQL无法启动.错误日志中提示:InnoDB:Error:unabletocreatetemporaryfile以下是错误信息的详细内容:11112221:32:03[Note]Plugin'FE ...
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
为什么80%的码农都做不了架构师?>>> 不同电脑,相同的代码怎么就上传不了图片:本人用的是PHP upload上传项目下的retime文件夹 服务器突然出现这种提示,无法上传 ...
- win+Ubuntu双系统重装win出现error:unknown filesystem grubrescuegt;
突然觉得无聊,就给实验室的电脑重装了个win7系统(原来为XP+Ubuntu),然而悲剧的是重启的时候黑屏,提示error:unknown filesystem ,并进入了grub rescue,经过 ...
最新文章
- 魅蓝android底层是什么,集体去YunOS化:魅蓝2\魅蓝Metal更换安卓底层
- yolov3算法优点缺点_优点缺点
- bzoj 4573: [Zjoi2016]大森林
- python package_python之package定义
- C++:19---this指针
- signature=14a3e4f784cf9004647ea52bac22e550,维族老年慢性阻塞性肺疾病患者合并肺动脉高压的临床研究...
- python常见的数据结构
- 哪里的http和socks5代理ip稳定速度快
- Zemax操作38--POP(物理光学传播)的用法
- 浏览器兼容性问题与解决方案
- oracle 11g 重置,oracle数据库重置
- AHU-2017校赛现场赛 B 下一个幸运数
- C++在一个类中定义另一个有参数构造函数的类的对象
- 使用FileZilla下载Jason2和Jason3雷达高度计数据
- java个人所得税计算器
- 《千与千寻》高清下载
- 教你三步优化宝贝标题,搜索流量翻倍获取
- pyhton 对列表按照日期进行排序
- mysql rollback to,MySQL存储过程SAVEPOINT ROLLBACK to
- 2020-10-01 交换机通过CRT保存配置-SSH