Changes between Version 1 and Version 2 of DocNetUserVnc
- Timestamp:
- Aug 11, 2011, 4:30:56 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DocNetUserVnc
v1 v2 11 11 On the DebWrt box: 12 12 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 13 1. Become root 14 15 2. {{{apt-cache search vncserver}}} 16 17 3. {{{apt-get install vnc4server}}} ( 25MB of basic X11 stuff installed ) 18 19 4. {{{apt-cache search window manager}}} ( search X11 window manager ) 20 21 5. {{{apt-get install fluxbox}}} 22 23 6. {{{apt-get install xterm}}} 24 25 7. {{{adduser <user1>}}} ( where <user1> is a username of your choice) 26 27 8. {{{su - <user1>}}} 28 29 9. {{{vncpasswd}}} ( generate a passwd for the vnc X11 server, stored in ~/.vnc/passwd ) 30 31 10. {{{vnc4server -depth 24 -geometry 1024x768 :1}}} 32 23 33 Now 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... 25 36 26 37 == Installing the VNC Viewer == … … 28 39 Now the vncviewer need be started on a Linux PC or on a Windows PC with an XServer installed ( for example cygwin + Xserver ). Asuming Linux: 29 40 30 vncviewer debwrt-box-ip:1(note the :1, it is the display number of the vnc server)31 Enter the password41 1. {{{vncviewer debwrt-box-ip:1}}} (note the :1, it is the display number of the vnc server) 42 2. Enter the password 32 43 33 44 == Alternative Options == 34 45 46 **Gnome** 47 35 48 On 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** 36 51 37 52 You can also use SSH with X11 tunneling, from a Linux box or a Windows box with an X11 server installed: 38 53 39 ssh -X <user1>@debwrt-box 40 xterm( or firefox, etc )41 The remote started program will pop-up on you screen54 1. {{{ssh -X <user1>@debwrt-box}}} 55 2. {{{xterm}}} ( or firefox, etc ) 56 3. The remote started program will pop-up on you screen 42 57 43 == Screen Capture==58 == Screenshots == 44 59 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)]] 46 61