You are not logged in.
its pretty self explanatory, but if anyone needs me to explain more or log any command outputs, id be happy to do so. is this possibly a problem with setting up as super user? in my config file for vnc, i describe vnc session 0 as belonging to my nonroot user
on the xsession issue: it appears that every time i start a vnc session, x or lightdm is unable to be permitted to run or keep running a desktop on my nonroot user. every time i reset my computer, i have to reset ~/.Xauthority in another tty. i have my nonroot user set to vnc display 0, but have to keep running another display at 1 because i am unable to connect to 0 despite it running at boot time via systemd.
Last edited by squidrin (2021-08-26 01:07:14)
Offline
How does this relate to the "solved" https://bbs.archlinux.org/viewtopic.php?id=269119 ?
What do you mean by "reset ~/.Xauthority"? Do you delete it or merely alter its permissions?
What are
xauth info; xauth listw/ good and bad ~/.Xauthority ?
Please clarify how *exactly* you run vnc (user service??) and whether it's x0vnc.
I assume you've read and followed https://wiki.archlinux.org/title/TigerVNC ?
If not, read it now and filter your local setup accordingly.
Also post your vnc config.
Online
How does this relate to the "solved" https://bbs.archlinux.org/viewtopic.php?id=269119 ?
What do you mean by "reset ~/.Xauthority"? Do you delete it or merely alter its permissions?
What arexauth info; xauth listw/ good and bad ~/.Xauthority ?
Please clarify how *exactly* you run vnc (user service??) and whether it's x0vnc.
I assume you've read and followed https://wiki.archlinux.org/title/TigerVNC ?
If not, read it now and filter your local setup accordingly.Also post your vnc config.
When I say that it's solved, I thought that xauthority only had to be removed once, so I marked it as solved. So no it's not actually solved. I remove the actual file, as archwiki suggests under lightdm (6.16)
Xauth list return:
quinsdesktopc/unix:0 MIT-MAGIC-COOKIE-1 51e6f0f1acfde5a92310dc7bc6806ceXauth info return:
Authority file: /home/quin/.Xauthority
File new: no
File locked: no
Number of entries: 1
Changes honored: yes
Changes made: no
Current input: (argv):1This, however, is before I start the vnc server. In actuality, after the vnc server is started, xauthority returns that xauthority Is not writable, and changes will be ignored, and xauth list returns that there was a timeout in locking authority file under my home directory.
Yes, I followed the tigervnc archwiki guide
I start a vnc server using 'sudo vncserver :1' because it's the only way that works.
Can you specify exactly which config file(s) you want to see?
Last edited by squidrin (2021-08-26 11:17:36)
Offline
xauthority returns that xauthority Is not writable
What means a permission issue, likely because
I start a vnc server using 'sudo vncserver :1'
this certainly is nowhere in the wiki.
Why is that
the only way that works
how and where exactly do you run this?
Is this a headless server or are you trying to forward an active session and wanted to use x0vncserver?
Can you specify exactly which config file(s) you want to see?
in my config file for vnc
Online
xauthority returns that xauthority Is not writable
What means a permission issue, likely because
I start a vnc server using 'sudo vncserver :1'
this certainly is nowhere in the wiki.
Why is that
the only way that works
how and where exactly do you run this?
Is this a headless server or are you trying to forward an active session and wanted to use x0vncserver?Can you specify exactly which config file(s) you want to see?
You earlier wrote:in my config file for vnc
The computer is my desktop. It isn't headless. I used vncserver because it's the only way I can start a session and connect to it.
Offline
What?
This doesn't really explain anything, but if you want to share a running desktop session, you want to look again at the wiki.
Closer.
In particular at https://wiki.archlinux.org/title/TigerV … al_display
Online
What?
This doesn't really explain anything, but if you want to share a running desktop session, you want to look again at the wiki.
Closer.
In particular at https://wiki.archlinux.org/title/TigerV … al_display
I probably want to use x0vncserver, I'll try that and get back to you when I can access my desktop
I don't understand exactly what you don't understand. Can you be more specific? My computer is hooked up to a monitor, and is not meant to run headless. I got the command from a forum thread and tried it. I don't understand why it destroys my x session permissions though.
Offline
seth wrote:What?
This doesn't really explain anything, but if you want to share a running desktop session, you want to look again at the wiki.
Closer.
In particular at https://wiki.archlinux.org/title/TigerV … al_displayI probably want to use x0vncserver, I'll try that and get back to you when I can access my desktop
I don't understand exactly what you don't understand. Can you be more specific? My computer is hooked up to a monitor, and is not meant to run headless. I got the command from a forum thread and tried it. I don't understand why it destroys my x session permissions though.
What?
This doesn't really explain anything, but if you want to share a running desktop session, you want to look again at the wiki.
Closer.
In particular at https://wiki.archlinux.org/title/TigerV … al_display
Ok it worked thx
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online