Excerpt

Showing posts with label notes. Show all posts
Showing posts with label notes. Show all posts

Friday, April 25, 2014

Disable Guest Session account

My scenario:

Ubuntu 14.04

Tried to disable the Guest Session by editing the /etc/lightdm/lightdm.conf with following value.

allow-guest=false

The lightdm.conf was empty before edit, somehow by writing that caused the screen blank after logged out and wasn't able to login.

So I reboot into recovery mode, and rewrite the lightdm.conf as following:

mount -o rw,remount /
nano /etc/lightdm/lightdm.conf

Insert into lightdm.conf the following:

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false

Reboot and the problem solved :-)

Connected to WiFi but not internet - Ubuntu 14.04

The wireless driver installed properly, able to connect to WiFi but not able to surf internet.

My case:

Dell INSPIRON N4050WPA/WPA2

Solutions:

1) Connect to WiFi

2) Edit Connections > IPv6 Settings > Method: Ignore > Save

3) Disconnect and reconnect to WiFi

That's it :-)

p/s: IPv4 Method: Automatic (DHCP) addresses only, adding "8.8.8.8, 8.8.8.4" into IPv4 "Additional DNS servers" might also helping.

Cara tukar nama komputer

1) sudo gedit /etc/hostname

2) sudo gedit /etc/hosts

Pastikan tukar kepada nama yang sama, sepatutnya berkesan selagi tidak ada tetapan yang bergantung kepada "nama" yang lama.

3) sudo service hostname restart

Masalah aku tadi tak boleh nak surf www.hilmanali.com sebab masa install ubuntu aku dah letak "hilmanali.com" sebagai nama komputer. So bila check semua dalam fail hosts, hilmanali.com pointed to 127.0.0.1 di mana itu adalah IP localhost hahaha.