vnc xfce 配置

ubuntu 16.04,vnc方式连接,桌面环境是xfce,各种软件的安装,这里就不说了,可以参考:

https://help.aliyun.com/knowledge_detail/59330.html

https://www.cnblogs.com/wangyuehan/p/9807791.html

https://blog.csdn.net/m0_37041325/article/details/80516041

https://blog.csdn.net/pingis58/article/details/79289565

 

xstartup 配置文件,很多都不行,通过自己的实验,亲测可用哈(同时也解决了连接之后,屏幕只有灰色幕布的问题):

#!/bin/sh

# Uncomment the following two lines for normal desktop
#export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
#unset DBUS_SESSION_BUS_ADDRESS


#exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

startxfce4 &


#x-window-manager &

#export DESKTOP_SESSION=Ubuntn
#export GDMSESSION=Ubuntn
#export STARTUP="/usr/bin/gnome-session --session=Ubuntn"
#$STARTUP

#gnome-panel &
#gnome-setting-daemon &
#metacity &
#nautilus &
#gnome-terminal &
 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值