You are not logged in.

#1 2011-11-23 04:42:21

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

[Solved] Server desktop access

Hi there,
So I am trying to access my server from my client computer using tightvnc and x11vnc I have a working ssh connection that I do all of my editing on my server from. I followed this wiki. [link]https://wiki.archlinux.org/index.php/Ti … d_Shutdown[/link], but it keeps bringing me to "root@ip of host's password:" I enter the pasword I made up for vnc denied, I enter the machines root password, denied. I ssh into the server and log into root just fine, I than us vncpasswd and change it to something easy for testing, did not help.  All I want to do is be able to access the servers desktop from my other computers. The other problem I have is it will tell me that an x window is running.

Last edited by mich04 (2011-12-16 16:36:06)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2011-11-23 04:53:00

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [Solved] Server desktop access

I am not sure I entirely understand but I going to give it a whirl.  If you are looking to access the server's desktop - meaning what is actually on the screen - vncserver is not the program you want to use.  I use x11vnc, using vncviewer I can see the open windows of the user's desktop.  In my expierence vncserver will create a new X session for your remote login.  I am not very familiar with the vncserver program and login procedures because  it is not what I was looking for.  Hope this helps.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#3 2011-11-23 05:13:05

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] Server desktop access

That's exactly what I want. I thought that to make it more secure I had to run it through ssh though. I want to access a gui openbox desktop of the server through ssh.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2011-11-23 07:23:17

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [Solved] Server desktop access

x11vnc is password protected if you choose.  I use fluxbox so i put it in the startup file like this.

x11vnc -forever &

the forever option means the server stays open for longer than 1 connection.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#5 2011-11-23 13:49:08

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: [Solved] Server desktop access

I am having problems with the password though. I have tried every password that I have...


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#6 2011-11-23 15:31:41

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [Solved] Server desktop access

here are the contents of my /etc/conf.d/x11vnc

X11VNC_ARGS="-auth /var/lib/gdm/:0.Xauth -rfbauth /home/empthollow/.vnc/passwd -display :0 -forever"

I do not need security so mine is password free, however I have not .vnc/passwd file in my home directory.  Now that I look at it I have no var/lib/gdm/:0.Xauth either.  I haven't updated my config in a while.  I hope some of these options can give you some ideas though.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#7 2011-11-23 20:54:01

senorsmile
Member
Registered: 2010-12-12
Posts: 72

Re: [Solved] Server desktop access

I would recommend to try out freenx:
      https://wiki.archlinux.org/index.php/FreeNX
It works very easily.  There's also some information on that page about connecting to the existing x11 session:
      https://wiki.archlinux.org/index.php/Fr … ng_display
which might be just what you're looking for.

Offline

Board footer

Powered by FluxBB