You are not logged in.

#1 2012-10-21 15:22:48

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

GParted doesn't want to start

Well, let me tell you guys what happens, these are two very important programs.

When I run GParted from the menu, it asks for authentication, after I've written in my password and clicked OK, nothing happens.
This is what comes out when I run it in the terminal as root.

[root@lancelot icyton]# gparted

(process:6197): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Invalid MIT-MAGIC-COOKIE-1 key
(gpartedbin:6197): Gtk-WARNING **: cannot open display: :0

Calibre doesn't do anything at all when I try to open it.
When I try to run it in the terminal, this comes out.

[root@lancelot icyton]# calibre
WARNING: You do not have the LANG environment variable set correctly. This will cause problems with non-ascii filenames. Set it to something like en_US.UTF-8.

Invalid MIT-MAGIC-COOKIE-1 keycalibre-gui: cannot connect to X server :0

Do any of y'all know what's wrong? These are very important programs.

Last edited by K0DD4Z (2012-11-01 21:36:46)

Offline

#2 2012-10-21 15:36:43

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: GParted doesn't want to start

1. Don't run GUI applications as root.
2. If necessary, run them via gksu / kdsu, or uncomment

Defaults env_keep += "HOME"

in the sudoers file -- run

sudo visudo

to achieve this.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-10-21 16:54:05

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

I tried to run GParted with gksu, it actually starts after I have authenticated but then it just shuts down. This is the terminal output.

[icyton@lancelot ~]$ gksu gparted

(process:7413): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files

(process:7439): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
======================
libparted : 3.1
======================

(gpartedbin:7439): glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: locale::facet::_S_create_c_locale name not valid
                                                                                                                                                                             
[icyton@lancelot ~]$

But well, at least Calibre starts after this...

Offline

#4 2012-10-21 17:27:21

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: GParted doesn't want to start

You can try deleting .Xauthority files (they will be re-created automatically):

sudo rm ~/.Xauthority /root/.Xauthority

This should remove the Gkr-Message.

Besides, you may want to fix your locale as they are obviously the source of yet another error.

Last edited by bohoomil (2012-10-21 17:28:47)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-10-21 18:09:00

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: GParted doesn't want to start

you can start your apps like this

$ su -
# export DISPLAY=:0.0
# gparted

More info here
https://bbs.archlinux.org/viewtopic.php?id=149534


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#6 2012-10-22 12:37:44

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

bohoomil wrote:

You can try deleting .Xauthority files (they will be re-created automatically):

sudo rm ~/.Xauthority /root/.Xauthority

This should remove the Gkr-Message.

Besides, you may want to fix your locale as they are obviously the source of yet another error.

That didn't work. Also, I have tried to fix my locales many times, but it just doesn't work.

hadrons123 wrote:

you can start your apps like this

$ su -
# export DISPLAY=:0.0
# gparted

More info here
https://bbs.archlinux.org/viewtopic.php?id=149534

That just makes it impossible to start Konsole and other apps until I have rebooted.

Offline

#7 2012-10-22 13:55:26

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: GParted doesn't want to start

You could have just closed the terminal. My method doesn't need a reboot.
Do you by any chance have a custom kernel?

Last edited by hadrons123 (2012-10-22 13:55:42)


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#8 2012-10-22 14:28:38

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

No, I don't. And what I mean is that Konsole doesn't want to start. Thunderbird didn't either. I'll try this again, but there's one more problem. When I attempt to start Gparted as root, it tells me that it shouldn't be ran as root.

EDIT: I have tried it again. Gparted gives the same message in terminal when I run it as root as when I run it with gksu. But still, it doesn't start when I start it from the menu.

Last edited by K0DD4Z (2012-10-22 15:12:31)

Offline

#9 2012-11-01 21:14:52

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

I'm sorry, but I have to bump this. I have serious problems since gparted doesn't want to start. There are lots of things I need to do but can't do. :-(

Offline

#10 2012-11-02 00:20:08

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: GParted doesn't want to start

You need to update the Forum on your situation - what are the error messages, what have you tried, etc. https://wiki.archlinux.org/index.php/Fo … te#Bumping

When I attempt to start Gparted as root, it tells me that it shouldn't be ran as root.

Doubtful such a message came from GParted. If I even think of running it as normal user I get this:

Root privileges are required for running GParted
Since GParted is a powerful tool capable of destroying
partition tables and vast amounts of data, only root may run it.

Google search on your error message prepended with 'gparted' found this:
https://bbs.archlinux.org/viewtopic.php?id=130614

