[RISOLTO] digitando kate il terminale mi restituisce un errore...

Configurazione e uso delle applicazioni del desktop manager predefinito di Kubuntu.
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

[RISOLTO] digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Ieri ho installato Kubuntu e ho riscontrato un problema. Quando digito dal terminale kate il terminale mi dà un errore. Infatti se per esempio digito:

Codice: Seleziona tutto

sudo kate /etc/apt/sources.list
mi restiuisce questo errore dal terminale:

Codice: Seleziona tutto

X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0.0
kded: ERROR: KUniqueApplication: Registering failed!
kded: ERROR: Communication problem with kded, it probably crashed.
e il file viene comunque aperto. In ubuntu con gedit non avevo alcun tipo di problema. Secondo voi a che cosa è dovuto questo errore?Grazie anticipamente e ciao!

                                                                           
Ultima modifica di Anonymous il martedì 20 febbraio 2007, 13:13, modificato 1 volta in totale.
Avatar utente
Schwitzd
Rampante Reduce
Rampante Reduce
Messaggi: 7622
Iscrizione: martedì 4 luglio 2006, 10:44
Località: Svizzera
Contatti:

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Schwitzd »

Non è un errore vai tranquillo  ;)
La RAM è come la gnocca non è mai abbastanza!
Pagine Personale sul wiki
Contribuisci alla Documentazione
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Scusami ma non penso sia normale che esca questa cosa  ???
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

sudo... ma ho soddisfatto le dipendenze
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Già visto e si parla dello xorg. Ecco il contenuto del mio xorg.conf:

Codice: Seleziona tutto

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Xpress 200M (RS480)"
	Driver		"ati"
	BusID		"PCI:1:5:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Xpress 200M (RS480)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

P.S. Non ho ancora installato l'accelerazione 3D
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Ho notato che a volte se dò il comando:
sudo kate /etc/X11/xorg.conf
l'errore è più lungo. Cmq ecco il mio xorg.conf con il 3d abilitato:

Codice: Seleziona tutto

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	InputDevice    "stylus" "SendCoreEvents"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
	FontPath     "/usr/share/X11/fonts/misc"
	FontPath     "/usr/share/X11/fonts/cyrillic"
	FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/X11/fonts/Type1"
	FontPath     "/usr/share/X11/fonts/100dpi"
	FontPath     "/usr/share/X11/fonts/75dpi"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "type1"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "it"
	Option	    "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "stylus"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "stylus"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "eraser"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
	Identifier  "cursor"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"          # Change to 
	Option	    "Type" "cursor"
	Option	    "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
	Identifier   "Generic Monitor"
	HorizSync    28.0 - 51.0
	VertRefresh  43.0 - 60.0
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "ATI Technologies, Inc. Radeon Xpress 200M (RS480)"
	Driver      "fglrx"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "ATI Technologies, Inc. Radeon Xpress 200M (RS480)"
	Monitor    "Generic Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Disable"
EndSection

Aiuto please!
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17365
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Stealth »

Invece che sudo, che devi usare solo per il terminale, per le applicazioni grafiche (come kate) prova ad usare "kdesu" (senza virgolette).
ciao
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Stessa identica cosa e mi dice accesso negato....
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

Riformulo
Stealth ha scritto: Invece che sudo, che devi usare solo per il terminale, per le applicazioni grafiche (come kate) prova ad usare "kdesu" (senza virgolette).
ciao
intendi Menu K --> Esegui comando...
digiti kdesu kate
password
e sei in kate con i privilegi di super user ?
Ultima modifica di grispa72 il sabato 17 febbraio 2007, 6:11, modificato 1 volta in totale.
sudo... ma ho soddisfatto le dipendenze
Avatar utente
Linux Square team
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 393
Iscrizione: giovedì 8 febbraio 2007, 15:50
Contatti:

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Linux Square team »

che scheda grafica hai?
http://ubuntubox.wordpress.com/

Play Station Portable Piano Black + Fifa 2008 owner...
w il natale
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Grispa72 non ha funzionato :(
Cmq la mia scheda video è un ati xpress 200M. Ieri nel canale di mirc un ragazzo mi aveva detto che si doveva sistemare lo xorg.conf...
Avatar utente
Linux Square team
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 393
Iscrizione: giovedì 8 febbraio 2007, 15:50
Contatti:

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Linux Square team »

per il 3d vai sul blog di divilinux x le skede ati
http://ubuntubox.wordpress.com/

Play Station Portable Piano Black + Fifa 2008 owner...
w il natale
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

ma già l'ho installato il 3D
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

Leddolo ha scritto: Grispa72 non ha funzionato :(
Cmq la mia scheda video è un ati xpress 200M. Ieri nel canale di mirc un ragazzo mi aveva detto che si doveva sistemare lo xorg.conf...
:o :o mi pare molto molto strano!  Non saprei consigliarti altro. Ma esattamente cos'è che non va, non si apre kate, non hai i privilegi di superuser o cosa altro?

Devi controllare che nel file xorg.conf  in Section "Device" Driver non ci sia "vesa", che sono i driver generici, ma quelli giusti per la tua scheda  :D
sudo... ma ho soddisfatto le dipendenze
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Ho riprovato con il comando kdesu kate e mi è apparso dopo aver inserito la password, kate. Come faccio a modificare i file con questo comando?
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

sudo... ma ho soddisfatto le dipendenze
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

Leddolo ha scritto: Ho riprovato con il comando kdesu kate e mi è apparso dopo aver inserito la password, kate. Come faccio a modificare i file con questo comando?
Scusa ma quali file devi modificare (per capire)...
sudo... ma ho soddisfatto le dipendenze
Leed
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 779
Iscrizione: venerdì 19 maggio 2006, 13:29
Località: Palermo

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da Leed »

Per esempio se voglio modificare il sources.list con i permessi da root come devo fare?


P.S.RIPETO ho installato già il 3D ;)
Avatar utente
grispa72
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 376
Iscrizione: venerdì 8 dicembre 2006, 13:47
Località: TV

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da grispa72 »

Guarda io mi trovo molto bene con nano. Prova ad usarlo. Esempio se vuoi modificare il file sourec.list:

Codice: Seleziona tutto

sudo nano /etc/apt/sources.list
modifichi e poi Ctrl+O per salvare Ctrl+X per uscire.

Con kate lo avvii così:
Menu K --> Esegui comando...
digiti: kdesu kate
password
File --> Apri --> Cartella radice: / --> etc --> apt --> clicca su sources.list
Ultima modifica di grispa72 il sabato 17 febbraio 2007, 16:50, modificato 1 volta in totale.
sudo... ma ho soddisfatto le dipendenze
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40351
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: digitando kate il terminale mi restituisce un errore...

Messaggio da steff »

se quel errore  (X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device)

viene sempre quando si lancia un qualsiasi programma dal terminale potrebbe essere il driver wacom nella xorg.conf, basta seguire i
questo: http://www.vogliaditerra.com/vogliadili ... itial.html
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Scrivi risposta

Ritorna a “KDE”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti