Archive for April 24th, 2009
Running VNC on Local Display (X:0)
by z3n on Apr.24, 2009, under Linux Happyness
Problem:
Running a VNC server on a virtual display is easy but when it comes to emulate a logged session it’s a hell. I’ve been looking around and couldn’t find anything about “how to run vnc on local display” , “running vncserver on :0″ etc etc google has let me down.
Solution:
I’m using vnc-server 4.1.3-1.fc10 on my machine, however, this solution has been implemented a long time ago (apparently), but it’s obscure:
x0vncserver
Note that it will not have a good performance, at least not on my crappy machine, but it works…
Fedora 10 Network issues
by z3n on Apr.24, 2009, under Linux Happyness
Problem:
After instaling a language pack on the system some services apparently restarted and then network stopped working. I was able to ping and IP but couldn’t resolve anything. Even with the resolv.conf filled with DNS.
Solution:
The issue wasn’t on the resolv.conf, looks like that NetworkManager was conflicting with something, when i logged at gnome it was stating that i was “disconnected”, but i had 2 wired connections on that machine, so something was very wrong.
I decided to shutdown NetworkManager and manually configure the ips and gateways, this is the config i made:
ifconfig eth0 192.168.1.5 netmask 255.255.255.0
ifconfig eth1 1.0.0.1 netmask 255.255.255.0
route add default gateway 192.168.1.253
route add 1.0.0.0 gateway 1.0.0.1
my router is on 192.168.1.253 and i have a internal network with the 1.0.0.* on the secondary NIC. route commands are the most importaint, they were avoiding me to resolve the addresses. Also when you disable the networkmanager NICs will not have ips unless you define them manually.
So, it’s just add this to /etc/rc.d/rc.local and everytime you boot you will have your network working just fine without networkmanager crappyness. Obviously that you don’t need to reboot to make this work.