You are not logged in.
Hello All,
after installing xdm i keep getting this error
$ sudo thunar
No protocol specified
No protocol specified
No protocol specified
No protocol specified
Thunar: Cannot open display:
it seem if i run
xhost +
the problem go away ,however if i restart it come back.
it seem the problem is in ~/.xsession
~/.xsession
#!/bin/sh
/bin/bash --login -i ~/.xinitrc
~/.xinitrc
#!/bin/sh
exec ck-launch-session startxfce4
any help would be much appreciated.
Offline
Why 'sudo thunar'? Are you trying to run it as root? If you just run 'thunar', does it work OK?
Offline
Why 'sudo thunar'? Are you trying to run it as root? If you just run 'thunar', does it work OK?
yes i do need to run it as root and yes thunar without sudo work fine.
Offline
karol wrote:Why 'sudo thunar'? Are you trying to run it as root? If you just run 'thunar', does it work OK?
yes i do need to run it as root and yes thunar without sudo work fine.
Isn't there another way to run it as root?
Using 'xhost +' is the usual thing to do when you need to run GUI apps as root.
Last edited by karol (2010-09-17 17:07:45)
Offline
solo9300 wrote:karol wrote:Why 'sudo thunar'? Are you trying to run it as root? If you just run 'thunar', does it work OK?
yes i do need to run it as root and yes thunar without sudo work fine.
Isn't there another way to run it as root?
Using 'xhost +' is the usual thing to do when you need to run GUI apps as root.
well, it seem it has to do with installing xdm, before installing xdm i was able to 'sudo thunar' without a problem?
Offline