LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-12-2019, 12:09 AM   #16
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783

@ondoho it is a problem with wayland not granting root permission

one workaround is

Code:
xhost +local;sudo gparted
I've not tested that ( I don't use wayland )
and since wayland is suppose to make things more secure than X11 .. seems daft to undo some of that.

Last edited by Firerat; 09-12-2019 at 12:10 AM.
 
1 members found this post helpful.
Old 09-12-2019, 01:05 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ I see.
Searching this.
I fond this. It says SOLVED.
 
Old 09-12-2019, 01:57 AM   #18
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by ondoho View Post
^ I see.
Searching this.
I fond this. It says SOLVED.
yes, but the buglink @michaelk posted mentions that ubuntu did not take the upstream fix
 
Old 09-12-2019, 09:30 AM   #19
nogueira13
Member
 
Registered: Jul 2018
Location: South of Brazil
Distribution: Linux Mint 19,2
Posts: 40

Original Poster
Rep: Reputation: Disabled
Aparece isto:
sudo gparted
[sudo] senha para nogueira:
Unit -.mount does not exist, proceeding anyway.

E não abre a interface gráfica.
 
Old 09-12-2019, 05:23 PM   #20
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Quote:
Originally Posted by nogueira13 View Post
djk44883, I tested using Gparted Live and it works.
Great! Well, not that it solved all your problems, but it saved you from buying a brand new computer and still have the same problem, maybe.

As mentioned way at the beginning,
Code:
 echo $XDG_SESSION_TYPE
have you tried this yet? If it says Wayland, I'm surprised Linux Mint installs gparted and doesn't have a way for it to run. If it says x11, then things are flubbed up.

If what ever it is you need done, can you finish it up with the live boot? I know this isn't ideal, but it will let you move on until you resolve the issue.
 
Old 09-12-2019, 05:31 PM   #21
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Quote:
Originally Posted by Firerat View Post
and since wayland is suppose to make things more secure than X11 .. seems daft to undo some of that.
I'm not going to try to refute that, but how bad or insecure has X11 become? I dread the day it's "forced" on us and I have to re-learn fundamental linux! ...after all this time?

I understood the logic with the init.d scripts creating a potential haphazard issue, not that I liked it. Now there are decades of useless, once helpful, information all over. Trying to find answers, to problems always reference to the way things used to work for decades.
 
Old 09-13-2019, 12:03 PM   #22
nogueira13
Member
 
Registered: Jul 2018
Location: South of Brazil
Distribution: Linux Mint 19,2
Posts: 40

Original Poster
Rep: Reputation: Disabled
echo $XDG_SESSION_TYPE --> X11
Yes, it is too strange.
But I still suspect that the problem still lies in my very obsolete hardware...
Anyway I can still use live-cd when I need it.
Very thanks for the help guys. Thanks a lot!
By the way, how do I close this topic?

Last edited by nogueira13; 09-13-2019 at 12:06 PM.
 
Old 09-13-2019, 12:55 PM   #23
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
so you are not using wayland.

something is very wrong..

looking back at OP I note
Quote:
When I used it on the / usr / sbin / gparted terminal I received the following error message:
"Unit tmp.mount does not exist, proceeding anyway."

Code:
apt-file search tmp.mount
systemd: /usr/share/systemd/tmp.mount
apt-file is not installed by default

that tells us it is part of systemd package

