Sun Feb 24, 2013 2:02 pm
Sun Feb 24, 2013 4:56 pm
Sun Feb 24, 2013 5:12 pm
golinux wrote:Refracta xfce wheezy is already pretty minimal compared to a full-blown DE. Guess everything is relative . . .
Wed Feb 27, 2013 2:01 pm
Wed Feb 27, 2013 2:32 pm
Wed Feb 27, 2013 4:13 pm
Wed Feb 27, 2013 4:24 pm
Wed Feb 27, 2013 5:04 pm
golinux wrote:Just confirming . . . the ibiblio link goes to the 'current' folder which now contains 6.06 isos while the sourceforge download is for wheezy?
Wed Feb 27, 2013 6:23 pm
Wed Feb 27, 2013 7:02 pm
=================================
___ VNC over SSH ___
(Optional) Add ssh authorization key:
ssh-add /path-to-key/id_rsa
There are several ways to start a vnc session.
1. Use custom scripts: vncssh (on client) and vncserv (on server)
If xserver is running and user is logged in to desktop on remote-host,
open a terminal on the client and run vncssh.
vncssh [user@]<host>[:xdisplay] [port]
(user, xdisplay and port are optional)
Examples:
vncssh someserver.com:0
vncssh fred@homeserver 1234
If user is not logged in on remote host, but xserver is running:
vncssh root@remote-host
2. If the server does not have the vncserv script, but it does have
x11vnc installed, you can edit /usr/local/bin/vncssh and change:
cmd="/usr/local/bin/vncserv"
to
cmd="x11vnc -auth /var/run/lightdm/root/:0 -localhost -display :0"
3. Do it manually, without the scripts:
Start remote vnc server over ssh:
ssh -t -L 5900:localhost:5900 user@remote-host 'x11vnc -localhost -display :0'
If user is not logged in on remote host, or if the remote host is using
some display manager other than lightdm, do something like the following.
Log into remote host through ssh and get the auth file
from 'ps ax | grep auth'. For lightdm, it will probably be
/var/run/lightdm/root/:0 and for gdm3, find the line in the output
that has gmd3 in it and look to the end for a filename with random
characters in it.
Then exit and run:
ssh -t -L 5900:localhost:5900 root@remote-host 'x11vnc -auth /path/to/authfile -localhost -display :0'
Once you've started the remote vnc server, open another terminal,
and connect to the remote desktop with:
vncviewer -encodings "copyrect tight hextile" localhost:0
4. If xserver is not running on the remote-host, you won't be able to
use x11vnc. You can remedy this on the server by installing xvfb and
editing /usr/local/bin/vncserv to uncomment the following lines:
#else
# x11vnc -create -env FD_PROG=/usr/bin/xfce4-session \
# -env X11VNC_FINDDISPLAY_ALWAYS_FAILS=1 \
# -env X11VNC_CREATE_GEOM=${1:-1024x768x16} \
# -gone 'killall Xvfb' \
# -bg -nopw
___ YET ANOTHER WAY TO DO VNC ___
This way is ok on a local network but is not as secure as with ssh.
On the server:
Main menu --> Internet --> X11VNC Server
Click OK (or change the port if you want)
Another window comes up, check the box next to "Accept Connections"
Optionally, you can create a password.
Click Apply or OK
On the client, issue the command:
vncviewer
A small window comes up; enter the name or IP number of the remote server.
Click OK
(Alternate: 'vncviewer remote-host:0)
For more details, see http://www.karlrunge.com/x11vnc/
=================================