You are not logged in.
I'm new with Arch Linux and AwesomeWM and I can't figure out how to execute Firefox or Chromium. I've modified my rc.lua file in ~/.config/awesome/ adding the variable in this way:
browser = "chromium" (or "firefox"),and then:
myawesomemenu = {
{ "www", browser }, When I try to launch the app in the menu, it seems to be loading it, but then nothing happens.
Last edited by kirafreaky (2012-07-19 04:00:00)
Offline
check the output of tty1 (or wherever you launched X) and see if there are any error messages being produced.
Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub
Offline
What happens if you open a terminal and try to start them from the command line. The output could be telling.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
mjheagle8, It doesn't show any error there.
ewaller, with Firefox nothing happens but with Chromium it shows me this error: /usr/lib/chromium/chromium: error while loading shared libraries: /usr/lib/libevent-2.0.so.5: file too short
Last edited by kirafreaky (2012-07-17 03:54:16)
Offline
Is your system fully up to date? ( sudo pacman -Syu )
Have you successfully completed the /lib & glib migration ? https://bbs.archlinux.org/viewtopic.php?id=145006
What is the output of ls -l /usr/lib/libevent* ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I've updated my system and solved the glibc problem. Anyway I cannot open a browser.
the output of ls -l /usr/lib/libevent* is:
lrwxrwxrwx 1 root root 21 May 21 17:22 /lib/libevent-2.0.so.5 -> libevent-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent.a
lrwxrwxrwx 1 root root 21 May 21 17:22 /lib/libevent-2.0.so -> libevent-2.0.so.5.1.7
lrwxrwxrwx 1 root root 26 May 21 17:22 /lib/libevent-core-2.0.so.5 -> libevent_core-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_core-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_core.a
lrwxrwxrwx 1 root root 26 May 21 17:22 /lib/libevent-core.so. -> libevent_core-2.0.so.5.1.7
lrwxrwxrwx 1 root root 27 May 21 17:22 /lib/libevent_extra-2.0.so.5 -> libevent_extra-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_extra-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_extra.a
lrwxrwxrwx 1 root root 27 May 21 17:22 /lib/libevent_extra.so -> libevent_extra-2.0.so.5.1.7
lrwxrwxrwx 1 root root 29 May 21 17:22 /lib/libevent_openssl-2.0.so.5 -> libevent_openssl-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_openssl-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_openssl.a
lrwxrwxrwx 1 root root 29 May 21 17:22 /lib/libevent_openssl.so -> libevent_openssl-2.0.so.5.1.7
lrwxrwxrwx 1 root root 30 May 21 17:22 /lib/libevent_pthreads-2.0.so.5 -> libevent_pthreads-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_pthreads-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_pthreads.a
lrwxrwxrwx 1 root root 30 May 21 17:22 /lib/libevent_pthreads.so -> libevent_pthreads-2.0.so.5.1.7 Offline
Well, I tend to agree that a zero length library is probably too short ![]()
...
lrwxrwxrwx 1 root root 21 May 21 17:22 /lib/libevent-2.0.so.5 -> libevent-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent-2.0.so.5.1.7
...can you please post the output of :
ls -l /
and of
ls -l /usr/lib/libevent*
I am convinced you are still dealing with a hosed /lib -> /usr/lib link.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Why add a variable?
inet = {
{ "www", "firefox" }
}You can look at my rc.lua in my sig below. Also many different examples are in the Awesome screenshot thread.
EDIT:
I should learn to read better. Apologies, didn't see the portion about it not working in terminals as well.
Last edited by doug piston (2012-07-17 21:02:06)
Offline
ls -l / :
total 1137
drwxr-xr-x 2 root root 4096 Jul 17 11:38 bin
drwxr-xr-x 4 root root 1024 Jul 17 11:38 boot
drwxr-xr-x 16 root root 3100 Jul 17 11:38 dev
drwxr-xr-x 63 root root 4096 Jul 17 11:38 etc
drwxr-xr-x 4 root root 4096 Jul 17 11:38 home
lrwxrwxrwx 1 root root 7 Jul 7 05:09 lib -> usr/lib
lrwxrwxrwx 1 root root 7 Jul 7 05:09 lib64 -> usr/lib
drwx------ 2 root root 16384 Dec 31 2000 lost+found
drwxr-xr-x 2 root root 4096 Jun 20 04:31 media
drwxr-xr-x 2 root root 4096 Jun 20 04:31 mnt
drwxr-xr-x 2 root root 4096 Jun 20 04:31 opt
dr-xr-xr-x 90 root root 0 Jul 17 14:47 proc
drwxr-x--- 15 root root 4096 Jul 11 03:25 root
drwxr-xr-x 16 root root 440 Jun 17 14:48 run
drwxr-xr-x 2 root root 4096 Jul 17 12:09 sbin
-rw-r--r-- 1 root root 1101800 Jul 11 01:21 slim.png
drwxr-xr-x 4 root root 4096 Jun 20 04:31 srv ls -l /usr/lib/libevent* :
lrwxrwxrwx 1 root root 21 May 21 17:22 /lib/libevent-2.0.so.5 -> libevent-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent.a
lrwxrwxrwx 1 root root 21 May 21 17:22 /lib/libevent-2.0.so -> libevent-2.0.so.5.1.7
lrwxrwxrwx 1 root root 26 May 21 17:22 /lib/libevent-core-2.0.so.5 -> libevent_core-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_core-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_core.a
lrwxrwxrwx 1 root root 26 May 21 17:22 /lib/libevent-core.so. -> libevent_core-2.0.so.5.1.7
lrwxrwxrwx 1 root root 27 May 21 17:22 /lib/libevent_extra-2.0.so.5 -> libevent_extra-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_extra-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_extra.a
lrwxrwxrwx 1 root root 27 May 21 17:22 /lib/libevent_extra.so -> libevent_extra-2.0.so.5.1.7
lrwxrwxrwx 1 root root 29 May 21 17:22 /lib/libevent_openssl-2.0.so.5 -> libevent_openssl-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_openssl-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_openssl.a
lrwxrwxrwx 1 root root 29 May 21 17:22 /lib/libevent_openssl.so -> libevent_openssl-2.0.so.5.1.7
lrwxrwxrwx 1 root root 30 May 21 17:22 /lib/libevent_pthreads-2.0.so.5 -> libevent_pthreads-2.0.so.5.1.7
-rwxr-xr-x 1 root root 0 May 21 17:22 /lib/libevent_pthreads-2.0.so.5.1.7
-rw-r--r-- 1 root root 0 May 21 17:22 /lib/libevent_pthreads.a
lrwxrwxrwx 1 root root 30 May 21 17:22 /lib/libevent_pthreads.so -> libevent_pthreads-2.0.so.5.1.7 Offline
doug piston, I've tried that too but didn't have success.
Offline
Okay, try re-installing libevent.
# pacman -S libeventNothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for your help ewaller, but didn't work
. I should add when I instaled Arch Linux I downloaded the Gnome DE and then removed it and started using awesome-git, but there were some bugs, so i removed it and installed awesome last stable version with Yaourt.. Maybe there is some gnome package interfering with it, but I don't really know.
EDIT: With awesome-git the browser didn't work too.
Last edited by kirafreaky (2012-07-17 22:28:06)
Offline
I am afraid I am running out of airspeed, altitude and ideas, all at once.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
kirafreaky,
I recommend removing the most recent version of libevent from /var/cache/pacman/pkg/ and then reinstall as ewaller had suggested.
Offline
skottish,
Thanks for the suggestion, I followed it but it didn't removed the problem.
Offline
skottish,
Thanks for the suggestion, I followed it but it didn't removed the problem.
Do you still have 0 byte files for libevent?
Offline
kirafreaky wrote:skottish,
Thanks for the suggestion, I followed it but it didn't removed the problem.
Do you still have 0 byte files for libevent?
Yep, I still have them.
Offline
skottish wrote:kirafreaky wrote:skottish,
Thanks for the suggestion, I followed it but it didn't removed the problem.
Do you still have 0 byte files for libevent?
Yep, I still have them.
Drat! Pesky little bug.
You can try to remove libevent with -Rdd and reinstall.
Offline
kirafreaky wrote:skottish wrote:Do you still have 0 byte files for libevent?
Yep, I still have them.
Drat! Pesky little bug.
You can try to remove libevent with -Rdd and reinstall.
Sorry for asking this, how do i use -Rdd? I tried "sudo rm -Rdd libevent" but it gives me a bash.
Offline
That should be
sudo pacman -Rdd libeventNothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
skottish wrote:kirafreaky wrote:Yep, I still have them.
Drat! Pesky little bug.
You can try to remove libevent with -Rdd and reinstall.
Sorry for asking this, how do i use -Rdd? I tried "sudo rm -Rdd libevent" but it gives me a bash.
pacman -Rdd libevent
It removes a package while ignoring dependecies. Just make sure that you reinstall right away just in case anything else needs it.
If that fails, I would make a copy of the package in the cache and place it in some directory by itself. Use bsdtar to decompress it while not being root:
bsdtar -xf libevent-<whatever the rest of file is called>
and check to see if any of the files inside are zero byte. If they are, you'll probably need switch mirrors to get the file. I'm not sure how modern pacman could miss such a thing, but it has happened in the past.
Offline
Damn, no success here. Should I try reinstalling Arch linux? ![]()
EDIT: I still get 0 byte files
EDIT: I haven't used bsdtar, I'll try it.
Last edited by kirafreaky (2012-07-18 04:02:51)
Offline
Damn, no success here. Should I try reinstalling Arch linux?
EDIT: I still get 0 byte files
Did you try what skottish suggested, e.g.:
tar tvf /var/pacman/cache/pkg/libevent-*That should show you whether the package you received from the mirror contains the correct files. I can't see how that would happen, but it's certainly worth a shot.
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
So I used this command:
tar tvf /var/cache/pacman/pkg/libevent-* and I found a lot of 0 bytes files
-rw-r--r-- root/root 520 2012-05-21 17:22 .PKINFO
drwxr-xr-x root/root 0 2012-05-21 17:22 usr/
drwxr-xr-x root/root 0 2012-05-21 17:22 usr/bin
drwxr-xr-x root/root 0 2012-05-21 17:22 usr/include
drwxr-xr-x root/root 0 2012-05-21 17:22 usr/lib
lrwxrwxrwx root root 0 2012-02-21 17:22 usr/lib/libevent-2.0.so.5 -> libevent-2.0.so.5.1.7 ... Offline
Is that the complete output ? I would expect directories and soft links to be zero. The last five lines fall into that category.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline