由买买提看人间百态

topics

全部话题 - 话题: vncconfig
(共0页)
s****n
发帖数: 786
1
vi $HOME/.vnc/xstartup
make it look like this:
#!/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" &
startx &

la
can
c****n
发帖数: 89
2
来自主题: Linux版 - 请教 VNC viewer 的问题
BTW. I've tried vncconfig and picked all three options. no luck with the
copy/paste.
z**r
发帖数: 17771
3
来自主题: Linux版 - 请教 VNC viewer 的问题
俺的VNC没有问题,To enable copy and paste, after running the vncserver
command please run this:
vncconfig -display :n -nowin &
Where :n is the number of your display.
w*m
发帖数: 1806
4
来自主题: Linux版 - 菜鸟问个问题
edit ~/.vnc/xstartup
here is a copy of mine,
#!/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 &
startx &
ps: startx will start gnome or kde.
z**r
发帖数: 17771
5
try vncconfig -display :n -nowin &
Where :n is the number of your display.
(共0页)