Thursday, December 13, 2007
Change date in Ubuntu from command line
date 051918002007.00
Wednesday, December 5, 2007
Establishing a Secure Remote Desktop Session
Once the SSH server is installed and active it is time to move to the other system. At the other system, log in to the remote system using the following command, which will establish the secure tunnel between the two systems:
ssh -L 5900:localhost:5900 hostname
In the above example, hostname is either the hostname or IP address of the remote system. Log in using your account and password. The secure connection is now established and it is time to launch vncviewer so that it uses the secure tunnel. Leaving the ssh session running in the other terminal window, launch another terminal and enter the following command:
vncviewer localhost::5900
The vncviewer session will prompt for a password if one is required, and then launch the VNC viewer providing secure access to your desktop environment.
Run windows applications in Ubuntu
First, open a terminal window. Then add the repository's key to your system's list of trusted APT keys by copy and pasting the following:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
For Ubuntu Feisty (7.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list
then:
apt-get install wine
for run application:
wine Application-Name
Activate 3D Desktop in Ubuntu
sudo apt-get install 3ddesktop
2. 3ddesktop should be installed.
3. you can type 3ddesk and press enter (normal user) in terminal to run this. (Use arrow keys to change desktops, enter to select that desktop)
How to make a desktop launcher for 3d desktop:
1.Right click on an empty area in the taskbar, and click "add to panel"
2. Double click "custom application launcher"
3. Name: 3D Desktop changer
Comment: My cool 3D Desktop changer (or whatever you like)
Command: 3ddesk
Make sure you have "run in terminal" unchecked.
If you want, you can select an icon by clicking on "no icon" button.
4. CLick OK
To run 3ddesktop switcher, just click on the icon you just made on the panel.
Tuesday, December 4, 2007
Enable ACL in Ubuntu
for /samba partition:
# mount –o remount,acl /samba
To permanently enable ACL support, add acl after the defaults option in /etc/fstab: /dev/mapper/VolGroup00-SambaVol /samba ext3 defaults,acl 0 0
Change monitor refresh rate in Ubuntu
If you have a non-standard setup you might be forced to do some manual
configuration. Edit /etc/X11/xorg.conf to do that.
What you want to change is the HorizSync and VertRefresh values in the
Monitor section. Here is an example from setup.
Section "Monitor"
Identifier "SyncMaster 975p"
VendorName "SAMSUNG"
ModelName "SyncMaster 975p"
HorizSync 30-96 <=============== VertRefresh 50-160 <=============== DisplaySize 361 271 Option "DPMS" EndSection