LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2016, 12:38 AM   #1
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Rep: Reputation: 1
midori do not show pages and ui correct


midori do not show pages and ui correct also proxy not work

terminal output:
Code:
bash-4.3# midori

** (midori4:6184): CRITICAL **: enchant_broker_dict_exists: assertion 'tag && strlen(tag)' failed

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:2:31: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:3:39: The style property GtkButton:default-outside-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:4:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:5:33: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:6:30: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(midori4:6184): Gtk-WARNING **: Theme parsing error: gtk3.css:26:20: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(midori4:6184): Gtk-WARNING **: Error loading theme icon 'package' for stock: Icon 'package' not present in theme Adwaita

(midori4:6184): Gtk-WARNING **: Error loading theme icon 'package' for stock: Icon 'package' not present in theme Adwaita

(midori4:6184): Gtk-WARNING **: Error loading theme icon 'package' for stock: Icon 'package' not present in theme Adwaita
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
how to fix it?
 
Old 11-17-2016, 01:03 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
about the ui try changing your icon theme, see for example if using the Tango icon theme in your desktop works (try also others).
same thing for your gtk+3 theme, try changing it: please post the output of this command
Code:
cat ~/.config/gtk-3.0/settings.ini
regarding the proxy seems to be a regression in webkit2gtk: to use a proxy you can still launch it from a terminal passing it the http_proxy variable, like (the proxy there is just for example)
Code:
http_proxy=http://187.44.1.54:8080 midori

Last edited by ponce; 11-17-2016 at 01:08 AM.
 
Old 11-18-2016, 01:37 AM   #3
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
about the ui try changing your icon theme, see for example if using the Tango icon theme in your desktop works (try also others).
how can i do this?
Quote:
Originally Posted by ponce View Post
same thing for your gtk+3 theme, try changing it: please post the output of this command
Code:
cat ~/.config/gtk-3.0/settings.ini
Code:
bash-4.3# cat ~/.config/gtk-3.0/settings.ini
cat: /root/.config/gtk-3.0/settings.ini: No such file or directory
bash-4.3#
 
Old 11-18-2016, 02:16 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by sithun View Post
how can i do this?
which desktop are you using (xfce, kde, something else)?

can you please post the output of the following commands? all of them, please.
Code:
ls -1 /var/log/packages/{gcc,glib,gtk}*
Code:
cat /etc/slackware-version
Code:
ls -la /usr/lib*/libgtk-*
Code:
ls -la /usr/local/lib*/libgtk-*
Code:
echo $LD_LIBRARY_PATH
Code:
cat /etc/ld.so.conf

Last edited by ponce; 11-18-2016 at 07:42 AM.
 
Old 11-18-2016, 07:04 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
As an aside, can I ask why you're running midori as root? Ideally root should only be used when necessary for system administration tasks. Running it as your normal user is just asking for problems as now all your programs run with root access and any bugs/exploits/vulnerabilities also run with root access and could be a ticking timebomb. I would be especially leary of running a web browser as root, as the browser is a frequently targeted attack vector.

Then there's always the oops moments... if you're root and you have one typo in your rm command, or a badly coded shell script, you could easily remove some system files and prevent booting.

See the following sites for more info:
AskUbuntu: Why is it bad to login as root?
Superuser: Why is it bad to run as root?
How-To Geek: Why you shouldn't log into your Linux system as root
Serverfault: What's wrong with always being root?
CProgramming: Why is running programs as root so bad?
 
1 members found this post helpful.
Old 11-18-2016, 01:57 PM   #6
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
which desktop are you using (xfce, kde, something else)?
i use icewm
Quote:
Originally Posted by ponce View Post
can you please post the output of the following commands? all of them, please.
Code:
ls -1 /var/log/packages/{gcc,glib,gtk}*
Code:
cat /etc/slackware-version
Code:
ls -la /usr/lib*/libgtk-*
Code:
ls -la /usr/local/lib*/libgtk-*
Code:
echo $LD_LIBRARY_PATH
Code:
cat /etc/ld.so.conf
Code:
bash-4.3# ls -1 /var/log/packages/{gcc,glib,gtk}*
/var/log/packages/gcc-5.3.0-x86_64-3
/var/log/packages/gcc-g++-5.3.0-x86_64-3
/var/log/packages/gcc-gfortran-5.3.0-x86_64-3
/var/log/packages/gcc-gnat-5.3.0-x86_64-3
/var/log/packages/gcc-go-5.3.0-x86_64-3
/var/log/packages/gcc-java-5.3.0-x86_64-3
/var/log/packages/gcc-objc-5.3.0-x86_64-3
/var/log/packages/gccmakedep-1.0.3-noarch-1
/var/log/packages/glib-1.2.10-x86_64-3
/var/log/packages/glib-2.50.1-x86_64-0
/var/log/packages/glib-networking-2.46.1-x86_64-1
/var/log/packages/glib2-2.46.2-x86_64-2
/var/log/packages/glibc-2.23-x86_64-1
/var/log/packages/glibc-i18n-2.23-x86_64-1
/var/log/packages/glibc-profile-2.23-x86_64-1
/var/log/packages/glibc-solibs-2.23-x86_64-1
/var/log/packages/glibc-zoneinfo-2016e-noarch-1
/var/log/packages/glibmm-2.46.4-x86_64-1
/var/log/packages/gtk+-1.2.10-x86_64-5
/var/log/packages/gtk+-3.22.1-x86_64-0
/var/log/packages/gtk+2-2.24.30-x86_64-1
/var/log/packages/gtk+3-3.18.9-x86_64-1
/var/log/packages/gtk-xfce-engine-2.10.1-x86_64-2
/var/log/packages/gtkmm2-2.24.4-x86_64-1
/var/log/packages/gtkmm3-3.18.1-x86_64-1
/var/log/packages/gtkspell-2.0.16-x86_64-3
bash-4.3# cat /etc/slackware-version                                           
Slackware 14.2
bash-4.3# ls -la /usr/lib*/libgtk-*
lrwxrwxrwx 1 root root       19 Oct 18 11:59 /usr/lib64/libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1
-rwxr-xr-x 1 root root  1501304 Jun  9  2009 /usr/lib64/libgtk-1.2.so.0.9.1
-rw-r--r-- 1 root root      927 Oct 23 18:37 /usr/lib64/libgtk-3.la
lrwxrwxrwx 1 root root       20 Oct 23 18:46 /usr/lib64/libgtk-3.so -> libgtk-3.so.0.2200.1
lrwxrwxrwx 1 root root       20 Oct 23 18:46 /usr/lib64/libgtk-3.so.0 -> libgtk-3.so.0.2200.1
-rwxr-xr-x 1 root root  7426904 Mar 10  2016 /usr/lib64/libgtk-3.so.0.1800.9
-rwxr-xr-x 1 root root 30790304 Oct 23 18:37 /usr/lib64/libgtk-3.so.0.2200.1
-rw-r--r-- 1 root root      965 Mar  7  2016 /usr/lib64/libgtk-x11-2.0.la
lrwxrwxrwx 1 root root       27 Oct 18 11:59 /usr/lib64/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.2400.30
lrwxrwxrwx 1 root root       27 Oct 18 11:59 /usr/lib64/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.2400.30
-rwxr-xr-x 1 root root  4432088 Mar  7  2016 /usr/lib64/libgtk-x11-2.0.so.0.2400.30
bash-4.3# ls -la /usr/local/lib*/libgtk-*
ls: cannot access '/usr/local/lib*/libgtk-*': No such file or directory
bash-4.3# echo $LD_LIBRARY_PATH

