hi all,
i was able to configure a GNU/Linux server with CEDEGA to run an LFS server.
- install CEDEGA on your GNU/Linux box
- install VNC server and VNC viewer on your GNU/Linux server
- create a user dedicated to run the LFS server
- download the LFS server zip file and unzip it
- create an ~/.Xsession that contains:
-------------
#!/bin/sh
cedega
-------------
- chmod 755 this file
- log onto you GNU/Linux box through ssh
- launch with you user the vncserver:
------------
vncserver -geometry 800x600
------------
Now you are able to connect throught VNC to your GNU/Linux box, and run LFS with CEDEGA.
But VNC is not a secure way to get the control of your GNU/Linux box...
- you can change the vncpassword with vncpassword
- close the VNC (5901) port with iptables on your server:
------------------------------------------
iptables -N DENY_VNC
iptables -A DENY_VNC
iptables -I OUTPUT -p tcp --dport 5901 -j DENY_VNC
------------------------------------------
- now connect to your GNU/Linux server with ssh:
--------------
ssh -L 5902:lolcahost:5901 USER@IP_SERVER
--------------
- and launch the vncviewer:
---------------
vncviewer localhost:1
----------------
- wait, and the VNC view should appear.
- Your are now running VNC through Ssh