892
edits
Line 13: | Line 13: | ||
Create file /etc/sysconfig/network-scripts/ifcfg-eth2 | Create file /etc/sysconfig/network-scripts/ifcfg-eth2 | ||
< | <pre> | ||
DEVICE=eth2 | DEVICE=eth2 | ||
BOOTPROTO=dhcp | BOOTPROTO=dhcp | ||
ONBOOT=yes | ONBOOT=yes | ||
</ | </pre> | ||
Plug in an ethernet cable with Internet and enable networking: | Plug in an ethernet cable with Internet and enable networking: | ||
< | <pre> | ||
/etc/init.d/network start | /etc/init.d/network start | ||
</ | </pre> | ||
Install lxde and unclutter: | Install lxde and unclutter: | ||
< | <pre> | ||
yum install lxde-common unclutter | yum install lxde-common unclutter | ||
</ | </pre> | ||
Set a password for the olpc user: | Set a password for the olpc user: | ||
< | <pre> | ||
passwd olpc | passwd olpc | ||
</ | </pre> | ||
create /home/olpc/.xsession | create /home/olpc/.xsession | ||
< | <pre> | ||
xhost +192.168.1.1 | xhost +192.168.1.1 | ||
unclutter -idle 5 & # This hides the mouse cursor | unclutter -idle 5 & # This hides the mouse cursor | ||
exec ck-xinit-session startlxde | exec ck-xinit-session startlxde | ||
</ | </pre> | ||
Change 192.168.1.1 to the IP of the server you want to allow remote X access for. This does not seem to work for hostnames, only IPs. | Change 192.168.1.1 to the IP of the server you want to allow remote X access for. This does not seem to work for hostnames, only IPs. | ||
Line 51: | Line 51: | ||
Disable network manager and enable normal network services: | Disable network manager and enable normal network services: | ||
< | <pre> | ||
chkconfig --level 2345 NetworkManager off | chkconfig --level 2345 NetworkManager off | ||
chkconfig --level 2345 network on | chkconfig --level 2345 network on | ||
</ | </pre> | ||
From the remote machine (space.local) run: | From the remote machine (space.local) run: | ||
< | <pre> | ||
DISPLAY=olpc.local:0 chromium-browser --kiosk "https://omnicommons.org/calendar" | DISPLAY=olpc.local:0 chromium-browser --kiosk "https://omnicommons.org/calendar" | ||
</ | </pre> | ||
You should make this run on startup. | You should make this run on startup. |