我正在使用TigerVNC,试图指向特定的xstartup,因为我需要为给定用户提供几个独特的初创公司。这就是我正在尝试的:
vncserver :5 -name "MyServer" -geometry 600x320 -depth 24 -AlwaysShared -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi -IdleTimeout 0 -SecurityTypes VncAuth -rfbauth /home/frogger123/.vnc/passwd -xstartup /home/frogger123/.vnc/mystartup
我一直都在
Unrecognized option: -xstartup
TigerVNC页面上的文档将此列为有效选项。我究竟做错了什么?谢谢
编辑:从手册:
vncserver [:display#] [−name desktop-name] [−geometry widthxheight] [−depth depth] [−pixelformat format] [−fp font-path] [−fg] [−autokill] [−noxstartup] [−xstartup script] [Xvnc-options...]
−xstartup script
Run a custom startup script, instead of %HOME/.vnc/xstartup, after launching Xvnc. This is useful to run full-screen applications.
我使用的是错误的TigerVNC版本