cat /usr/share/systemd/tmp.mount
should get you
Code:
#  SPDX-License-Identifier: LGPL-2.1+
#
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Temporary Directory (/tmp)
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
Documentation=man:file-hierarchy(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
After=swap.target

[Mount]
What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime,nosuid,nodev

[Install]
WantedBy=local-fs.target
if not try reinstalling systemd

Code:
sudo apt install --reinstall systemd
 
Old 09-13-2019, 04:30 PM   #24
nogueira13
Member
 
Registered: Jul 2018
Location: South of Brazil
Distribution: Linux Mint 19,2
Posts: 40

Original Poster
Rep: Reputation: Disabled
It looks like sistem.d was not installed on my laptop. So I installed it using:
sudo apt install --reinstall systemd

I just wondered what message appeared on the last line:
"ureadahead will be reprofiled on next reboot" --> What does mean it?

I reboot the system and I give again: sudo apt-file search tmp.mount
And I received: systemd: /usr/share/systemd/tmp.mount
Following I give cat: cat /usr/share/systemd/tmp.mount
And I received the same informations as you post above:
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

[Unit]
Description=Temporary Directory (/tmp)
Documentation=man:hier(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
After=swap.target

[Mount]
What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime,nosuid,nodev

[Install]
WantedBy=local-fs.target

Well, at last it seems the messages matched.

But, unfortunately despite the command appears when I give in console:
ps -xa | grep gparted
617 ? S 0:00 /bin/sh /usr/sbin/gparted
639 ? S 0:00 /bin/sh /usr/sbin/gparted
5203 ? S 0:00 /bin/sh /usr/lib/udisks2/udisks2-inhibit /usr/sbin/gpartedbin
5565 pts/0 S+ 0:00 grep gparted

It is not open in the graphical mode...

As an additional information, As time goes by the app closes itself.
as we can see with:
nogueira@nogueira-Inspiron-1545:~$ ps -xa | grep gparted
2322 pts/0 S+ 0:00 grep gparted

Last edited by nogueira13; 09-13-2019 at 04:44 PM.
 
Old 09-14-2019, 09:09 AM   #25
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I think you're looking at a reinstall, and be more careful in the future.
 
Old 09-14-2019, 10:59 AM   #26
nogueira13
Member
 
Registered: Jul 2018
Location: South of Brazil
Distribution: Linux Mint 19,2
Posts: 40

Original Poster
Rep: Reputation: Disabled
A complete system operation reinstall or gparted. If I use: sudo /usr/sbin/gpartedbin in console after a little long time, it starts and works properly. But in the graphical mode it doesn't work.
I would like how to use in the launcher /usr/sbin/gpartedbin %f instead of /usr/sbin/gparted %f. I tryed but it has that I have no root permissions to do that. I would like to add some print-screens from the attempts I made. But I don't have a place to post the print-screens to refer it as a link.
I just don't understand why you "pulled my ear" when you say that I have to be more careful when installing gparted. I just did an install using synaptic...
 
Old 09-14-2019, 11:49 AM   #27
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by nogueira13 View Post
A complete system operation reinstall or gparted.
see bottom
Quote:
Originally Posted by nogueira13 View Post
If I use: sudo /usr/sbin/gpartedbin in console after a little long time, it starts and works properly. But in the graphical mode it doesn't work.
graphical mode?
I get the same with
gparted ( the slow way through menu )
sudo gparted
sudo gpartedbin

They all end up in the same place

Quote:
Originally Posted by nogueira13 View Post
I would like how to use in the launcher /usr/sbin/gpartedbin %f instead of /usr/sbin/gparted %f. I tryed but it has that I have no root permissions to do that. I would like to add some print-screens from the attempts I made. But I don't have a place to post the print-screens to refer it as a link.
where is the "%f" coming from?
where are you using "%f" ?

Quote:
Originally Posted by nogueira13 View Post
I just don't understand why you "pulled my ear" when you say that I have to be more careful when installing gparted. I just did an install using synaptic...
You can safely ignore @ondoho, they seldom add anything useful

one-liner drivel, sometimes I think it is a bot.
 
Old 09-15-2019, 08:34 AM   #28
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Quote:
Originally Posted by Firerat View Post
where is the "%f" coming from?
where are you using "%f" ?
I would suspect it from the "launcher" or menu entry. .desktop specification, it's variable for [file] input from the command line... many menu entries have them, but there's no option to input anything.
 
Old 09-15-2019, 08:44 AM   #29
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Firerat View Post
You can safely ignore @ondoho, they seldom add anything useful

one-liner drivel, sometimes I think it is a bot.
You have sure been posting a lot recently, and sometimes it felt like you were needlessly picking on others (me).
So far I have given you the benefit of the doubt, prefering to see an honest effort at contribution.
Not anymore.
Reported.

If you have the time & patience to take everybody by the hand and remotely lead them through problems they don't understand themselves, good for you.
But don't hold it against others if they have a more pragmatic view of things.

Last edited by ondoho; 09-15-2019 at 08:49 AM.
 
Old 09-15-2019, 03:43 PM   #30
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by djk44883 View Post
I would suspect it from the "launcher" or menu entry. .desktop specification, it's variable for [file] input from the command line... many menu entries have them, but there's no option to input anything.
yeah., that is what I suspected

I guess , gpartedbin /dev/sdc ( assuming sdc is the usb drive )

Well, I went ahead with a Gnome Wayland desktop ( for another thread )
and I did not have any problems with gparted
This was on Debian Sid.

so the problem is something else ( which we already guessed since it seems OP was actually using X11 )
 
  


Reply

Tags
debian 10, gparted



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux In a Dell Inspiron 1545 laptop pramodkumar1965 Linux - Newbie 15 09-02-2014 08:34 PM
Wireless stopped working on Dell Inspiron 1545 using Ubuntu 9.04 PhloxLot Linux - Laptop and Netbook 6 04-30-2010 02:25 AM
Fedora 12 on Dell Inspiron 1545 march Linux - Laptop and Netbook 1 12-08-2009 10:39 PM
Problems loading Fedora 10 and 11 on Dell Inspiron 1545 SimGuy Linux - Software 3 12-08-2009 02:49 AM
Installing Slackware 11.0 on Dell Inspiron 1545 slackboxster Linux - Newbie 8 05-28-2009 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration