`
jiagou
  • 浏览: 2537217 次
文章分类
社区版块
存档分类
最新评论

VNC manage Commands

 
阅读更多

This section describes the following commands, which you can use to manage your VNC session:

  • Set your VNC session password using vncpasswd.

  • Start a session using vncserver_once.

  • Check you session status using vncfinger.

  • On a non-HMDC server, check your connection status using ps.

  • Terminate a frozen or nonfunctional session using vnccleanup.

vncpasswd

Unless you use the HMDC Easy Connection script to connect to the RCE, your VNC client prompts you for a password when connecting to a session. This VNC session password is separate from the login account password required when you log in to the server. If you use the Easy Connection script, the script sets your VNC session password to your login account password.

On HMDC systems, the command vncserver_once sets your VNC session password to your login account password. On non-HMDC systems, the command vncserver prompts you to create a session password.

If you do not know your VNC session account password or if you choose to change it, type the command vncpasswd in the SSH connection window as follows:

> vncpasswd
Password: <new password>
Verify: <new password>

vnccleanup

To terminate a frozen or non-functional VNC session type the following command:

> vnccleanup

You will receive the following messages:

WARNING: This will end your current session. If you have unsaved work, 
WARNING: it may be lost.
Would you like to continue? [y/n]: y
*** Shutting down VNC session...Killing Xvnc process ID 4331...done
*** Shutting down gconfd-2...done
*** Shutting down bonobo...done
*** Shutting down GNOME keyring daemon...done
Remote access session has been cleaned up. 
You should now be able to start a new session.

Now you can connect to a new session of the RCE.

vncserver_once

To start a new session on a VNC server, log in using an SSH utility and then type the command vncserver_once. For example:

> vncserver_once
3

In this example, a user created a new VNC session and the system assigned session number 3 to that user.

vncfinger

To find your session number on a VNC server, use the command vncfinger to list the active VNC sessions and the username that owns each session. For example:

> vncfinger

Username VNC Session
dho 4
eray 3
hstoll 2
olau 5
svanderh 1

ps

To find your session number on a non-VNC server, use the command ps as follows:

> ps -fu `whoami` | grep Xvnc

user 24904 1 0 Jul19 ? 00:00:00 Xvnc :1 –desktop login.hmdc.harvard.edu:1X1

In this example, the session number is 1.


分享到:
评论

相关推荐

    vnc

    vnc

    RealVNC-v4.5 license

    VNC Enterprise Edition是业界标准的VNC(Virtual Network Computing) 的增强版本,专为企业环境应用和穿越Internet而开发。它完全由VNC的最初发明者设计和开发,Enterprise Edition提供更好的稳定性和更容易管理的...

    vnc 使用方法vnc 使用方法vnc 使用方法vnc 使用方法

    vnc 使用方法vnc 使用方法vnc 使用方法vnc 使用方法vnc 使用方法

    RealVNC E4.6.1 绿化版

    RealVNC 4.61_简介 VNC(Virtual Network Computing,虚拟网络计算)最早是一套由英国剑桥大学AT&T实验室在2002年开发的轻量型的远程控制计算机软件,其采用了 GPL 授权条款,任何人都可免费取得该软件。VNC软件...

    vncviewer-vnc浏览器

    vnc浏览器 网络遥控技术是指由一部计算机(主控端)去控制另一部计算机(被控端),而且当主控端在控制端时,就如同用户亲自坐在被控端前操作一样,可以执行被控端的应用程序,及使用被控端的系统资源。 VNC...

    VNC远程控制软件VNC远程控制VNC远程控制VNC远程控制VNC远程控制

    VNC远程控制VNC远程控制VNC远程控制VNC远程控制VNC远程控制VNC远程控制VNC远程控制VNC远程控制

    vnc server和vnc client

    vnc server和vnc

    VNC服务端 java客户端

    VNC服务端 java客户端

    vnc远程连接-ultravnc

    VNC远程连接程序,小巧实用,既可以远程控制,也可以传输文件

    vnc viewer中文版

    vnc viewer中文版是一款简单的远程控制软件。vnc viewer中文版可通过在需要连接的计算机上安装vnc服务,通过服务器帐号和密码进行连接,软件支持不同的系统连接,是一款跨平台连接工具。 vnc viewer中文版使用...

    TightVNC 2.8.5.0

    TightVNC 是一套免费的 VNC 软件,能让你轻松控制远程的计算机,就像坐在自己家的计算机前面一般,让你出门在外无后顾之忧! 使用方法: 1、需要在被控方电脑上打开TvnServer,记住端口的相应信息; 2、如果需要...

    VNC客户端 vncviewer

    vncviewer 实现桌面的显示

    VNC密码破解

    2、假如我们已经获得了web服务器的webshell权限,同时对注册表有读取权限(这里如何获得web服务器的webshell权限,暂不介绍),我们使用命令webshell命令regedit -e c:\vnc.reg HKEY_CURRENT_USER\Software\RealVNC\...

    RealVNC Enterprise 4.3.1

    VNC(Virtual Network Computing,虚拟网络计算)最早是一套由英国剑桥大学AT&T实验室在2002年开发的轻量型的远程控制计算机软件,其采用了 GPL 授权条款,任何人都可免费取得该软件。VNC软件主要由两个部分组成:...

    vncviewer VNC查看器

    vncviewer VNC查看器

    vnc服务端离线安装包

    vnc服务端离线安装包

    RealVNC V4.2.5 企业特别版

    VNC(Virtual Network Computing,虚拟网络计算)最早是一套由英国剑桥大学ATT实验室在2002年开发的轻量型的远程控制计算机软件,其采用了 GPL 授权条款,任何人都可免费取得该软件。VNC软件主要由两个部分组成:VNC...

    Linux VNC 密码解密

    解密Linux 上的VNC 用户密码,VNC用户密码保存在~username/.vnc/passwd

    c#vnc客户端源码

    VncSharp is a Free and Open Source (GPL) implementation of the VNC Remote Framebuffer (RFB) Protocol for the .NET Framework. VNC (Virtual Network Computing) is a cross-platform client/server protocol ...

Global site tag (gtag.js) - Google Analytics