有關X的問題 - Linux

Table of Contents

我的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


請問一下要如何修復這個問題?

--

All Comments

James avatarJames2008-08-11
什麼distro? 連root都沒權限? O_O?
Ida avatarIda2008-08-15
Ubuntu 8.04
Bennie avatarBennie2008-08-16
fstab的問題....用`mount -n -o remount,rw /`可以解決
之後用vi去修改fstab
Audriana avatarAudriana2008-08-19
樓上~ 應該先提醒原 po 為什麼 rootfs 變 ro 吧?
Charlie avatarCharlie2008-08-21
也許要先 fsck 某個 mount point 才對。