~ overflow ~

Tag: fedora

Building Vidalia from Source at Fedora Core 6

by z3n on Jun.10, 2009, under Linux Happyness

Problem:

How to build vidalia from source at FC6 ?

Solution:

Ignore the INSTALL file, apparently it’s outdated and qt is no longer the same they link there, you can install all the needed packs from yum:

yum install qt4 qt4-dev* nas tor privoxy qt cmake

Then it’s just build from source:

cd /path/to/vidalia-src

cmake .;make;make install

done!

Source:

Vidalia Project Trac

Extra:

For me, tor didn’t worked at all it kept connecting forever and couldn’t build a node list, i figured out that the latest tor engine for fc6 installed by yum was 0.1.x which didn’t work with the actual network anymore, so i had install tor 0.2.x from the source, after that it almost connected, tor kept building a nodelist forever, so i checked the message log and figured out that the machine clock was wrong, in order to fix that, i had to sync it using ntp.

Leave a Comment :, , , , , , more...

Real VNC Viewer on Windows + VNC Server on Linux = Accent Issues

by z3n on Jun.05, 2009, under Linux Happyness

Problem:

Accents (á,à,ã,etc) not working on vnc viewer, for example:

instead of  á it shows  ”a (double ‘)

Solution:

I’ve been looking around for a long time to fix this issue, i haven’t found any relevant information about it.

So i decided to install a different VNC client program, turns out that TightVNC Fixed the issue.

Note that it will not work if you don’t configure your keyboard proprietly on linux, I write in portuguese and english, so as keyboard i have Generic International keyboard, as layout Brazil / Brazil.

Leave a Comment :, , , , , , , , more...

CanoScan N640P on Linux

by z3n on Apr.28, 2009, under Linux Happyness

Problem:

Configuring my old school CanoScan N640P on linux.

Solution:

Install sane pack.

Edit /etc/sane.d/dll.conf, comment everything but canon_pp

Edit /etc/sane.d/canon_pp.conf, uncomment force-nibble

use xsane or scanimage (CLI) to scan your stuff!

Full Story:

There’s 2 options, with SANE or using this old project.

With sane it’s easier, you just need to make sure you uncomment the canon_pp from your /etc/sane.d/dll.conf

the documentation is a bit obscure and errors as well, specially when you’re doing this on CLI.

After uncommenting the dll.conf (canon_pp) you can open xsane, and then it will detect the scanner correctly.

For me, xsane worked better than the sane-find-scanner, wich, even with the -p switch never detected anything.

There’s another way to detect it on the command line, by scanimage -L, wich will list the detected scanners using a different method, you can also do the whole scan process using scanimage, not good as xscan but an alternate.

xsane was able to calibrate my scanner, however, when i tried to scan i got a kernel fail, not sure if this scanner is too old or it’s something with the LPT buffer, after the kernel crash scanner stopped working correctly, it only scans a part of the image, apparently until the LPT buffer is full, but data never reaches the computer, scanner gets stuck in the middle of it’s job waiting for the machine return (apparently :P). Scanimage has an option to change the LPT buffer, i tried it out by scanimage -T -B -p -v, but nothing it still getting stuck in the middle.

After some more research i figured out that uncomenting force-nibble at canon_pp.conf did the work.

Sources:

Ubuntu Forums

Linux Certif

derkeiler.com

Leave a Comment :, , , , , , more...

Bluetooth audio on Fedora 10

by z3n on Apr.28, 2009, under Unsolved

Problem:

Link my HT-820 headphones with my bluetooth device using fedora.

I’ve searched many places, but nothing worked, I’m able to pair the headphone with hcitool, however there’s no option anywhere to output the audio using the bluetooth.

I also tried to configure sound with ALSA and nothing.

Using a this usefull bluetooth script, i was able to go a little further on the issue, with the error:

Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Apparently this seemed for me as a SELinux issue, it would be blocking something, but even with SELinux disabled the error persists.

Gnome’s bluetooth applet works good on detecting and pairing the device, however, there’s no place where i can list the services or even connect with them, it only allows me to send or receive files from it. I also tried KDE bluetooth applet, slightly better, but yet, no other pairing options.

