顯示具有 lxde 標籤的文章。 顯示所有文章
顯示具有 lxde 標籤的文章。 顯示所有文章

2011年10月13日 星期四

Set up FreeNX with LXDE on Arch Linux

1. install poptop server
pacman -S pptpd
2. edit the configuration file
vim /etc/pptpd.conf
--

option /etc/ppp/pptpd-options
localip 172.16.1.254
remoteip 172.16.1.1-253
localip is ip of pptp server
remoteip is the ip range which vpn client will get from

3. edit /etc/ppp/pptpd-options
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
ms-dns 168.95.1.1
ms-dns 168.95.192.1
require-mppe-128 enables encryption
ms-dns is dns server address

4. start pptp server
/etc/rc.d/pptpd start
5. add username and password to /etc/ppp/chap-secrets for ppp authentication
<username>     pptpd     <password>   *
6. make your iphone be a pptp client, General -> Network -> VPN -> Add a VPN -> PPTP
then fill all required fields and save

7. turn on VPN then you'll see the timer start timing

2009年4月8日 星期三

Autostart Applications in LXDE and Gnome

1. the desktop entry of program which you need run on session startup should be put in ~/.config/autostart

mkdir -p .config/autostart

2. create *.desktop or copy from what application you need from /usr/share/applications

[Desktop Entry]
Type=Application
Exec=command