Last edited by sonoran (2012-11-02 00:20:48)

Offline

#11 2012-11-02 00:46:26

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

Well, all the progress was written right here. No matter what I do, it doesn't start correctly. I could get it to start, but it just shuts down before I can do anything.

Offline

#12 2012-11-02 01:38:17

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: GParted doesn't want to start

One thing you could do while you are digging into your locale issue is to make yourself a GParted live cd: http://gparted.sourceforge.net/livecd.php and use that. It's a handy tool to have around in any case.

Offline

#13 2012-11-02 14:50:01

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

Ok, I will make one of those, but the problem here is that I will need to start GParted without a Live-CD since I need it to be able to mount an MP3-player that doesn't want to mount normally. This has happened before, and I used GParted to fix the problem then.

Offline

#14 2012-11-02 21:18:24

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,375

Re: GParted doesn't want to start

K0DD4Z wrote:

Ok, I will make one of those, but the problem here is that I will need to start GParted without a Live-CD since I need it to be able to mount an MP3-player that doesn't want to mount normally. This has happened before, and I used GParted to fix the problem then.

If you do an fdisk -l and it only shows sdx and nothing else, it could be the firmware is hosed and needs to be reinstalled or something like that.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#15 2012-11-02 22:13:03

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: GParted doesn't want to start

K0DD4Z wrote:

Ok, I will make one of those, but the problem here is that I will need to start GParted without a Live-CD since I need it to be able to mount an MP3-player that doesn't want to mount normally. This has happened before, and I used GParted to fix the problem then.

Use gparted to mount an mp3 player? Um, dude... wut?


How are you starting your X session? A login manager or a simple startx?

https://wiki.archlinux.org/index.php/Start_X_at_Login

Note: This runs X on the same tty used to login, which is required in order to maintain the login session.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#16 2012-11-03 09:55:47

samuvuo
Member
From: Finland
Registered: 2011-02-20
Posts: 84

Re: GParted doesn't want to start

I didn't want to install gksu + its Gnome dependencies, so I opted for ktsuss and got GParted working with it:

1. Install ktsuss from AUR
2. ln -s /usr/bin/ktsuss /usr/bin/gksu

Offline

#17 2012-11-03 13:25:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: GParted doesn't want to start

That's awful.

$ sudo gparted

    ^ This works fine here, but I have yet to update my system to replace ConsoleKit with logind. tongue


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#18 2012-11-03 14:23:15

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: GParted doesn't want to start

I have the same problem.

I click on the icon >> Authentication appears >> type password >> Appears for a second >> Gone.

Offline

#19 2012-11-03 16:14:25

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

DSpider wrote:

Use gparted to mount an mp3 player? Um, dude... wut?


How are you starting your X session? A login manager or a simple startx?

https://wiki.archlinux.org/index.php/Start_X_at_Login

I don't feel like explaining it, but I fixed it before, and I need GParted to fix it, I don't feel like explaining why.
And also, X starts with a login manager.

Offline

#20 2012-11-03 17:27:27

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: GParted doesn't want to start

@ K0DD4Z, if all you need gparted is for mounting, try pmount, or udevil, etc. Much more faster than gparted.

Offline

#21 2012-11-03 21:28:57

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

Ok, I will try if those can detect it. It's not possible to mount it through the notification, and mount doesn't find it, but GParted worked.
EDIT: Dangit! It didn't work! I guess I have to use that laptop there to transfer my stuff...

Last edited by K0DD4Z (2012-11-03 21:31:36)

Offline

#22 2012-11-04 00:41:11

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,375

Re: GParted doesn't want to start

Try dmesg and see what's where.  It may just be out of order.  fdisk -l is your best bet to finding what is connected.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#23 2012-11-04 12:45:19

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

This is the output of dmesg.

When I type in "fdisk -l", nothing appears.
Note: I have an USB-drive (that doesn't want to mount either) connected here instead of the music player.

Last edited by K0DD4Z (2012-11-04 12:48:12)

Offline

#24 2012-11-04 13:49:10

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: GParted doesn't want to start

My problem with Gparted was solved by going to System Settinmgs>>Region and language >> setting language to English.

Offline

#25 2012-11-04 14:30:29

K0DD4Z
Member
Registered: 2012-05-20
Posts: 26

Re: GParted doesn't want to start

I don't use GNOME, I use KDE. Also, I have tried to fix the locales, but of course it didn't fix anything. I don't see how changing language could fix it.

Offline

Board footer

Powered by FluxBB