tidak bisa akses gedit dari terminal

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

tidak bisa akses gedit dari terminal

Postby kwn » 21 Dec 2010, 19:28

mohon bantuan rekan rekan,saya tidak bisa masuk ke gedit dari terminal,error kata nya,
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: tidak bisa akses gedit dari terminal

Postby blackshirt » 21 Dec 2010, 19:39

errornya disertain :d
User avatar
zarkasichan
Posts: 1527
Joined: 01 Jan 2010, 01:57
Location: Samarinda, Indonesia
Contact:

Re: tidak bisa akses gedit dari terminal

Postby zarkasichan » 21 Dec 2010, 22:35

kalau buka gedit dari Applications - Accessories - gedit, gimana? mau gak?
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

Re: tidak bisa akses gedit dari terminal

Postby kwn » 22 Dec 2010, 08:17

awalnya kan ga bisa internetan pake ubuntu,trus modem nya aku ganti pake huawei yang linux friendly,dah kedetect di linux,masalahnya pas mau edit wvdial.conf nya selalu error,ga bisa masuk ke gedit,pesen yang keluar kaya gini :

root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# gksudo gedit /etc/wvdial.conf
GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan#

kalo buka gedit langsung dari aplikasi-aksesoris mah normal bisa
trus kalo dari terminal

gksudo gedit

juga bisa,
mohon pencerahannnya temen-temen,soalnya dah kepengin internetan pake ubuntu nih :)
thanks
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

Re: tidak bisa akses gedit dari terminal

Postby kwn » 22 Dec 2010, 09:04

oh ya barusan pake command

sudo wvdialconf

trus hasilnya yang nongol kaya gini

root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 -- OK
ttyUSB0: ATQ0 V1 E1 Z -- OK
ttyUSB0: ATQ0 V1 E1 S0=0 -- ATQ0 V1 E1 S0=0
ttyUSB0: ATQ0 V1 E1 &C1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0: ATQ0 V1 E1 &C1 -- ATQ0 V1 E1 &C1
ttyUSB0: ATQ0 V1 E1 &D2 -- ATQ0 V1 E1 &D2
ttyUSB0: ATQ0 V1 E1 +FCLASS=0 -- OK
ttyUSB0: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB0: Max speed is 9600; that should be safe.
ttyUSB0: ATQ0 V1 E1 +FCLASS=0 -- OK
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 -- OK
ttyUSB1: ATQ0 V1 E1 Z -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB1: Speed 9600: AT -- OK
ttyUSB1: Max speed is 9600; that should be safe.
ttyUSB1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 +FCLASS=0"
ttyUSB1: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

habis ngongol gini gimana caranya biar itu modem bisa dipakai ya?
thanks
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: tidak bisa akses gedit dari terminal

Postby thrvers » 22 Dec 2010, 09:24

'
pakai ini:
$ sudo gedit /etc/wvdial.conf

bisa juga pakai yg CLI :grin:
$ sudo nano /etc/wvdial.conf

= CMIIW =
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

Re: tidak bisa akses gedit dari terminal

Postby kwn » 22 Dec 2010, 09:28

nah itu masalahnya bro kalo pake

sudo gedit /etc/wvdial.conf

nongolnya kaya gini

root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# gksudo gedit /etc/wvdial.conf
GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan#

ada solusi ga bro?
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: tidak bisa akses gedit dari terminal

Postby blackshirt » 22 Dec 2010, 09:29

dalam hal-hal tertentu, sebaiknya gunakan gksu/gksudo untuk menjalankan aplikasi GUI dari terminal,
$gksu gedit /etc/wvdial.conf

dan untuk menjalankan aplikasi cli-based, gunakan sudo untuk mendapatkan akses root
$sudo nano /etc/wvdial.conf
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: tidak bisa akses gedit dari terminal

Postby blackshirt » 22 Dec 2010, 09:29

root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# gksudo gedit /etc/wvdial.conf
GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted

kamu sudah dalam root mode.. :grin:
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

Re: tidak bisa akses gedit dari terminal

Postby kwn » 22 Dec 2010, 09:53

untuk buka wvdial.conf sudah bisa,

root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan# sudo wvdial--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
root@kurniawan-HP-Pavilion-dv2-Notebook-PC:/home/kurniawan#

ada referensi untuk konfigurasi nya ga?
saya pakai kartu im2
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: tidak bisa akses gedit dari terminal

Postby thrvers » 22 Dec 2010, 10:22

'
konfigurasi, lain topik :grin:
cari topik yg sama dulu dg type modem bro kwn, nanti kalau tidak ada baru buat topik baru :D

= ow =
User avatar
kwn
Posts: 63
Joined: 11 Dec 2010, 19:37
Location: karawang
Contact:

Re: tidak bisa akses gedit dari terminal

Postby kwn » 22 Dec 2010, 10:26

ok bro
thanks

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests