![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2005
Beans: 14
|
Re: HOWTO: Setting up a VNC to GDM connection
I actually ended up using x11vnc to do it. Here's how:
First of all, disable Desktop Sharing with Vino under System -> Preferences -> Remote Desktop. Use synaptic to install x11vnc. Once x11vnc is installed, you will need to create a password file that x11vnc will use. Do this: Code:
sudo x11vnc -storepassword yourpasswordhere /etc/x11vnc.pass Code:
sudo nano -w /etc/X11/gdm/Init/Default Code:
/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900 Code:
sudo nano -w /etc/X11/gdm/gdm.conf Code:
#KillInitClients=true Code:
KillInitClients=false |
|
|
|
|
|
#2 |
|
Ubuntu Extra Shot
![]() |
Re: HOWTO: Setting up a VNC to GDM connection
That looks like the newest x11vnc from Breezy, the one from Hoary doesn't have the same options.
__________________
Computer science has as much to do with computers as astronomy has to do with telescopes. - Edsger Wybe Dijkstra Intangible's Desktop |
|
|
|
|
|
#3 | |||||||
|
Gee! These Aren't Roasted!
![]() Join Date: Nov 2007
Location: República de Tejas,Centro
Beans: 200
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO: Setting up a VNC to GDM connection
Quote:
Quote:
Quote:
The following works when executed from a terminal command line and I can use RealVNC viewer to get to my already logged on Xubuntu desktop on 5908 from a winXP machine. Code:
sudo x11vnc -forever -usepw -rfbport 5908 -allow 192.168.xxx. -sb 30 -o /var/log/vnclog Quote:
In Xubuntu Gutsy this path doesn't exist. After way too many days I did find /etc/gdm/Init/Default. This is what the top of it looks like: Code:
#!/bin/sh
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
# -George
PATH=/usr/bin:$PATH
OLD_IFS=$IFS
gdmwhich () {
COMMAND="$1"
OUTPUT=
IFS=:
for dir in $PATH
do
if test -x "$dir/$COMMAND" ; then
if test "x$OUTPUT" = "x" ; then
OUTPUT="$dir/$COMMAND"
fi
fi
done
IFS=$OLD_IFS
echo "$OUTPUT"
}
sysresources=/etc/X11/Xresources
# merge in defaults
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
Quote:
Quote:
Quote:
Ya'll have NO idea how much getting this to work means to me. This is my LAST major obstacle to replacing winXP on 8 other headless machines with Xubuntu. Thanx so much for any help, Skip PS: In case you haven't figured it out yet... I'm a complete noob to Linux. So anything that's not DOS look alike or can't be done with sudo gedit you'll probably have to give me the command.
__________________
- da shu @ the BOINC farm, SkipsJunk, Guru Mountain, Crunchers - BoincDV is on-line! Click HERE Last edited by Skip Da Shu; November 22nd, 2007 at 02:31 AM.. Reason: 1st add PS:, 2nd updated x11vnc -o file path |
|||||||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|