1. 程式人生 > >error in locking authority file /home/xxxxxx/.Xauthority

error in locking authority file /home/xxxxxx/.Xauthority

用useradd建立新使用者,設定密碼

之後嘗試用新使用者登入,報如題錯,進/home/裡面看發現沒有xxxxxx目錄

解決辦法:

可以用usermod -d來分配目錄給新使用者

也可以先刪除新使用者,然後使用useradd -m

相關推薦

error in locking authority file /home/xxxxxx/.Xauthority

用useradd建立新使用者,設定密碼 之後嘗試用新使用者登入,報如題錯,進/home/裡面看發現沒有xxxxxx目錄 解決辦法: 可以用usermod -d來分配目錄給新使用者 也可以先刪除新使用者,然後使用useradd -m

編譯環境與生成環境的JDK版本不一樣,報:java.util.zip.ZipException: error in opening zip file

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

tomcat 啟動專案時出現 ZipException: error in opening zip file

錯誤情況 專案用 maven 打好 war 包後放到 tomcat 下,啟動 tomcat,出現以下錯誤 3-Nov-2017 12:21:44.346 嚴重 [localhost-startStop-1] org.apache.catalina.core.ContainerBase

在Linux伺服器釋出專案出現java.util.zip.ZipException: error in opening zip file 錯誤

 問題描述:程式碼在本地環境下測試正常,釋出到Linux伺服器就報如下錯誤。 java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method

PHP錯誤Parse error: syntax error, unexpected end of file in test.php on line 12解決方法

空格 短標簽 後來 成了 出現 提示 分享 也會 出錯 今天在寫PHP程序的時候總是出現這樣的錯誤:Parse error: syntax error, unexpected end of file in *.php on line *,然後我就根據提示,找到那個文件,然後

E297: Write error in swap file

e297: write error in swap file當我使用vim編輯一個常用的配置文件的時候出現一個錯誤:E297: Write error in swap file然後上網查找原因,說是磁盤空間不足,於是我就查看一下機器磁盤空間使用情況:sht-sgmhadoopdn-02:postgres:/u

關於錯誤 e297: write error in swap file;E297: 交換文件寫入錯誤

file error erro 寫入 硬盤空間 com 技術 class .com 在linux系統下修改文件vim的時候,忽然報錯 E297: 交換文件寫入錯誤 或者 e297: write error in swap file 原因:硬盤空間不足,我去,就剩下16M了

錯誤 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

sudo XP exce error run cto lin type pen 轉 Linux下Android SDK中adb找不到的解決方案 2013年04月22日 20:41:48 閱讀數:7621 在Linux平臺下配置Android SDK開發環境過程中

OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file C:\builds\master_

出現這樣的錯誤,通常是因為自己圖片路徑有問題, 工程中當下目錄也沒有圖片 OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file C:\builds\mast

yum安裝錯誤:CRITICAL:yum.cli:Config Error: Error accessing file for config file:///home/linux/+

出現原因:yum可能沒有,或者損壞 解決:    第一步:下載   wget  http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz   第二步:下載完成之後解壓  tar -zxvf

android studio方法總數超過64K報錯Error:The number of method references in a .dex file cannot exceed 64K.

開發中記錄點滴 1.問題描述 Error:The number of method references in a .dex file cannot exceed 64K. Error:Execution failed for task ':app:transformC

PHP關於syntax error語法錯誤的問題(Parse error: syntax error, unexpected end of file in xxxxxxxx)

在php程式出現類似 Parse error: syntax error, unexpected end of file in xxxxxxxx  on line xx 的錯誤。 如果發現php的語法本身沒有什麼錯誤。就有可能是使用了短標籤,例如: <? }?&

【我的Android進階之旅】解決編譯出現錯誤:Error: In DataSet 'main', no data file for changedFile.

一、問題描述 晚上在Android Studio上,切換分支之後,重新編譯執行的時候,報錯了,錯誤資訊如下所示: 錯誤資訊文字: FAILURE: Build failed with an excep

Error:The number of method references in a .dex file cannot exceed 64K.

收到一封google admob 寄來的信: 說要增加下面的code, 廣告在過了 2016-09-15 才會繼續放送: apply plugin: ‘com.android.application’ … dependencies {     compile ‘com.google.android.gms

Warning: require(): open_basedir restriction in effect. File(/home/framework/laravel/

配框架訪問報錯 laravel 配置域名訪問 Warning: require(): open_basedir restriction in effect. File(/home/framework/laravel………………… 1 . 配置ngi

【解決Error in source(file.path) : invalid multibyte character in parser at line *】

【問題描述】:在使用source函式匯入自建函式時報錯:  Error in source(file.path(code_path, "f_recode_bad_1.R")) :    invali

Cannot run program "git" (in directory "目錄"): error=2, No such file or directory

Jenkins下對工程進行編譯報出錯誤:java.io.IOException: Cannot run program "java" (in directory "目錄"): error=2, No such file or directory,我遇到的這種情況是由於環境變數

OpenCV(3.4.1) Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, file D:\Build\...

錯誤:OpenCV(3.4.1) Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, file D:\Build\OpenCV\opencv-3.4.1\modules\imgproc\src\col

NiceFish的ERROR in AppModule is not an NgModule問題

type png angular 項目 問題 cnp 版本 pmo all 大漠老師的angular2新手教程項目,nicefish剛開始下下來運行ng serve --prod --aot 是 出現ERROR in AppModule is not an NgModule

關於jmeter命令行執行.jmx文件出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class的問題

使用 lang exception ava 出現 問題 drive test bug jmeter命令行執行.jmx文件時,有時回出現Error in NonGUIDriver java.lang.RuntimeException: Could not find the T