Problems configuring keyboard and Firefox on Solaris

Hello,

I'm having problems with my keyboard on Solaris 10, i want to "complete" the command with the tab key and it does not work, also, i want to use the arrows to remember the last commands issued and it always show [[A [[B...

By the way, i'm having problems with my DNS, i can resolve with nslookup Google, but when i try to open a browser with Google it does not work, but if i put tue IP of google it works!

Isn't weird that i can issue: nslookup Google on the console, and the browser doesn't work?

for the command complete function you need to use a shell like "bash" and the standard shell on solaris is "sh". just enter "bash" and you can use tab and arrow keys.

for your dns problem, show us your config files...

cat /etc/resolv.conf
cat /etc/nsswitch.conf
cat /etc/hosts
ifconfig -a

[quote= thanks dukenuke2,

following the output of the commands

bash-3.00# cat /etc/resolv.conf
nameserver 212.230.255.1
nameserver 212.230.255.129
bash-3.00# cat /etc/nsswitch.conf
#
# copyright 2006 sun microsystems, inc.  all rights reserved.
# use is subject to license terms.
#
# ident "@(#)nsswitch.files     1.14    06/05/03 smi"

#
# /etc/nsswitch.files:
#
# an example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
hosts:      files
ipnodes:    files
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# at present there isn't a 'files' backend for netgroup;  the system will 
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

tnrhtp:     files
tnrhdb:     files
bash-3.00# cat /etc/hosts
#
# internet host table
#
::1     localhost       
127.0.0.1       localhost       
10.134.19.216   solaris loghost

by the way, i'm not able to initiate my desktop :frowning: the messages on the monitor are:

the x-server can not be started on display :0...

see file /var/dt/xerrors for details

thanks !!!

[/quote]

Start by fixing your /etc/nsswitch.conf:

hosts:      files dns

Thanks, fixed :wink:

But now, i do not know why, but i can't start my GUI, it says:

The X-Server can not be started on display :0...

See file /var/dt/Xerrors for details

Then, i have checked this log, and following you can see the errors:

bash-3.00# vi /var/dt/Xerrors 
"/var/dt/Xerrors" 457 lines, 20528 characters 

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: SunOS 5.10 Generic i86pc
Current Operating System: SunOS solaris 5.10 Generic_142910-17 i86pc
Build Date: 23 May 2010

Solaris ABI: 32-bit
SUNWxorg-server package version: 6.8.0.5.10.7400,REV=0.2004.12.15
SUNWxorg-server patches applied: 125720-43 800183-01
SUNWxorg-graphics-ddx package version: 6.8.0.5.10.7400,REV=0.2004.12.15
SUNWxorg-graphics-ddx patches applied: 125720-43 800183-01
SUNWxorg-mesa package version: 6.8.2.5.10.0113,REV=0.2005.08.02
SUNWxorg-mesa patches applied: 125720-43 125724-01 800183-01
        Before reporting problems, check http://sunsolve.sun.com/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 26 14:23:29 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) VGA(0): Driver can't support depth 24
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
le does not exist, 0)
(EE) Failed to load module "intel" (module does not exist, 0)
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module "ddc" already built-in
(II) Module "ramdac" already built-in
(EE) AIGLX: DRI module not loaded
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Mode_switch added to symbol map for multiple modifiers
>                   Using Mod2, ignoring Mod3.
> Error:            Mode_switch added to symbol map for multiple modifiers
"/var/dt/Xerrors" 457 lines, 20528 characters
SUNWxorg-mesa patches applied: 125720-43 125724-01 800183-01
        Before reporting problems, check http://sunsolve.sun.com/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 26 14:23:34 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) VGA(0): Driver can't support depth 24
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
XIO:  fatal IO error 146 (Connection refused) on X server ":0.0"^M
      after 0 requests (0 known processed) with 0 events remaining.^M

Tue Oct 26 14:23:34 2010
error (pid 679): Server for display :0 can't be started.

The MOST weird, is that the Desktop GUI was working perfectly...

When was it working perfectly and what did you change after that ?

What says:

ls -l /etc/X11/xorg.conf

have you changed some of the files with a windows editor programm? maybe try to run "kdmconfig" to make a new configuration for your display.

I've done it, and the same result :frowning:

bash-3.00# ls -l /etc/X11/xorg.conf
-rw-r--r-- 1 root root 14928 Oct 26 14:21 /etc/X11/xorg.conf

I'm not quite sure whats going on...but i'm sure that i did not change any configuration file...only the network related...nothing else

Hmm, it wasn't making sense running the "ls -l xorg.conf" command after running kdmconfig. The idea was to know when was that file last modifed ...