谷歌安装器,etc可以自己安装吗

2023-05-06 21:26:36 阅读:164092 作者: 4168

参考:

3359 www.iteye.com/blog/y-Damon-2339609

3359 www.digital ocean.com/community/tutorials/how-to-install-and-configure-VNC-remote-access-for-tor

安装yum install tigervnc-server -y设置vncpasswd密码vncpasswd.VNC/x startup #!/bin/shunsetsession _ managerunsetdbus _ session _ bus _ address/etc/X11/xinit/xinitrc # assumeithergnomeorkdese wewanttokillthesessionautomaticallyinthiscasewhenuserlogsout.incaseyoumodify #/etc/X11/xinit/xclientsor~. xclientstsor then you should # beresponsibletomodifybelowcodetoavoidthatyoursessionwillbeautomaticallykilledif [-e/usr/bin/gnome-Sese then vncserver -kill $DISPLAYfi安装gnome-session或startkdeyuminstallgnome-sessionyuminstallgnome-classic-session gng 成功安装ation-mono-fonts 3358 www.Sina.com/VNC server后,将此文件/lib/systemd/system/VNCserver@

此处的vncserver@:1.service是根用户的登录配置文件,vncserver@:2.service是一般用户的配置文件

# CP/lib/systemd/system/VNC server @.service/etc/systemd/system/VNC server @ :1.service # CP/lib /

#

# Quick HowTo:

#1. copythisfileto/etc/systemd/system/VNC server @.service

#2. edituserandvncserverparametersappropriately

# ' run user-luser-c/usr/bin/VNC server % I-arg1- arg2' )

#3. run `系统日期-还原`

#4. run ` systemctlenablevncserver @ : display.service `

#

# donotrunthisserviceifyourlocalareanetworkis

#未受信任! For a secure way of using VNC,you should

# limitconnectionstothelocalhostandthentunnelfrom

# themachineyouwanttoviewvncon (Hosta ) to the machine

# whosevncoutputyouwanttoview (hostb )。

#

# [ user @ Hosta~] $ ssh-v-c-l590 n : localhost 3360590 mhostb

#

# thiswillopenaconnectiononport 590 nofyourhostatohostb ' sport 590 m

(# (in fact,itssh-connectstohostbandthenconnectstolocalhost ) onhostb )。

# seethesshmanpagefordetailsonportforwarding )

#

# youcanthenpointavncclientonhostaatvncdisplaynoflocalhostandwith

# the help of ssh,youendupseeingwhathostbmakesavailableonport 590 m

#

# use ' -无列表TCP ' topreventxconnectionstoyourvncserverviatcp。

#

# use '-localhost ' topreventremotevncclientsconnectingexceptwhen

# doingsothroughasecuretunnel.see the '-via ' option in the

# `man vncviewer' manual page。

描述=远程桌面服务(VNC )

after=syslog.target network.target

Type=forking

# cleananyexistingfilesin/tmp/. X11-UNIX环境

pidfile=/home/user/. VNC/% h % I.PID

将上面的红色字体更改为用户名和所在的主目录并保存,然后运行以下命令启用

# systemctldaemon-reload http://www.Sina.com/# systemctlstartvncserver @ :1.service防火墙service firewalld stop远程

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。

标签: etc

Copyright © 2022 恩蓝号 Inc. 保留所有权利。 Powered by 恩蓝号

页面耗时0.0205秒, 内存占用107.28 KB, 访问数据库2次