bash-4.3# cat /etc/ld.so.conf
/lib64
/usr/lib64
/usr/local/lib64
/usr/x86_64-slackware-linux/lib64
/usr/lib64/seamonkey
bash-4.3#
 
Old 11-18-2016, 02:04 PM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
you have installed conflicting version of gtk+3 and glib2, most probably borking your system: you can try removing the newer versions and reinstalling the original one that come with Slackware but there are no guarantee that this will fix your installation.

to change icon themes and the gtk one you can try installing lxappearance, but seeing the state of your system now I cannot guarantee it will work.

Last edited by ponce; 11-18-2016 at 02:07 PM.
 
Old 11-18-2016, 02:08 PM   #8
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by bassmadrigal View Post
As an aside, can I ask why you're running midori as root? Ideally root should only be used when necessary for system administration tasks. Running it as your normal user is just asking for problems as now all your programs run with root access and any bugs/exploits/vulnerabilities also run with root access and could be a ticking timebomb. I would be especially leary of running a web browser as root, as the browser is a frequently targeted attack vector.

Then there's always the oops moments... if you're root and you have one typo in your rm command, or a badly coded shell script, you could easily remove some system files and prevent booting.

See the following sites for more info:
AskUbuntu: Why is it bad to login as root?
Superuser: Why is it bad to run as root?
How-To Geek: Why you shouldn't log into your Linux system as root
Serverfault: What's wrong with always being root?
CProgramming: Why is running programs as root so bad?
thanks, i did not know that using root is bad. it is looked stupid for me use not root account on system that used only by myself. when my system will broke once again in new one i will use ordinary account
 
Old 11-18-2016, 02:56 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by sithun View Post
thanks, i did not know that using root is bad. it is looked stupid for me use not root account on system that used only by myself. when my system will broke once again in new one i will use ordinary account
Don't worry. It's a common misconception in Linux. Overall, the goal is to run everything possible with the least amount of privileges, and then only escalate to root privileges as needed. I can't remember off the top of my head, but there's even some programs that, by default, refuse to start if you are the root user just because of the security implications.

Years ago, when I first started learning Linux in college, I had extensive experience with Windows 2000 and I was very familiar with the "Administrator" account and group. I wanted that same thing on my machine, but I knew I wasn't supposed to log in as "root", so I modified my user to have root privileges. Only later did I realize why they say to not log in as root... it's just to minimize the chance of something, whether that be a user's dumb moment, a developer's dumb moment, or a hacker's attempt to well... hack, breaking your computer.

All we can do is get the info out
 
Old 11-21-2016, 11:42 PM   #10
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
you can try removing the newer versions and reinstalling the original one that come with Slackware
after i did it midori start to work correct but sakura broked with output:

Code:
bash-4.3# sakura
sakura: symbol lookup error: /usr/lib64/libvte-2.91.so.0: undefined symbol: gtk_widget_class_set_css_name
 
Old 11-21-2016, 11:45 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
if you built stuff against the new gtk+3 (like vte3, in your case) you will have to rebuild it against the stock gtk+3.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midori can't open wordpress pages ImaBug Linux - Software 14 04-23-2015 04:38 PM
Midori: Is there a password manager? (Using Midori to Replace Opera). cwizardone Linux - Software 24 07-16-2013 06:23 PM
/proc/cpuinfo does not show the correct information theburningcat Linux - Hardware 4 02-14-2011 07:05 AM
LXer: Quick Midori Review And How to Install Latest Midori 0.2.6 in Ubuntu 10.04 'Lucid Lynx' LXer Syndicated Linux News 0 07-02-2010 04:41 PM
getting apache to show pages steste Linux - Newbie 7 08-11-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration