> ## Content Index
> Fetch the complete content index at: https://blog.k3s.9zf.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# 终于搞定图形VNC了(Debian)
- URL: https://blog.k3s.9zf.net/-e7-bb-88-e4-ba-8e-e6-90-9e-e5-ae-9a-e5-9b-be-e5-bd-a2vnc-e4-ba-86debian/
- Published: 2009-05-24T23:58:59.000Z
- Updated: 2009-05-24T23:58:59.000Z
- Author: liu
- Tags: 生活日记, #wordpress, #Import 2026-10-29 06:11

![qqe688aae59bbee69caae591bde5908d](https://blog.k3s.9zf.net/content/images/wordpress/qqe688aae59bbee69caae591bde5908d.png "qqe688aae59bbee69caae591bde5908d")关闭当前VNC

> vncserver -kill :1

修改xstartup配置为：

> #!/bin/sh
> 
> \# Uncomment the following two lines for normal desktop:  
> unset SESSION\_MANAGER  
> exec /etc/X11/xinit/xinitrc
> 
> #\[ -x /etc/vnc/xstartup \] && exec /etc/vnc/xstartup  
> #\[ -r $HOME/.Xresources \] && xrdb $HOME/.Xresources  
> #xsetroot -solid grey  
> #vncconfig -iconic &  
> #xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &  
> #twm &
> 
> bash &  
> gnome-session &  
> fcitx &