Using Win7 to control the Lubuntu via VNC

本文详细介绍了如何在Win7系统下通过VNC控制Lubuntu。首先,需要在Lubuntu上安装TightVNC服务器和autocutsel工具,设置访问密码为'orangepi'。接着,运行并停止VNC服务器一次,然后编辑~/.vnc/xstartup文件。最后,正常启动VNC服务器,并给出使用Win7连接Lubuntu的实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

有时候在嵌入式计算机没有显示器键鼠供其使用,但又需要通过Terminal或者图形界面对它进行操作,可通过远程连接软件进行。比如vnc

Using Win7 to control the Lubuntu via VNC

===== Lubuntu VNC Server installation =====

1. install tools: tightvncserver autocutsel

sudo apt-get install tightvncserver autocutsel
#tightvncserver is vnc server application
#autocutsel is for getting bidirectional clipboard sharing

2. setup password to access desktops: orangepi


3. Run the server once and kill it:

   Commands:

   $ tightvncserver :1
   $ tightvncserver -kill :1

4. modify the ~/.vnc/xstartup file:

   commands:
   $ vim ~/.vnc/xstartup

   file content:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

change the above into:

-----------------------
#!/bin/sh

#xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值