Leave a Comment :, , , , , more...

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…

Leave a Comment :, , , , more...

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.

Leave a Comment :, , , , , more...

Disabling Fedora 10 Color Boot

by z3n on Apr.23, 2009, under Linux Happyness

Problem:

This new fedora don’t show the boot process by default, by boot process i mean the loading of the services and other stuff that could be usefull if you fall on a error.

Solution:

vi /etc/sysconfig/init

change:

BOOTUP=color

to

BOOTUP=verbose

Leave a Comment :, , more...

Disabling Fedora 10 Graphical boot

by z3n on Apr.23, 2009, under Linux Happyness

Problem:

Fedora’s graphical login is not good when you don’t have a mouse to click the buttons.

Solution:

vi /etc/inittab
change id:5:initdefault:
to id:3:initdefault:

Source:

fedoraforum

Leave a Comment :, , more...

Firefox (and all mozilla based) issues on Fedora

by z3n on Apr.02, 2009, under Linux Happyness

Problem:

when running firefox on fedora 9+ you get this errors:

(firefox:30077): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)’ failed

(firefox:30077): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion `G_IS_OBJECT (object)’ failed

(firefox:30077): Pango-CRITICAL **: pango_font_find_shaper: assertion `font != NULL’ failed

(firefox:30077): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type=’PangoRenderFc’, script=’latin’

(firefox:30077): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)’ failed

(firefox:30077): Pango-CRITICAL **: pango_font_describe: assertion `font != NULL’ failed
/usr/lib/firefox-3.0.8/run-mozilla.sh: line 131: 30077 Segmentation fault

and it simply won’t start. For others, like seamonkey, it simply shows “Segmentation Fault”.

Solution:

yum install xorg-x11-font*

Leave a Comment :, , , , more...

Fedora + VNC Server + Wine + Perfect Dark p2p

by z3n on Mar.05, 2009, under Linux Happyness

Problem:

Run perfect dark on a remote fedora/linux server

Solution:

You need to install a vncserver and wine (to emulate windows),

yum install wine-tools wine-capi wine-core wiwine-nas wine-twain wine-nas wine-cms wine-jack wine-ldap wine vnc-server vnc

then you configure the user(s) who will use the vnc server here:

vi /etc/sysconfig/vncservers

VNCSERVERS=”2:your_happy_user_name”
VNCSERVERARGS[2]=”-geometry 800×600 -nohttpd”

(note that the number 2 matches, if you need to add more users just change the array, note that when you connect you will need to change the display to match this number as well)

after that you need to configure the vncserver password on your user (do this logged as the user you will use on vnc) — the command is vncpasswd

alright now you’re ready to start the vnc server, you can either put it to start automatically or do it manually, i like it manually so know when it’s up:

service vncserver start

now on your client machine you open the vncviewer and connect to your server, remember that number 2 on the config file? it’s the display number, so you gonna connect to : example.com:2

there you go, now you just need to place perfect dark on your “drive_c” folder , which is at ~/.wine/drive_c/ then start it, by

cd ~/.wine/drive_c/Perfect_Dark/;wine ./perfect \dark.exe

don’t forget to configure your folders and the firewall. to view the japanese fonts you need to edit the visual.txt (if you don’t have it at mutagen folder, go on perfect dark options and click on generate mutagen) on visual.txt you will need to change:

“default font” = “MS Pゴシック”

“eye font” = “MS Pゴシック”

MS Pゴシック is the best font for perfect dark, it don’t get blurry or too small, however if you don’t have it you can use MS PGothic, which gets blurry but it’s readable.

if “MS Pゴシック” don’t work for you use “MS PGothic” instead, don’t forget that you need to upload the file msgothic.ttc (from your windows fonts) to ~/.wine/drive_c/windows/fonts/

this visual.txt is also in utf-16, so get yourself a good editor.

that’s it, also a last note, if you open perfect dark and it says “connected but port not open” even if you know you’re not behind a firewall, do this:

go settings and change the ports to a different number and press ok

magic! it’s working!!!

hahahah

Leave a Comment :, , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!