Unlock screen on Fedora18 via VNC

poma pomidorabelisima at gmail.com
Wed Feb 20 07:59:12 UTC 2013


On 02/20/13 00:04, Junk wrote:
> On Thu, 2013-02-14 at 21:31 +0100, poma wrote:
>> On 02/14/13 14:51, Uematsu Takeshi wrote:
>>> I use fedora18 on my desktop machine. I usually connect to the machine
>>> with VNC from laptop computer.
>>> But I can't unlock the screen when it gets locked.My vnc viewer is TigerVNC.
>>>
>>> Any suggestion ?
>>>
>>> Takeshi Uematsu.
>>>
>>
>> loginctl list-sessions
>> loginctl unlock-session #
>>
>>
>> 乾杯,
>> poma
>>
>>
> I've had a go at stting this up on a clean VM and exactly the same thing
> happens to me so I've filed a bug
> https://bugzilla.redhat.com/show_bug.cgi?id=912892
> 
> the loginctl commands suggested by pomo work, but you need some sort of
> extra shell session to the machine which is a faff.
> 
> Leon
> 

There is a solution from Adam Tkac[1].
If you use the aforementioned line in the pam's settings file, you'll
actually get the session ID - c# (loginctl) ;)
Cause there isn't (un)locking issues at all within an Xfce session[2],
you don't have to.
As for the service file note, it stands still.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=896648#c15
[2]
~/.vnc/xstartup
#!/bin/sh
exec /bin/sh /etc/xdg/xfce4/xinitrc

Cheers,
poma





More information about the users mailing list