用 Mozilla 連進去
都只有灰灰的 X 畫面
我寫的 .vnc/xstartup 如下
- 代碼: 選擇全部
#!/bin/sh
[ -f $HOME/.Xresources ] && xrdb $HOME/.Xresources
gnome-session &
啟動後,檢查 .vnc/debian:1.log 部分結果如下
- 代碼: 選擇全部
AUDIT: Wed Jun 9 19:29:03 2004: 11536 Xrealvnc: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: Client is not authorized to connect to Server
xrdb: Can't open display ':1'
AUDIT: Wed Jun 9 19:29:03 2004: 11536 Xrealvnc: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: Client is not authorized to connect to Server
(gnome-session:11540): Gtk-WARNING **: cannot open display:
請問一下要怎麼解決,謝謝undefined