You are not logged in.
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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
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
That's awful.
$ sudo gparted
^ This works fine here, but I have yet to update my system to replace ConsoleKit with logind.
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
I have the same problem.
I click on the icon >> Authentication appears >> type password >> Appears for a second >> Gone.
Offline
Use gparted to mount an mp3 player? Um, dude... wut?
How are you starting your X session? A login manager or a simple startx?
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
@ K0DD4Z, if all you need gparted is for mounting, try pmount, or udevil, etc. Much more faster than gparted.
Offline
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
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
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
My problem with Gparted was solved by going to System Settinmgs>>Region and language >> setting language to English.
Offline
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