[問題] 有關X的問題(startx)

看板Linux作者 (エニシ 縁)時間17年前 (2008/08/08 01:34), 編輯推噓1(105)
留言6則, 3人參與, 最新討論串1/1
我的X無法進入 用root在指令下輸入startx 會出現以下的敘述 mktemp: cannot create temp file /tmp/serverauth.MfkfsF5004: Read-only file system /usr/bin/startx: line 139: cannot create temp file for here document: Read-only file system xauth: error in locking authority file /root/.Xauthority /usr/bin/startx: line 151: cannot create temp file for here document: Read-only file system xauth: error in locking authority file /root/.Xauthority /usr/bin/startx: line 151: cannot create temp file for here document: Read-only file system X: warning; process set to priority -1 instead of requested priority 0 Fatal server error. Could not create lock file in /tmp/.tx0-lock giving up xinit: No such file or directory (errno2): unable to connect to X server xinit: No such process (errno3): server error. xauth: error in locking authority file /root/.Xauthority 請問一下要如何修復這個問題? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.240.113 ※ 編輯: herbert570 來自: 140.112.240.113 (08/08 08:04)

08/08 21:56, , 1F
什麼distro? 連root都沒權限? O_O?
08/08 21:56, 1F

08/08 23:28, , 2F
Ubuntu 8.04
08/08 23:28, 2F

08/09 01:14, , 3F
fstab的問題....用`mount -n -o remount,rw /`可以解決
08/09 01:14, 3F

08/09 01:14, , 4F
之後用vi去修改fstab
08/09 01:14, 4F

08/10 23:17, , 5F
樓上~ 應該先提醒原 po 為什麼 rootfs 變 ro 吧?
08/10 23:17, 5F

08/10 23:18, , 6F
也許要先 fsck 某個 mount point 才對。
08/10 23:18, 6F
文章代碼(AID): #18cp8taE (Linux)