You are not logged in.
Hi All,
I'm a Linux newbie and have a problem I can't seem to solve. The other day I installed tightvnc and have a server which runs on startup. I have added the following line to /etc/inittab:
vn:35:once:sudo su - brian -c "vncserver :1 -name Brian -depth 24 -geometry 1280x600"
I also have the following in my xstartup file
#!/bin/sh
#xrdb $HOME/.Xresources
#xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
xhost +localhost &
exec startxfce4 &
I am using UltraVNC on Windows 7 to remote into my arch box and I manage to get the XFCE4 desktop. The problem lies in trying to open programs on my remote session. If I click on the terminal shortcut, nothing happens. Same with Firefox etc.. I attempted to right click then execute and still no go.
However, I am able to click the filesystem icon and it will open. Also, I can click on logoff and shutdown no problems.
Any ideas?
Offline
I use tightvnc as well, but I start it a bit differently (I don't think this is your problem). Have you seen the tightvnc wiki article? I updated it a while ago with the method that I use.
Anyway, I don't think the & mark is needed in your ~/.vnc/xstartup
$ cat ~/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
export XKL_XMODMAP_DISABLE=1
#exec ck-launch-session startxfce4
exec ck-launch-session startlxde
I dunno why your mouse isn't working properly if it's not something in that file.
Last edited by graysky (2010-07-08 08:05:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It's not my mouse that isn't working. As I said, I simply can't run programs. I can open other things though.
Below is the error I noticed in my vnc log file.
AUDIT: Thu Jul 8 18:22:00 2010: 1979 Xvnc: client 10 rejected from local host
Client is not authorized to connect to Serverexo-open: Cannot open display: .
Offline
Surely someone has a solution for this
Offline
Same problem here. I was trying everything found on google, but nothing helped. It was pain to get it work with xfce at all, but then I was completely stuck.
We have fixed it by adding our user to several groups like http, video, users, wheel, network ...
I'm not sure which one helped, I'm using it on local network only.
GL.
Offline
Remove the very last ampersand where the exec line is, that way the window manager will start accepting input
Last edited by shedyed (2010-08-15 18:14:37)
Offline
Try tigervnc in aur instead, it's better
Offline