Thursday, July 31, 2008

How to set Display for local ip on RHEL5/OEL5

1. Check the current display setting:
echo $DISPLAY
:0.0
2. With this xclock will work.
3. Now suppose we have local m/c ip-address: 10.1.12.55
4. Set the display as
export $DISPLAY=10.1.12.55:0.0
5. Xclock
Can't open display on 10.1.12.55
6. set DISPLAY to :0.0
export DISPLAY=:0.0
7. Start gdmsetup, go to security , un-check the "Deny TCP connections to Xserver"
8. reeboot or restart gdm :
gdm-restart
9. Now set display as localip:
export DISPLAY=10.1.12.55:0.0
10. run xclock

Friday, January 18, 2008

Internet Connection with GPRS enabled mobile with bluethoot on Linux

Step1: Get GPRS service enabled on ur mobile.
Step2: Get the setting of modem for mobile from ISP.
Step3: Login on Linux m/c with gnome.
Step4: From mobile scan the bluetooth of laptop. and set password "1"
Step5: On linux notebook, will get bluetooth request from mobile, type passwd: "1".
Step6: start kppp on linux.
Step7: go to configure create new account , give connection name and phone-no: "*99***1#" in dial section. Leave the rest of setting as default.
Step8: Now go to modem settings , add new modem:
supply modem name, modem -device (/dev/rfcomm0),any connection speed(115200)
Step9: Now connect.

Incase of any query please conntact Manoj.Kumar.Jha@gmail.com.