^_^

2010年2月25日星期四

如何更改 Ubuntu 在 VNC 终端中的分辨率设置

root001@ubuntu001:~/.vnc$ sudo vncserver -kill :1
Killing Xvnc process ID 3550
root001@ubuntu001:~/.vnc$ sudo vi 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 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#startkde &
gnome-session &

root001@ubuntu001:~/.vnc$ sudo vncserver -geometry 1600x900

New 'ubuntu001:1 (root)' desktop is ubuntu001:1

Starting applications specified in /home/root001/.vnc/xstartup
Log file is /home/root001/.vnc/ubuntu001:1.log
本站文章除注明外,均为本站原创
转载请注明文章转载自: 大笨熊乐园 [ https://blog.foolbear.com/ ]
文章标题: 如何更改 Ubuntu 在 VNC 终端中的分辨率设置
文章地址: https://blog.foolbear.com/2010/02/ubuntu-vnc.html

没有评论 :

发表评论

Related Posts with Thumbnails