Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

getting vnc to work on 13.1 with lxde

$
0
0
I found many, many posts on this but nothing so far has gotten this to work for me. I want to have VNC running on a soon-to-be headless box running OpenSUSE 13.1 with LXDE. I've managed to get where I am now (which is, stuck at a black screen) by doing the following

1) enable remote administration using YaST
2) open a terminal and run vncpasswd for the vnc user
3) edit /etc/xinetd.d/vnc
change user = nobody to user = vnc user
to server_args add -rfbauth /home/<vnc user>/.vnc/passwd
remove -securitytypes none from server_args

Now I can connect to :1 with a VNC client, both with vncviewer and RealVNC viewer on a Win7, get to authenticate and then I see a 1024x768 blackness (in 16 bit). Where I would like to see is a login screen.

4) tried many, many things in /home/<vnc user>/.vnc/xstartup

because that's where I figure I'm stuck now. Currently it looks like

Code:

#!/bin/bash
xrdb $HOME/.Xresources
xsetroot -solid black
lxterminal &
/usr/bin/lxsession &

I really don't get why this has to be so complicated, if there's a "enable remote administration" checkbox one would think it would work after checking said checkbox. I don't know which logs to check, messages only shows me that the VNC session started.

Anyhow. I'd be very grateful if anyone can point out a way out. :)

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>