2010-12-30, 09:12
You can use NX to remotely access your XBMCLive system from another local PC.
Here are the steps involved:
We need to add a bash script so that when you remotely log on, we exit properly when loging off later.
Now we will install LXDE without recommends. We don't want any gdm type of stuff being installed.
Now on your non XBMC PC either LINUX or Windows install the NX client.
Now you need to start the 'NX Connection Wizard'.
Here are the steps involved:
Quote:mkdir NX
cd NX
sudo aptitude install libaudiofile0
wget http://64.34.161.181/download/3.4.0/Linu...7_i386.deb
wget http://64.34.161.181/download/3.4.0/Linu...4_i386.deb
wget http://64.34.161.181/download/3.4.0/Linu...4_i386.deb
sudo dpkg -i nxclient_3.4.0-7_i386.deb
sudo dpkg -i nxnode_3.4.0-14_i386.deb
sudo dpkg -i nxserver_3.4.0-14_i386.deb
cd ..
We need to add a bash script so that when you remotely log on, we exit properly when loging off later.
Quote:sudo nano /usr/NX/bin/nxwrapper
Quote:#!/bin/bash
nxnode=$(ps -o ppid= -p $PPID)
nxagent=$(pgrep -P $nxnode -u $USER -x nxagent)
${1+"$@"}
exec kill $nxagent
sudo chmod 755 /usr/NX/bin/nxwrapper
Now we will install LXDE without recommends. We don't want any gdm type of stuff being installed.
Quote:sudo aptitude install --without-recommends lxde-core
sudo aptitude install gksu gnome-icon-theme manpages-dev openbox-themes
sudo aptitude install synaptic
Now on your non XBMC PC either LINUX or Windows install the NX client.
Quote:For LINUX
wget http://64.34.161.181/download/3.4.0/Linu...7_i386.deb
sudo dpkg -i nxclient_3.4.0-7_i386.deb
For PC
Download NX Client for Windows http://64.34.161.181/download/3.4.0/Wind...4.0-10.exe
Then install the exe file.
Now you need to start the 'NX Connection Wizard'.
Quote:Click Next > a new window opens
enter Session name
enter Host IP address
move slider over to 'LAN'
Click Next > a new window opens
Select Unix then select Custom from the drop downs
Click Settings... a new pop-up opens
Click radio button Run the following command
Enter the following
Quote:/usr/NX/bin/nxwrapper startlxde
Click radio button New virtual desktop
then Click OK
Click the box Disable encryption of all traffic
Then Click Next >
Then make sure the two boxes are checked on the next screen
Click Finish a new window opens
In the General tab
Click box Remember my password
In the Advanced tab
Adjust the Cache settings to the max.
Then Click Save
Then Click OK
Then a new small window opens up
Under Login... fill in the XBMCLive username
Under Password... fill in the XBMCLive password
Then Click Login
The small window closes and you'll see a new large window opens with a new virtual LXDE desktop.
Now do whatever you need to do to your system.