X permission errors on starting another X on :1
hey running suse 9.3 and loving it trying to fix an increadably irritating bug with the X system.
running startx <app> -- :1 will start the session ok but almost exclusively after session has been ended on :0 i always get this error and it prevents me from running ANY X program only reason i am able to enter this message is that it only prevents new programs from starting here is the error i get on running any program using X: @linux:~> kate Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kate: cannot connect to X server :0.0 running kate in sudo gave me this: @linux:~> sudo kate Password: Error: "/var/tmp/kdecache-ryan" is owned by uid 1000 instead of uid 0. Link points to "/var/tmp/kdecache-root" QFile::open: No file name specified this also caused kate to ask if i wanted to start a new session. maybe i am missing something but i would really like to find out what it is.:mad: cheers netsurf |
Its not a bug of X!
Add -auth ~/.Xauthority as option to X |
can you show me how to place it in the command:
starx /usr/games/ut2004/ut2004 -- :1 -auth ~/.Xauthority that is what i tried but after a short delay after session ended the problem started again so is that right? |
Should be fine like this.
After rereading your first post, you say that its when you shutdown X on :0 that :1 has a problem? When you launch startx, you do not launch it from :0 but from a console (tty1)? startx gives you some errors? I don't exactly understand what you are doing in fact :) |
ok lets try to make this clearer then.
i have discovered the usefulness of having more than one screen at a time. it is idea for running ut2004 on :1 while the rest of my system is on :0 (kde desktop) i have also noticed that ut2004 is a bit quicker imho when it has its own screen. i launch startx from konsole as it is just convinient but if i recall correctly i used to try and run ut2004 using twm in :1 instead and had to stop that as after ending my X session on :1 i got a really nasty garbled display which made tty1-6 completely illegable (all words on each terminal were about the same size as a "-" simply put i want to run things on :1 but when that session ends a short time after i recive x permission errors. Currently running programs still function fine unless they need to run another program. using root to run the apps does work i think (will test then update) but as you can imagen i really dislike the idea of running apps as root. i hope this is something to go on as it is a problem that has been bugging me for a while now. |
************bump***************** :D
|
Maybe you need two xorg.conf. The first for :0 should disable dri/drm, 3d acceleration, be very light.
And then for games, you would take another xorg2.conf to enable dri/drm for games on :1. You say you have permission errors, can you post the output of Code:
xinit /usr/games/ut2004/ut2004 -- :1 -auth ~/.Xauthority I'm a bit out of idea here, only if something strange appears in log. What kind of graphic card do you use? |
it is an NVIDIA asus fx5200 128mb ram. is it possible that it is an NVIDIA bug an not X?
i oftern use 3d Acelleration on main screen. it does seem like it is driver related as i recall i used to play with using fluxbox on :1 and kde on :0 but when i left :1 it sorta crashed causing some really bad viual damage to all tty and that :1 (alt+ctrl+F8 gives a green slash horisontaly accross the screen instead of a blinking underscore not sure if it is related :/ |
All times are GMT -5. The time now is 08:51 PM. |