11-14-2015
vnc xstartup File
Hello everyone I'm new to linux scripting, but I do have experience with Java programming and batch file scripting in Windows. I'm trying to setup the xstartup file for a machine that I have on my network that is running Lubuntu. On Ubuntu's VNC HowTo page they have a script that will configure a VNC session for Gnome and KDE, but they don't have one for Lubuntu's LXDE desktop envirment. I would write the script myself, but I don't understand what this script is doing.
# Try a GNOME session, or fall back to KDE
if [ "GNOME" = "$MODE" ]
then
if which gnome-session >/dev/null
then
gnome-session --session=ubuntu-2d &
else
MODE="KDE"
fi
fi
I have three questions?
1. Is the gnome-session a file or a service?
2. What is this script doing when it's telling the gnome session to empty itself into the null device?
3. What does the "&" symbol mean in Linux scripting?
Last edited by silencer230; 11-14-2015 at 10:25 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi !
Is there somebody who is able to connect a VNC session via serial cable ?
There is a hint on the VNC homepage that it is possible to configure that.
But how?
thanks joerg (2 Replies)
Discussion started by: joerg
2 Replies
2. UNIX for Dummies Questions & Answers
Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies
3. UNIX for Advanced & Expert Users
Hi, dear Experts !
I need some help, again.
Earlier in my work I experienced that one script included in '/etc/dt/config/Xstartup' file caused some serious troubles. But this is another story.
The point here is: I changed the script so that it worked again.
But... After restart of... (3 Replies)
Discussion started by: DGoubine
3 Replies
4. Linux
I have the need to record some step by step instructions to help with instruction in using Fedora Core 3. I was wondering if there are any ways to capture X or VNC activity to a video file. It can be any of the most common formats (MPEG, DiVX/ViDX, Ogg Theora, etc...) Does anyone know of any apps... (3 Replies)
Discussion started by: deckard
3 Replies
5. UNIX for Advanced & Expert Users
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (1 Reply)
Discussion started by: foweja
1 Replies
6. Solaris
my desktop is a linux box, and I was wondering if there was a way to leverage X11/associated applications on a v440 remotely...
like "Sun Update Connection"...thanks,
manny (4 Replies)
Discussion started by: mr_manny
4 Replies
7. Solaris
First you need to know that I'm 100% new to solaris/unix.
I'm trying to setup VNC on my sparc based server that I just installed solaris 10 on but when I type in vncserver to start it, I get "couldn't find "xauth" on your PATH"
What do I do so I can get a gui up and running remotely on my... (20 Replies)
Discussion started by: QuadRunner750
20 Replies
8. UNIX for Dummies Questions & Answers
I was originally having a problem with my xstartup script where it would not allow me to do some basic things like shutting down the server through Gnome remotely but I resolved that by changing it to exec gnome-session.
However now it seems that after a full server restart of any kind it is not... (2 Replies)
Discussion started by: spinner0205
2 Replies
9. Solaris
Hi Guys,
I need some assistance with getting vnc viewer from an WinXP machine to be able to connect to a vncserver on Solaris.
I have run vncserver on Solaris and i get the following message:-
http://i46.tinypic.com/v6ktaf.jpg
Is this right ? i see there are a couple of errors in the... (4 Replies)
Discussion started by: mansnake
4 Replies
10. Linux
Hi,
Is there a way to open vnc:0 on redhat?
Thanks (1 Reply)
Discussion started by: Somename
1 Replies
LEARN ABOUT MOJAVE
jsadebugd
jsadebugd(1) General Commands Manual jsadebugd(1)
NAME
jsadebugd - serviceability agent debug daemon
SYNOPSIS
jsadebugd [pid] [server-id]
jsadebugd executable core [server-id]
DESCRIPTION
jsadebugd attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack, jmap, and jinfo can attach to
the server using Java Remote Method Invocation (RMI). Before starting jsadebugd, rmiregistry must be started with:
rmiregistry -J-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar
where $JAVA_HOME is the J2SE SDK installation directory. If rmiregistry was not started, jsadebugd will start an rmiregistry in a standard
(1099) port internally. Debug server may be stopped by sending SIGINT (pressing Ctrl-C) to it.
NOTE - This utility is unsupported and may or may not be available in future versions of the J2SE SDK. jinfo is not currently available on
Windows platforms or on the Linux Itanium platform.
PARAMETERS
pid process id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java
processes running on a machine, jps may be used. At most one instance of the debug server may be attached to a single
process.
executable Java executable from which the core dump was produced.
core core file to which the debug server should attach.
server-id optional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients
to identify the particular debug server to attach. Within a single machine, this ID must be unique.
SEE ALSO
jinfo(1) jmap(1) jps(1) jstack(1) rmiregistry(1)
13 June 2004 jsadebugd(1)