Problems in switching users

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bkilinc

Problems in switching users

Post by bkilinc »

After a fresh install of LM 17 Cinnamon, I installed latest AMD Catalyst Driver for ATI Radeon. Well, it is amazing to see even windows games are working very smooth compared to open source ATI driver. But there is one annoying problem; I get this error when switching users.
"Failed to Start the X server, perhaps it is not configured well"
I have different users for everyday tasks, software development and games. so I divided roles to users and switch between them frequently.
I did not face this is issue on open source driver. Well, I need propriety driver just for games. So if this problem persists I may move to open source driver but I prefer propriety driver as it is performance is better.
if I find a solution for this issue, LM17 is more than perfect.
additional note; sometimes switching works and after that I use ctrl+alt+F(7-8-9) to switch between users.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

I seem to be having the same problem, getting error
Cannot start new display
The X server failed. Perhaps it is not configured well. while failed to switch users.

I use driver fglrx 2:13.350.1

Any help please?
PatH57

Re: Problems in switching users

Post by PatH57 »

Hi,

could be that not all users have access to the drivers (modules)

try this assuming module is in /usr/lib/xorg/modules/

Code: Select all

sudo chown root:video /usr/lib/xorg/modules/dri -R

Code: Select all

sudo chmod 750 /usr/lib/xorg/modules/dri -R
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

PatH57 wrote:Hi,

could be that not all users have access to the drivers (modules)

try this assuming module is in /usr/lib/xorg/modules/

Code: Select all

sudo chown root:video /usr/lib/xorg/modules/dri -R

Code: Select all

sudo chmod 750 /usr/lib/xorg/modules/dri -R

I dont have a directory called dri there, closest one is drivers, its current settings are root/root.

Is that what I should try changing?
PatH57

Re: Problems in switching users

Post by PatH57 »

the commands I gave you will do it for all user.
dri is like dri* meaning anything in the folder modules starting with dri will get the settings :wink:
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

PatH57 wrote:the commands I gave you will do it for all user.
dri is like dri* meaning anything in the folder modules starting with dri will get the settings :wink:

Ok, are you sure it is right??
I am afraid of trying to switch user right now, due to this check:
genadi@genadi-mint ~ $ ll /usr/lib/xorg/modules/drivers/
ls: cannot open directory /usr/lib/xorg/modules/drivers/: Permission denied
PatH57

Re: Problems in switching users

Post by PatH57 »

under witch user are you now (sudoers?)

else

Code: Select all

sudo chown root:video /usr/lib/xorg/modules/drivers -R

Code: Select all

sudo chmod 750 /usr/lib/xorg/modules/drivers -R
if you are not in the right user group it should give you an error else it will give access to all users defined.
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

PatH57 wrote:under witch user are you now (sudoers?)

else

Code: Select all

sudo chown root:video /usr/lib/xorg/modules/drivers -R

Code: Select all

sudo chmod 750 /usr/lib/xorg/modules/drivers -R
if you are not in the right user group it should give you an error else it will give access to all users defined.

The commands succesfully completed.
I am under my own regular user (genadi) - before doing your command, I was able to do an ll /usr/lib/xorg/modules/drivers/ command, while now I am getting permission denied after the chmod I believe.
PatH57

Re: Problems in switching users

Post by PatH57 »

Code: Select all

sudo chmod 777 /usr/lib/xorg/modules/drivers -R
then try the ls again
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

PatH57 wrote:

Code: Select all

sudo chmod 777 /usr/lib/xorg/modules/drivers -R
then try the ls again
ls works of course with 777, but still getting the same error when try trying to switch user...
PatH57

Re: Problems in switching users

Post by PatH57 »

that why the 750 so other sessions cannot change the settings and all have to use one.
Else if session has to be configured separately.
Carmageddon
Level 1
Level 1
Posts: 25
Joined: Mon Mar 17, 2014 6:22 am

Re: Problems in switching users

Post by Carmageddon »

PatH57 wrote:that why the 750 so other sessions cannot change the settings and all have to use one.
Else if session has to be configured separately.
Sorry, I dont understand this one...
We can take care of permissions later, right now switching doesn't work with 777 either...
bkilinc

Re: Problems in switching users

Post by bkilinc »

I noticed one strange thing. Whenever firefox is running, I can make the switch. Otherwise I cannot. This works for me all the time. I leave a firefox instance open in another virtual desktop that I don't see. I use chromium by default.
Locked

Return to “Cinnamon”