Changes between Version 1 and Version 2 of DocNetUserVnc


Ignore:
Timestamp:
Aug 11, 2011, 4:30:56 AM (8 years ago)
Author:
shinton@…
Comment:

Format page for better readability

Legend:

Unmodified
Added
Removed
Modified
  • DocNetUserVnc

    v1 v2  
    1111On the DebWrt box:
    1212
    13 Become root
    14 apt-cache search vncserver
    15 apt-get install vnc4server ( 25MB of basic X11 stuff installed )
    16 apt-cache search window manager ( search X11 window manager )
    17 apt-get install fluxbox
    18 apt-get install xterm
    19 adduser <user1> ( add a user of your choice)
    20 su - <user1>
    21 vncpasswd ( generate a passwd for the vnc X11 server, stored in ~/.vnc/passwd )
    22 vnc4server -depth 24 -geometry 1024x768 :1
     131. Become root
     14
     152. {{{apt-cache search vncserver}}}
     16
     173. {{{apt-get install vnc4server}}} ( 25MB of basic X11 stuff installed )
     18
     194. {{{apt-cache search window manager}}} ( search X11 window manager )
     20
     215. {{{apt-get install fluxbox}}}
     22
     236. {{{apt-get install xterm}}}
     24
     257. {{{adduser <user1>}}} ( where <user1> is a username of your choice)
     26
     278. {{{su - <user1>}}}
     28
     299. {{{vncpasswd}}} ( generate a passwd for the vnc X11 server, stored in ~/.vnc/passwd )
     30
     3110. {{{vnc4server -depth 24 -geometry 1024x768 :1}}}
     32
    2333Now the VNC server is running on the DebWrt box ( and started /home/<user1>/.vnc/xstartup which starts fluxbox )
    24 Note: multiple vnc servers van be started. Instead of :1 you need to specify :2 or :3, etc... These display number are basically mapped to TCP port numbers: 5901, 5902, 5093, etc...
     34
     35**Note:** multiple vnc servers van be started. Instead of :1 you need to specify :2 or :3, etc... These display number are basically mapped to TCP port numbers: 5901, 5902, 5093, etc...
    2536
    2637== Installing the VNC Viewer ==
     
    2839Now the vncviewer need be started on a Linux PC or on a Windows PC with an XServer installed ( for example cygwin + Xserver ). Asuming Linux:
    2940
    30 vncviewer debwrt-box-ip:1 (note the :1, it is the display number of the vnc server)
    31 Enter the password
     411. {{{vncviewer debwrt-box-ip:1}}} (note the :1, it is the display number of the vnc server)
     422. Enter the password
    3243
    3344== Alternative Options ==
    3445
     46**Gnome**
     47
    3548On a box with quite some RAM and CPU(i.e. RouterStation Pro) it is even possible to run Gnome with Firefox.
     49
     50**SSH + X11 tunneling**
    3651
    3752You can also use SSH with X11 tunneling, from a Linux box or a Windows box with an X11 server installed:
    3853
    39 ssh -X <user1>@debwrt-box
    40 xterm ( or firefox, etc )
    41 The remote started program will pop-up on you screen
     541. {{{ssh -X <user1>@debwrt-box}}}
     552. {{{xterm}}} ( or firefox, etc )
     563. The remote started program will pop-up on you screen
    4257
    43 == Screen Capture ==
     58== Screenshots ==
    4459
    45 [[Image(http://www.debwrt.net/download/user/amain/images/Screenshot%20VNC%20server%20on%20DebWrt%20box.png)]]
     60[[Image(http://www.debwrt.net/download/user/amain/images/Screenshot%20VNC%20server%20on%20DebWrt%20box.png, 250px)]]
    4661