zoukankan      html  css  js  c++  java
  • solaris配置VNC 远程桌面配置

    bash-3.00# export PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/bin:/usr/openwin/bin:/usr/openwin/bin:/usr/X11/bin
    bash-3.00# cd /usr/bin
    bash-3.00# ./vncserver

    You will require a password to access your desktops.

    Password:
    Verify:


    bash-3.00# cd /.vnc
    bash-3.00# ls
    WEB-1:1.log  WEB-1:1.pid  passwd       xstartup
    bash-3.00# vi xstartup
    "xstartup" 7 行,172 字符
    #!/bin/sh

    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #twm &
    /usr/bin/gnome-session &

    bash-3.00# vncserver -kill :1
    Killing Xvnc process ID 10494
    bash-3.00# cd /usr/bin
    bash-3.00# ./vncserver

    New 'WEB-1:1 (root)' desktop is WEB-1:1

    Starting applications specified in //.vnc/xstartup
    Log file is //.vnc/WEB-1:1.log

    bash-3.00#

  • 相关阅读:
    poj1988
    sgu488
    Walking around Berhattan
    基于矩阵分解的简单推荐算法
    Funny Feature
    php面向对象
    PHPstorm快捷键
    创建UIImage的两种方法
    dismissViewControllerAnimated有延迟
    17个常用代码整理
  • 原文地址:https://www.cnblogs.com/jdonson/p/1633087.html
Copyright © 2011-2022 走看看