Thursday, February 26, 2009

Port forwarding for VNC session

Use Putty to connect to local port that would be forwarded to remote desktop port
http://www.ep.ph.bham.ac.uk/general/support/vncsetup.html

Thursday, February 12, 2009

installing vnc server on Fedora 10

Having remote desktop support on GNome does not mean that the vncserver service is available.
To install the service:
yum install vnc-server

You can then access GNOME session without having a physical console.

To learn how to setup this, read:
http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/

Friday, February 6, 2009

Showing Linux disks information

command: fdisk -l

Sample output:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008dc7b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 60801 488183220 8e Linux LVM

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d4e6e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 10011 80308935 8e Linux LVM
/dev/sdb3 10012 19457 75874995 8e Linux LVM

Fedora root UI login

Fedora 10 update GDM config to allow root login

Type your root password. Next, make a backup of /etc/pam.d/gdm, enter:
cp /etc/pam.d/gdm /root
Now open /etc/pam.d/gdm using gedit or vi text editor, enter:
gedit /etc/pam.d/gdm
OR
vi /etc/pam.d/gdm
Alternatively, you can do everything in a one command:
su -c 'gedit /etc/pam.d/gdm'
Find line that read as follows:

auth required pam_succeed_if.so user != root quiet

Remove or comment out line by prefixing #.

# auth required pam_succeed_if.so user != root quiet

Save and close the file. Logout from terminal and from GUI itself. Now you should be able login as root user using GDM GUI login manager.