El Foro

Having Error with xrdb on Play On Linux startup

Autor Respuestas
StikyChoco Wednesday 26 February 2020 at 0:07
StikyChocoAnonymous

Info about my system:

Kernel: Kali-Linux, V5.4.0

POL:V4.3.4

Specs: (GC: Zotac, 8GB RAM, 500 gb hard drive)

Hello! So, I have recently installed Play On Linux, but have been having an error message about xrdb about the bash variable $DISPLAY not being set properly?

lower@corrieinthehouseisananime:$ playonlinux
Looking for python... 2.7.17 - wxversion(s): 3.0-gtk3
selected
No protocol specified
xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
1
No protocol specified
Unable to access the X Display, is $DISPLAY set properly?

What I had done before I ran the command was to switch off of root to a user with lower privilages, because it wouldn't let me run POL on root(for security conserns). I had also tried looking online for fixes, but couldn't find any. Also, the reason $DISPLAY is to ':0' is because I saw a similar problem, and the person had solved it by setting it to ':0', but it didn't work in my case.

Any help on how to resolve this issue would be very much appreciated - Thanks!

booman Thursday 27 February 2020 at 0:18
booman

Do you have a Dual-Display setup?

Why would you need to run PlayOnLinux as root?

Does Kali allow you to check your display settings?  what does it say your display number is?


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
StikyChoco Friday 28 February 2020 at 4:05
StikyChocoAnonymous

1. I do not have a dual setup.

2. I don't. i just mentioned it to provide some info on what I was doing before the error happened.

3. It does, but It doesn't show my display number. Is that something I need?
 

booman Friday 28 February 2020 at 16:13
booman

Ok, thank you for the information!

One thing you can do in order to see errors is use the Terminal to run PlayOnLinux.  This way you can see all the errors while its running and when the game starts.

There is also a "debug" feature that will show you errors.  Just select your game and click "debug" to run it with an error output.

To see what Linux is naming your display as... use the Terminal and run this command:

xrandr -q

This command will list if you are using HDMI, VGA, etc and will show the current resolution.  Then you can use that screen name or HDMI name in your command. 

Here is an example of xrandr output:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192

LVDS connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4  

HDMI-0 disconnected (normal left inverted right x axis y axis)

VGA-0 connected ......

   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
mandoo Tuesday 10 March 2020 at 22:56
mandooAnonymous

so I put it into my .zshrc and it sorta works. now when I launch xterm the first time is does not use .Xresources, then I will exit out of xterm and launch it again and then it is using it.

Showbox jiofi.local.html tplinklogin

 

 

Editado por: mandoo

booman Wednesday 11 March 2020 at 21:52
booman

I'm not familiar with Kali Linux, so I'm not fully understanding what .zshrc is and .Xresources

Were you able to get the name of your display?


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
AmtrakGuy2 Thursday 2 February 2023 at 17:26
AmtrakGuy2Anonymous

 

Ok, thank you for the information!

One thing you can do in order to see errors is use the Terminal to run PlayOnLinux.  This way you can see all the errors while its running and when the game starts.

There is also a "debug" feature that will show you errors.  Just select your game and click "debug" to run it with an error output.

To see what Linux is naming your display as... use the Terminal and run this command:

xrandr -q

This command will list if you are using HDMI, VGA, etc and will show the current resolution.  Then you can use that screen name or HDMI name in your command. 

Here is an example of xrandr output:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192

LVDS connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4  

HDMI-0 disconnected (normal left inverted right x axis y axis)

VGA-0 connected ......

   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1