You are not logged in.

#1 2022-06-10 02:37:08

rafaellancas
Member
Registered: 2022-05-31
Posts: 78

[SOLVED] Permission bug for /etc/x11/xorg.conf.d/20-modesetting.conf

So, I need to edit this file to make modesetting work, but it's impossible. Nothing works here, I tried:

sudo vim /etc/x11/xorg.conf.d/20-modesetting.conf
sudo ne /etc/x11/xorg.conf.d/20-modesetting.conf
sudo kwrite /etc/x11/xorg.conf.d/20-modesetting.conf

I tried ALL of them being my user, being root, with pkexec. Nothing works, the file just opens as read-only no matter what. I know I'm not suposed to open dolphin with root, but what can I do in a situation where the root user/permissions just stop working at all?

Last edited by rafaellancas (2022-06-29 03:06:27)

Offline

#2 2022-06-10 05:15:02

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Permission bug for /etc/x11/xorg.conf.d/20-modesetting.conf

1. Check "man sudoedit"
2.

stat /etc/x11/xorg.conf.d/20-modesetting.conf
mount

Offline

#3 2022-06-24 13:38:48

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Permission bug for /etc/x11/xorg.conf.d/20-modesetting.conf

rafaellancas, if you are wondering where your replies went, you used the Report link instead of Submit.

Reports from rafaellancas wrote:

The solution was to create the files on another folder and then copy them there. For some reason, no text editor can create files on system folders, even with sudo. I don't know what is this "man" command, but it doesn't work either:

[rafael@pc ~]$ man sudoedit
bash: man: command not found
[rafael@pc ~]$

Last edited by 2ManyDogs (2022-06-24 13:40:39)


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#4 2022-06-24 13:49:43

seth
Member
Registered: 2012-09-03
Posts: 49,951

Offline

#5 2022-06-29 03:05:28

rafaellancas
Member
Registered: 2022-05-31
Posts: 78

Re: [SOLVED] Permission bug for /etc/x11/xorg.conf.d/20-modesetting.conf

2ManyDogs wrote:

rafaellancas, if you are wondering where your replies went, you used the Report link instead of Submit.

Reports from rafaellancas wrote:

The solution was to create the files on another folder and then copy them there. For some reason, no text editor can create files on system folders, even with sudo. I don't know what is this "man" command, but it doesn't work either:

[rafael@pc ~]$ man sudoedit
bash: man: command not found
[rafael@pc ~]$

Thank you!

Offline

Board footer

Powered by FluxBB